Opened 9 years ago

Closed 6 years ago

#3734 closed defect (worksforme)

Strange calculated admin_level and unsearchable place=region relation boundary

Reported by: spod Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: Cc:


This OSM multipolygon boundary relation appears to be handled strangely in Nominatim: The relation is tagged as "place=region", "name=福岡県 (Fukuoka-ken)".

4 strange things:

1) Searching for "Fukuoka" in Nominatim does not return the relation. Looks as if you need to search for the full name, not just "Fukuoka".

2) The Nominatim details page: shows an admin_level in Nominatim of "15". The OSM relation does not have any "admin_level" tag and the members of the relation have "admin_level=6" tagging. So, assuming the Nominatim "admin_level" is the same as the OSM one, surely it should be 6 (or 'undefined'), not 15?

3) The Nominatim 'address hierarchy' seems to place the relation 'inside/below' a highway (536), city (Fukuoka: and a county (Tamana: and another region (Kumamoto: Because the relation is tagged as "place=region", surely it shouldn't be inside smaller things or inside an object that is also a region?

4) Nominatim appears to be classifying the Fukuoka-ken relation as "Type: boundary:administrative", but it is not tagged as such. It is tagged as "place=region". A node with a "place=region" tag seems to be classified as "Type: place:region", so is being treated differently for some reason.

Change History (3)

comment:1 Changed 9 years ago by spod

Also: 5) Although the multipolygon is tagged with "place=region", it is ignored when searching for a sub-place.

e.g. when searching for "Fukutsu" the "Fukuoka-ken" multipolygon - tagged with "place=region" - should be selected as the region, because the multipolygon encloses the "Fukutsu" node. However, the node region "Kumamoto" is selected instead.

comment:2 Changed 9 years ago by Tom Hughes

Owner: changed from openstreetmap@… to geocoding@…

comment:3 Changed 6 years ago by Sarah Hoffmann

Resolution: worksforme
Status: newclosed

1) "Fukuoka" is a partial search, you need to ask for more search results before it is shown.

2) admin_level must go on the relation. This has been done in the meantime and solves most of the issues.

5) place=region are searchable but they are ignored in the address hierarchy because it is mostly used for places that exist outside any administrative hierarchies.

Note: See TracTickets for help on using tickets.