Opened 6 years ago

Last modified 5 years ago

#4825 new enhancement

A location in the display_name is not in the address.

Reported by: wolfkang@… Owned by: geocoding@…
Priority: trivial Milestone:
Component: nominatim Version:
Keywords: Cc:



When I browse this url, the "Cheonan" in the display_name is not one of the fields of the address.

{ "place_id": "51941487", "licence": "Data © OpenStreetMap contributors, ODbL 1.0.", "osm_type": "way", "osm_id": "54226105", "lat": "36.7925904", "lon": "127.1697563", "display_name": "Gyeongbu Expressway North, Guseongdong, Dongnam-gu, Cheonan, Chungcheongnam-do, South Korea", "address": { "road": "Gyeongbu Expressway North", "town": "Guseongdong", "county": "Dongnam-gu", "state": "Chungcheongnam-do", "country": "South Korea", "country_code": "kr" } }

I think it'd better that the "Cheonan" would be included in the address. Please check it out. Thanks.

Change History (2)

comment:1 Changed 5 years ago by pnorman

Component: apinominatim
Owner: changed from rails-dev@… to geocoding@…

comment:2 Changed 5 years ago by Sarah Hoffmann

That is a little tricky because Nominatim currently doesn't distinguish between admin level 6 and 7. It maps them both to the 'county' part of the address. That is the right behavior for some countries but wrong in the case of South Korea. We'd probably need something like country-specific handling of admin levels to output the address fully.

Note: See TracTickets for help on using tickets.