[Talk-us] name expansion bot (Re: Imports information on the wiki)

Alan Mintz Alan_Mintz+OSM at Earthlink.Net
Sat Feb 18 07:21:03 GMT 2012


At 2012-02-17 14:32, Nathan Edgars II wrote:

>If the directional prefixes are not generally used as part of the name, 
>they should probably not be in the name tag, but instead as an address tag 
>(I've used addr:direction e.g. 
>http://www.openstreetmap.org/browse/way/140789671).

and I've used addr:street_direction_prefix, though if I had to defend it, 
it's probably more accurately named addr:housenumber_direction_suffix .

I am a proponent of separating each part of the "street" into a separate 
field, the way it is done in most other addressing databases - separate 
fields for the number direction, street root, street type, and street 
direction suffix.

While it is abnormal, I would not be opposed to a concatenated street field 
alongside it. If the user enters that field only, the editor could split it 
up and populate the separate fields for the user to see and approve. If the 
user enters the separate fields, it could populate the concatenated field.

The bot being discussed could populate these separate fields too, since it 
needs to get some sense of which part goes where in order to correctly do 
any expansion.

--
Alan Mintz <Alan_Mintz+OSM at Earthlink.net>




More information about the Talk-us mailing list