Revers geocoding with high zoom level doesn't return the full address. for example city is missed in this request while zooming out shows the missing city field so my question is how to get the full address with high zoom levels? asked 23 Apr '19, 13:27 Nagy |
Nominatim doesn't know how big the city is. The OSM data only contains the center point (node) of the city https://www.openstreetmap.org/node/534548619 On zoom level 14 it find a smaller feature (island) and doesn't know it belongs to a city. On zoom level 10 it ignores all smaller features and looks for the nearest city more of less by distance (in other words the algorithm is guessing). Adding a boundary (OSM relation) like https://www.openstreetmap.org/relation/30005 for the city helps. Alternatively setting answered 23 Apr '19, 13:58 mtmail Thanks for the response, but how can I achieve that with the reverse get call? ex: https://nominatim.openstreetmap.org/reverse?lat=10.2986952&lon=123.9557301&format=json&zoom=14
(23 Apr '19, 14:19)
Nagy
Nominatim doesn't know how big the city is. Somebody needs to add more data to the OSM database first.
(23 Apr '19, 14:22)
mtmail
|