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

Nominatim - Certain postcodes not being recognised (e.g. Manchester, Edinburgh)

0

We are finding that with specific postcodes, Nominatim returns incorrect results for the location.

Example 1

Some postcodes in Edinburgh are geolocated to London. It appears to miss a crucial 'H' in the postcode.

EH1 1JX is geocoded as E1 1JX

Example 2

M5 4SW

is a Manchester postcode. It is geocoding to somewhere in Walsall, as it is on the M5 motorway and the M5 is being picked up.

asked 21 Apr '16, 11:01

evvntdev's gravatar image

evvntdev
11112
accept rate: 0%


One Answer:

0

I'm not sure exactly, but it's important to notice this part of the Nominatim FAQ about postcodes:

My postcode is missing/wrong but I've fixed it in the OSM data. What is wrong?

Support for post codes in Nominatim currently is very primitive. The post codes you see have been computed from OSM data in October 2012 and they are not updated. Postcodes from addr:postcode and similar tags are largely ignored. Please don't report bugs about postcodes. Better support for them is planned and will arrive at some time in the future.

Which implies it's not going to work at all, sorry. :(

answered 26 Apr '16, 09:36

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%

Source code available on GitHub .