[Talk-us] TIGER expansion bot
Paul Johnson
baloo at ursamundi.org
Wed Nov 28 03:15:34 GMT 2012
On Tuesday, November 27, 2012, Toby Murray wrote:
> On Tue, Nov 27, 2012 at 10:07 AM, Brian May <bmay at mapwise.com<javascript:;>>
> wrote:
> > On 11/27/2012 7:06 AM, Serge Wroclawski wrote:
> >>
> >> On Tue, Nov 27, 2012 at 6:56 AM, Josh Doe <josh at joshdoe.com<javascript:;>>
> wrote:
> >>>
> >>> On Mon, Nov 26, 2012 at 9:29 PM, Serge Wroclawski <emacsen at gmail.com<javascript:;>
> >
> >>> wrote:
> >>>>
> >>>> [...]
> >>>>
> >>>> The tiger.py file contains TIGER specific expansion code, and the
> >>>> selection process is quite simple. The selector looks for ways which
> >>>> have a "highway" key and a "name" key present in the tag.
> >>>
> >>>
> >>> Just to be clear (and from glancing at the code), this will only expand
> >>> type/prefix/suffix if it has a corresponding tiger:* tag?
> >>
> >> Yes.
> >
> >
> > Another clarification for this use case:
> > A user changes the original highway name tag from "Main St SW" to "SW
> Main
> > Street", but did not alter the tiger tags.
> >
> > So - if the street name has been edited and the tiger tags were left
> > unchanged (and now do not match the street name), the bot will not change
> > the street name value, correct? In other words, the tiger tags will not
> > override anything in the highway:name tag if its been edited, correct?
>
> Time for concrete examples and tests.
>
> I just ran a test file through the bot. It had a single way in it with
> the following tags:
> highway=residential
> name=Main St SW
> tiger:name_base=Main
> tiger:name_type=St
> tiger:name_direction_suffix=SW
>
> This resulted in the name being expanded to "Main Street Southewst"
>
> Then I left all tags the same but changed name="Southwest Main Street"
> and the bot did not make any changes.
>
> This seems correct to me.
>
Depends on where. Some places really do suffix the direction, so if TIGER
was representative of local practice, then "Main Street Southwest" would be
accurate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20121127/b967c435/attachment-0001.html>
More information about the Talk-us
mailing list