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

Wrong geocoding address in city (Minsk) #5215

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

Wrong geocoding address in city (Minsk) #5215

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

Comments

@openstreetmap-trac
Copy link

Reporter: andrei_karalkou
[Submitted to the original trac issue database at 10.54am, Monday, 18th August 2014]

I've used this request to reverse geocode addresses by lat lon: http://nominatim.openstreetmap.org/reverse?format=json&lat=53.931012&lon=27.634799&zoom=18&addressdetails=1
I've had following response:
{
"licence" : "Data OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright",
"osm_id" : "305685489",
"address" : {
"suburb" : "",
"city" : "Minsk",
"house_number" : "117",
"road" : " ",
"county" : " ",
"postcode" : "721859",
"country" : "Belarus",
"country_code" : "by",
"atm" : ""
},
"lon" : "27.6344044",
"place_id" : "1412286",
"lat" : "53.9308222",
"display_name" : ", 117, , , Minsk, , 721859, Belarus",
"osm_type" : "node"
}
As you can see there is county field in response, but it is wrong. I tried to find this name on the map and and found this is administrative area with a4 level. According to following document
http://wiki.openstreetmap.org/wiki/Relations/Proposed/Postal_Addresses#Address_Elements
county level is a2.
Why API returns county field for a4 level areas? Could you fix that pleas?
Thank you in advance.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 10.29am, Tuesday, 19th August 2014]

That's a data problem. The 'rayons' of Minsk have been changed from admin level 9 to 6 in this changeset: http://www.openstreetmap.org/changeset/24752339

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