[OSM-newbies] Interpolation of House Numbers

Mike N. niceman at att.net
Sat Dec 5 13:54:50 GMT 2009



> Perhaps your plugin should look for a street's "addr:street=*" tag for
> matching the interpolation way's "addr:street=*" tag, and if that's
> not present, try to match on "name=*".  It's very possible for the
> houses on a street to have a different address than the street's
> actual name, if it has one, and I think in those cases it would be
> sensible for that street to be tagged with both "name=*" and
> "addr:street=*" having different values.

    I don't try to find an exact match to a street name in this 
application - I am assuming that part of the address interpolation plugin 
operation is to give an association with the selected street and any 
previous addr:street tag is overwritten by the actual selected street.

   The street is not normally tagged with addr:street - geo-coders might be 
confused or misled if they find a street with this tag.

(Example: houses with
> "Walker Road" addresses might be actually located on "Old Walker
> Road".  Or maybe you'd have the abbreviated street name in
> "addr:street=*" because the addresses are always written with
> abbreviations...)

    That example sounds like the perfect use for an associatedStreet 
relation:

 On street and street sign:
    name=Walker Road

  On Street
    loc_name=Old Walker Road

On Relation
   name = Old Walker Road

   The address interpolation association would be made with the 
associatedStreet relation.    Relations also solve the problems with an 
abbreviated street name - which can change or be un-abbreviated at any time.
 





More information about the newbies mailing list