On Tuesday, November 27, 2012, Toby Murray wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 27, 2012 at 10:07 AM, Brian May <<a href="javascript:;" onclick="_e(event, 'cvml', 'bmay@mapwise.com')">bmay@mapwise.com</a>> wrote:<br>
> On 11/27/2012 7:06 AM, Serge Wroclawski wrote:<br>
>><br>
>> On Tue, Nov 27, 2012 at 6:56 AM, Josh Doe <<a href="javascript:;" onclick="_e(event, 'cvml', 'josh@joshdoe.com')">josh@joshdoe.com</a>> wrote:<br>
>>><br>
>>> On Mon, Nov 26, 2012 at 9:29 PM, Serge Wroclawski <<a href="javascript:;" onclick="_e(event, 'cvml', 'emacsen@gmail.com')">emacsen@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> [...]<br>
>>>><br>
>>>> The tiger.py file contains TIGER specific expansion code, and the<br>
>>>> selection process is quite simple. The selector looks for ways which<br>
>>>> have a "highway" key and a "name" key present in the tag.<br>
>>><br>
>>><br>
>>> Just to be clear (and from glancing at the code), this will only expand<br>
>>> type/prefix/suffix if it has a corresponding tiger:* tag?<br>
>><br>
>> Yes.<br>
><br>
><br>
> Another clarification for this use case:<br>
> A user changes the original highway name tag from "Main St SW" to "SW Main<br>
> Street", but did not alter the tiger tags.<br>
><br>
> So - if the street name has been edited and the tiger tags were left<br>
> unchanged (and now do not match the street name), the bot will not change<br>
> the street name value, correct? In other words, the tiger tags will not<br>
> override anything in the highway:name tag if its been edited, correct?<br>
<br>
Time for concrete examples and tests.<br>
<br>
I just ran a test file through the bot. It had a single way in it with<br>
the following tags:<br>
highway=residential<br>
name=Main St SW<br>
tiger:name_base=Main<br>
tiger:name_type=St<br>
tiger:name_direction_suffix=SW<br>
<br>
This resulted in the name being expanded to "Main Street Southewst"<br>
<br>
Then I left all tags the same but changed name="Southwest Main Street"<br>
and the bot did not make any changes.<br>
<br>
This seems correct to me.<br></blockquote><div><br></div><div>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.</div>