I think I came up with a rare possibility for error.<br>The original "st something st" was manually expanded to "st something street"  your checking for a single st, and there would be.  Or am I missing another check?  I can't think of any other situations besides Saint and Street like this.  Possibly check it is at the end of the name or only followed by a N S E ect.<br>
<br>Or just save those for a second pass at expanding either by another script or by hand.<br><br><div class="gmail_quote">On Thu, May 10, 2012 at 4:08 PM, Serge Wroclawski <span dir="ltr"><<a href="mailto:emacsen@gmail.com" target="_blank">emacsen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've been testing a script to do this.<br>
<br>
Here it is:<br>
<br>
<a href="http://www.emacsen.net/tiger.py" target="_blank">http://www.emacsen.net/tiger.py</a><br>
<br>
It needs to be fed a file. I've been using the state files from geofabrik.<br>
<br>
the resulting files in expansions can then be fed to a script for upload.<br>
<br>
I welcome feedback on the script and the resulting output.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Serge<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Talk-us mailing list<br>
<a href="mailto:Talk-us@openstreetmap.org">Talk-us@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-us" target="_blank">http://lists.openstreetmap.org/listinfo/talk-us</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dale Puch<br>