[Geocoding] [OpenStreetMap] #5215: Wrong geocoding address in city (Minsk)
OpenStreetMap
trac at noreply.openstreetmap.org
Tue Aug 19 09:42:51 UTC 2014
#5215: Wrong geocoding address in city (Minsk)
-----------------------------+-------------------------
Reporter: andrei_karalkou | Owner: geocoding@…
Type: defect | Status: new
Priority: critical | Milestone:
Component: nominatim | Version:
Keywords: |
-----------------------------+-------------------------
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.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/5215>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Geocoding
mailing list