You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: