[Geocoding] [OpenStreetMap] #5270: Search on addr:city

OpenStreetMap trac at noreply.openstreetmap.org
Mon Nov 16 19:03:24 UTC 2015


#5270: Search on addr:city
--------------------------+-------------------------
  Reporter:  jel@…        |      Owner:  geocoding@…
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Milestone:
 Component:  nominatim    |    Version:
Resolution:               |   Keywords:
--------------------------+-------------------------

Comment (by ToeBee):

 I've run into similar problems in the US where locations far outside of
 the city limits still have a mailing address that includes the city name.
 I eventually found out that nominatim is using an addr:city value from the
 street, not from individual address objects. If none is present, it
 assigns one based on admin boundaries and place=* nodes.

 However if you explicitly put an addr:city tag on the road, it will force
 nominatim to find this address. Arguably this is "tagging for the
 renderer" as I think Nominatim should really take the addr:city tag on
 address objects into account. From what I understand, there are some
 performance issues with this.

 So for example, I added an addr:city tag to
 [http://www.openstreetmap.org/way/13226787 way 13226787] which now causes
 Nominatim to correctly find
 [http://nominatim.openstreetmap.org/search.php?q=3706+Cottonwood+Circle%2C+Manhattan%2C+ks
 3706 Cottonwood Circle, Manhattan, KS] but it cannot find the house that
 is around the corner on the other street:
 [http://nominatim.openstreetmap.org/search.php?q=6001+Stony+Brook+Drive%2C+Manhattan%2C+ks
 6001 Stony Brook Drive, Manhattan, KS] because I didn't add an addr:city
 tag to Stony Brook Drive so Nominatim assigned it a value of "Riley" which
 means if you search for
 [http://nominatim.openstreetmap.org/search.php?q=6001+Stony+Brook+Drive%2C+Riley%2C+ks
 6001 Stony Brook Drive, Riley, KS] it will find the address.

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



More information about the Geocoding mailing list