[Geocoding] [OpenStreetMap] #4961: Nominatiom: Tolerance in Streetnames (Doktor/Dr)

OpenStreetMap trac at noreply.openstreetmap.org
Fri Dec 27 21:49:51 UTC 2013


#4961: Nominatiom: Tolerance in Streetnames (Doktor/Dr)
--------------------------+------------------------------
  Reporter:  wwwFrank     |      Owner:  geocoding@…
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Milestone:
 Component:  nominatim    |    Version:
Resolution:               |   Keywords:  Street Tolerance
--------------------------+------------------------------

Comment (by florian_rittmeier):

 I'd like to know, how we can proceed with fixing this issue?

 tokenstringreplacements.inc has to be patched so that new installations do
 not get this typo for their databases. Ionvia, could you just fix this or
 are there other steps to be done before?

 As far as I understand the database layout and Geocode.php correctly we
 would have to update the word_token column of the word table if we want to
 skip a DB reimport. We would have to look for entrys containing " d r "
 and change it to " dr ". Furthermore we would have to replace "d r " at
 the beginning of an entry to "dr ". If we would add the patched and
 recompiled version of module/nominatim.c to the running postgresql
 instance this might be all to update a running instance.

 I am quite new to Nominatim so I'm not sure whether there are other table
 columns which have to be updated. The approach has another open question:
 There are other terms which might lead to an entry containing " d r ". It
 might be a construction but if there exists something like "Auf der Rue
 Paris" this would be saved as " a d r paris". Thus a DB reimport might be
 the cleanest option. The question is, is this an option or is this perhaps
 done regularly?

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



More information about the Geocoding mailing list