You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: mcld [Submitted to the original trac issue database at 1.13pm, Sunday, 21st July 2013]
I'm using the search box on the OSM homepage. If I type "eh1 3bq" then I get a lot of London results (eg "E1 4UX") which are E not EH. I don't know why it's doing this - the exact postcode I entered is definitely there in OSM! http://www.openstreetmap.org/browse/node/829318855
The text was updated successfully, but these errors were encountered:
Author: lonvia [Added to the original trac issue at 7.05am, Monday, 22nd July 2013]
Nominatim is doing some name normalization before looking up UK postcodes which the results in a mismatch. It really should be remembering the unnormalized tokens for future reference but that is not trivial to do in the current implementation.
Author: lonvia [Added to the original trac issue at 7.59pm, Thursday, 24th October 2013]
I've now normalized the postcodes in the external gb_postcodes table on the osm.org instance to alleviate the problem a bit. This is not a full fix but only a temporary hack. The wrong results will still be there but there is a better chance that also some from the right area show up and are ranked higher. Let me know if you see any degradation in search results that previously worked.
Commands used for normalization:
update gb_postcode set postcode=upper(make_standard_name(postcode));
select getorcreate_word_id(postcode) from gb_postcode;
Reporter: mcld
[Submitted to the original trac issue database at 1.13pm, Sunday, 21st July 2013]
I'm using the search box on the OSM homepage. If I type "eh1 3bq" then I get a lot of London results (eg "E1 4UX") which are E not EH. I don't know why it's doing this - the exact postcode I entered is definitely there in OSM! http://www.openstreetmap.org/browse/node/829318855
The text was updated successfully, but these errors were encountered: