This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Cant get geocode data in own setup

0

HI, We have added few addresses in osm recently(including the below one).

Data can get from nominatim.openstreetmap.org, but not obtained from my own setup. I cross-checked & confirmed those data updated in my DB.

https://nominatim.openstreetmap.org/search?format=json&q=4,%20Chincholi%20Bunder%20Rd,%20Malad%20West,%20Mumbai,%20Maharashtra,%20India

Note:

  1. We have nominatim-2.5.1 (setup a few months back). Maybe can obtain in new versions?

  2. Still, some added data/address not obtained in nominatim.openstreetmap.org too. Refer: https://nominatim.openstreetmap.org/search?format=json&q=Ariisto%20Sapphire,%202nd%20Hasnabad%20Lane,%20Willingdon,%20Mumbai,%20Maharashtra,%20India

asked 26 Mar '18, 06:50

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

edited 26 Mar '18, 07:48


One Answer:

0

If you search for your first address via Nominatim's website:https://nominatim.openstreetmap.org/details.php?place_id=103206150 You can see how Nominatim constructs the address. Now by clicking on all nodes and relations you can find out when the data was added/modified in OSM.

The street itself was edited 5 months ago, some of the administrative relations were edited/added more recent. So perhaps your setup does not have this data at all ?

As for the second one, the address data of OSM is not complete. If you search for "2nd Hasnabad Lane", I only find towns/villages named Hasnabad. https://nominatim.openstreetmap.org/search.php?q=2nd+Hasnabad+lane&polygon_geojson=1&viewbox=

answered 26 Mar '18, 09:12

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

@escada Thanks for your answer. "The street itself was edited 5 months ago, some of the administrative relations were edited/added more recent. So perhaps your setup does not have this data at all ?" - We are updating OSM data daily using update.php & osmosis. Will it update street changes & administrative relations in my DB?

(26 Mar '18, 12:25) Rajavelu_M

Yes, the daily update process will update those in your database.

(26 Mar '18, 12:57) mtmail

Source code available on GitHub .