Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

A location in the display_name is not in the address. #4825

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Open

A location in the display_name is not in the address. #4825

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: wolfkang[at]gmail.com
[Submitted to the original trac issue database at 7.17pm, Monday, 1st April 2013]

Hi?

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

http://nominatim.openstreetmap.org/reverse?osm_type=R&format=json&lat=36.791966&lon=127.171726

{
"place_id": "51941487",
"licence": "Data OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright",
"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.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.06pm, Saturday, 1st February 2014]

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant