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

Nominatim postcode lookup stopped working

1

Until recently I have been able to lookup postcodes using Nominatim. However this has stopped working recently when I search a variety of postcodes. Is this a change in the way Nominatim works or am I missing something else?

Example: http://nominatim.openstreetmap.org/search.php?q=BN3+6AH

This query should find an area in Hove and it used to, but now instead Nominatim does not find any results.

asked 15 Sep '16, 10:30

sam10's gravatar image

sam10
36113
accept rate: 0%


One Answer:

1

Postcode searches only work if there was at least one address with that addr:postcode in the database when the Nominatim database was last imported from scratch (currently December 2015). Your example postcode probably was once tagged on a pub or shop which has been deleted when it closed down. When the database was reimported in December, the postcode then disappeared also from the search index.

We are currently working on keeping postcodes always up-to-date with the OSM data. For progress on that front have a look at the github issue on postcodes.

answered 18 Sep '16, 10:47

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%