NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 '19, 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 '19, 13:58

mtmail's gravatar image

mtmail
4.8k1574
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 '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

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:

×107
×85
×36

question asked: 23 Apr '19, 13:27

question was seen: 2,157 times

last updated: 23 Apr '19, 14:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum