[Geocoding] [OpenStreetMap] #4910: Edinburgh "EH*" postcode returns London "E*" results

OpenStreetMap trac at noreply.openstreetmap.org
Thu Oct 24 19:59:57 UTC 2013


#4910: Edinburgh "EH*" postcode returns London "E*" results
------------------------+-------------------------
  Reporter:  mcld       |      Owner:  geocoding@…
      Type:  defect     |     Status:  new
  Priority:  minor      |  Milestone:
 Component:  nominatim  |    Version:
Resolution:             |   Keywords:
------------------------+-------------------------

Comment (by lonvia):

 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;
 }}}

 Also requires [changeset:b944e8b/nominatim]

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4910#comment:4>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list