I am not that proficient with python, so if I misunderstand any code...<br><br>For reference here is the tally of what I got. This was all ways, not just tiger.<br><br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
Florida<br>================================================<br>138 instances of Aly changed to Alley<br>54091 instances of Ave changed to Avenue<br>11671 instances of Blvd changed to Boulevard<br>22 instances of Byp changed to Bypass<br>
176 instances of Cswy changed to Causeway<br>16 instances of Ctr changed to Center<br>14300 instances of Cir changed to Circle<br>18 instances of Crt changed to Court<br>40543 instances of Ct changed to Court<br>773 instances of Cv changed to Cove<br>
93 instances of Cres changed to Crescent<br>92 instances of Xing changed to Crossing<br>58322 instances of Dr changed to Drive<br>5141 instances of E changed to East<br>78 instances of Expy changed to Expressway<br>10 instances of Fwy changed to Freeway<br>
137 instances of Gln changed to Glen<br>1268 instances of Hwy changed to Highway<br>36587 instances of Ln changed to Lane<br>13 instances of Lp changed to Loop<br>10 instances of Mnr changed to Manor<br>7975 instances of N changed to North<br>
2475 instances of NE changed to Northeast<br>2102 instances of NW changed to Northwest<br>12 instances of Pk changed to Park<br>36 instances of Pkwy changed to Parkway<br>1493 instances of Pky changed to Parkway<br>2 instances of Pwy changed to Parkway<br>
22 instances of Ps changed to Pass<br>16590 instances of Pl changed to Place<br>138 instances of Plz changed to Plaza<br>3 instances of Pnt changed to Point<br>6 instances of Pt changed to Point<br>51083 instances of Rd changed to Road<br>
6 instances of Rte changed to Route<br>4801 instances of S changed to South<br>1900 instances of SE changed to Southeast<br>2456 instances of SW changed to Southwest<br>183 instances of Sq changed to Square<br>69116 instances of St changed to Street<br>
15714 instances of Ter changed to Terrace<br>14 instances of Terr changed to Terrace<br>1 instances of Thfr changed to Thoroughfare<br>399 instances of Tr changed to Track<br>16 instances of Trk changed to Track<br>4227 instances of Trl changed to Trail<br>
6 instances of Tpke changed to Turnpike<br>2 instances of Vlls changed to Villas<br>4849 instances of W changed to West<br></blockquote><div><br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
Illinois<br>================================<br></blockquote><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">120 instances of Aly changed to Alley<br>
25 instances of Av changed to Avenue<br>40563 instances of Ave changed to Avenue<br>2143 instances of Blvd changed to Boulevard<br>12 instances of Byp changed to Bypass<br>52 instances of Ctr changed to Center<br>3316 instances of Cir changed to Circle<br>
6 instances of Cl changed to Close<br>28478 instances of Ct changed to Court<br>164 instances of Cv changed to Cove<br>16 instances of Cres changed to Crescent<br>3 instances of Crst changed to Crest<br>93 instances of Xing changed to Crossing<br>
47796 instances of Dr changed to Drive<br>5812 instances of E changed to East<br>85 instances of Expy changed to Expressway<br>1 instances of Gdns changed to Gardens<br>1 instances of Grn changed to Green<br>1 instances of Hd changed to Head<br>
3 instances of Hgts changed to Heights<br>13 instances of Hts changed to Heights<br>304 instances of Hwy changed to Highway<br>5 instances of Hls changed to Hills<br>1 instances of Intl changed to International<br>28315 instances of Ln changed to Lane<br>
17 instances of Mnr changed to Manor<br>1 instances of Mdws changed to Meadows<br>6 instances of Mtwy changed to Motorway<br>6046 instances of N changed to North<br>39 instances of NE changed to Northeast<br>42 instances of NW changed to Northwest<br>
10 instances of Pk changed to Park<br>109 instances of Pkwy changed to Parkway<br>775 instances of Pky changed to Parkway<br>6882 instances of Pl changed to Place<br>114 instances of Plz changed to Plaza<br>48777 instances of Rd changed to Road<br>
1 instances of Rdwy changed to Roadway<br>13 instances of Rte changed to Route<br>972 instances of S changed to South<br>77 instances of SE changed to Southeast<br>112 instances of SW changed to Southwest<br>211 instances of Sq changed to Square<br>
79813 instances of St changed to Street<br>1030 instances of Ter changed to Terrace<br>5 instances of Terr changed to Terrace<br>75 instances of Tr changed to Track<br>2133 instances of Trl changed to Trail<br>1460 instances of W changed to West<br>
</blockquote><br><br><br> </div><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>