[Talk-us] Fixing TIGER street name abbreviations
Dale Puch
dale.puch at gmail.com
Thu May 10 22:37:15 BST 2012
I am not that proficient with python, so if I misunderstand any code...
For reference here is the tally of what I got. This was all ways, not just
tiger.
Florida
> ================================================
> 138 instances of Aly changed to Alley
> 54091 instances of Ave changed to Avenue
> 11671 instances of Blvd changed to Boulevard
> 22 instances of Byp changed to Bypass
> 176 instances of Cswy changed to Causeway
> 16 instances of Ctr changed to Center
> 14300 instances of Cir changed to Circle
> 18 instances of Crt changed to Court
> 40543 instances of Ct changed to Court
> 773 instances of Cv changed to Cove
> 93 instances of Cres changed to Crescent
> 92 instances of Xing changed to Crossing
> 58322 instances of Dr changed to Drive
> 5141 instances of E changed to East
> 78 instances of Expy changed to Expressway
> 10 instances of Fwy changed to Freeway
> 137 instances of Gln changed to Glen
> 1268 instances of Hwy changed to Highway
> 36587 instances of Ln changed to Lane
> 13 instances of Lp changed to Loop
> 10 instances of Mnr changed to Manor
> 7975 instances of N changed to North
> 2475 instances of NE changed to Northeast
> 2102 instances of NW changed to Northwest
> 12 instances of Pk changed to Park
> 36 instances of Pkwy changed to Parkway
> 1493 instances of Pky changed to Parkway
> 2 instances of Pwy changed to Parkway
> 22 instances of Ps changed to Pass
> 16590 instances of Pl changed to Place
> 138 instances of Plz changed to Plaza
> 3 instances of Pnt changed to Point
> 6 instances of Pt changed to Point
> 51083 instances of Rd changed to Road
> 6 instances of Rte changed to Route
> 4801 instances of S changed to South
> 1900 instances of SE changed to Southeast
> 2456 instances of SW changed to Southwest
> 183 instances of Sq changed to Square
> 69116 instances of St changed to Street
> 15714 instances of Ter changed to Terrace
> 14 instances of Terr changed to Terrace
> 1 instances of Thfr changed to Thoroughfare
> 399 instances of Tr changed to Track
> 16 instances of Trk changed to Track
> 4227 instances of Trl changed to Trail
> 6 instances of Tpke changed to Turnpike
> 2 instances of Vlls changed to Villas
> 4849 instances of W changed to West
>
Illinois
> ================================
>
120 instances of Aly changed to Alley
> 25 instances of Av changed to Avenue
> 40563 instances of Ave changed to Avenue
> 2143 instances of Blvd changed to Boulevard
> 12 instances of Byp changed to Bypass
> 52 instances of Ctr changed to Center
> 3316 instances of Cir changed to Circle
> 6 instances of Cl changed to Close
> 28478 instances of Ct changed to Court
> 164 instances of Cv changed to Cove
> 16 instances of Cres changed to Crescent
> 3 instances of Crst changed to Crest
> 93 instances of Xing changed to Crossing
> 47796 instances of Dr changed to Drive
> 5812 instances of E changed to East
> 85 instances of Expy changed to Expressway
> 1 instances of Gdns changed to Gardens
> 1 instances of Grn changed to Green
> 1 instances of Hd changed to Head
> 3 instances of Hgts changed to Heights
> 13 instances of Hts changed to Heights
> 304 instances of Hwy changed to Highway
> 5 instances of Hls changed to Hills
> 1 instances of Intl changed to International
> 28315 instances of Ln changed to Lane
> 17 instances of Mnr changed to Manor
> 1 instances of Mdws changed to Meadows
> 6 instances of Mtwy changed to Motorway
> 6046 instances of N changed to North
> 39 instances of NE changed to Northeast
> 42 instances of NW changed to Northwest
> 10 instances of Pk changed to Park
> 109 instances of Pkwy changed to Parkway
> 775 instances of Pky changed to Parkway
> 6882 instances of Pl changed to Place
> 114 instances of Plz changed to Plaza
> 48777 instances of Rd changed to Road
> 1 instances of Rdwy changed to Roadway
> 13 instances of Rte changed to Route
> 972 instances of S changed to South
> 77 instances of SE changed to Southeast
> 112 instances of SW changed to Southwest
> 211 instances of Sq changed to Square
> 79813 instances of St changed to Street
> 1030 instances of Ter changed to Terrace
> 5 instances of Terr changed to Terrace
> 75 instances of Tr changed to Track
> 2133 instances of Trl changed to Trail
> 1460 instances of W changed to West
>
On Thu, May 10, 2012 at 4:08 PM, Serge Wroclawski <emacsen at gmail.com> wrote:
> I've been testing a script to do this.
>
> Here it is:
>
> http://www.emacsen.net/tiger.py
>
> It needs to be fed a file. I've been using the state files from geofabrik.
>
> the resulting files in expansions can then be fed to a script for upload.
>
> I welcome feedback on the script and the resulting output.
>
> - Serge
>
> _______________________________________________
> Talk-us mailing list
> Talk-us at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-us
>
--
Dale Puch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20120510/b13fb5e1/attachment.html>
More information about the Talk-us
mailing list