Revers geocoding with high zoom level doesn't return the full address. for example city is missed in this request

zoom = 14

while zooming out shows the missing city field

zoom = 10

so my question is how to get the full address with high zoom levels?

asked 23 Apr, 13:27

Nagy's gravatar image

Nagy
11112
accept rate: 0%


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 is_in tags to the suburbs and islands belonging to the city https://wiki.openstreetmap.org/wiki/Key:is_in

permanent link

answered 23 Apr, 13:58

mtmail's gravatar image

mtmail
2.8k847
accept rate: 27%

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, 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, 14:22) mtmail
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×86
×73
×31

question asked: 23 Apr, 13:27

question was seen: 331 times

last updated: 23 Apr, 14:22

powered by OSQA