<html>
<body>
Toby,<br><br>
<x-tab>        </x-tab>We do have
to be careful with these. An earlier effort created some incorrect
tagging in the Four Corners area, where I map, <br>
<x-tab>        </x-tab>--W Road
(a county road in SW Colorado) ended up as West Road and S Road as South
Road. <br>
<x-tab>        </x-tab>--And, N36
(for Navajo 36) ended up as North 36, as did a lot of Navajo roads. It
took me a while to figure out what was happening. Luckily I have a
contact at Navajo Division of Transportation, who assured me they have no
roads named "North."<br>
<x-tab>        </x-tab>I still
find these from time to time, so a lot of incorrect tags were
created.<br>
<x-tab>        </x-tab>But, if
you've got a good way to do it, great! It sure is tedious to do them
manually.<br><br>
Charlotte<br><br>
<br>
At 01:40 PM 11/18/2012, you wrote:<br>
<blockquote type=cite class=cite cite="">As we briefly discussed during
the virtual mappy hour last week, I<br>
have managed to wrangle some TIGER data and do some automated<br>
expansion of abbreviated street names on the TIGER road name tiles.<br>
The results can be seen in a new tile layer. You can preview it
here:<br>
<a href="http://tile.osm.osuosl.org/tiles/tiger2012_roads_expanded/preview.html#17/37.79816/-122.24627" eudora="autourl">
http://tile.osm.osuosl.org/tiles/tiger2012_roads_expanded/preview.html#17/37.79816/-122.24627</a>
<br><br>
I just added the appropriate URLs for the new layer to the TIGER
2012<br>
page on the wiki so you can use them in JOSM and Potlatch as well:<br>
<a href="http://wiki.openstreetmap.org/wiki/TIGER_2012" eudora="autourl">
http://wiki.openstreetmap.org/wiki/TIGER_2012</a><br><br>
Since this is a brand new tile layer, nothing is cached in the CDN
so<br>
requests might be a little slower than normal at first.<br><br>
I am fairly certain about the accuracy of the process and the checks
I<br>
have performed all came back with good results. But of course TIGER<br>
being such a large and varied data set, there might be an odd edge<br>
case lurking somewhere so it would be great if some people could
check<br>
their areas and make sure they don't see anything odd.<br><br>
The other tweak I made after a suggestion from Ian was to draw the<br>
tiles in two layers. One drawn first with only lines and then
another<br>
layer with only names on top of it. This means that road names will<br>
always appear on top of road lines. This avoids roads obscuring
names<br>
and improves readability.<br><br>
Technical details: This was *not* done by doing simple string<br>
matching. I downloaded all of the "Feature Names Relationship"
files<br>
which contain separate fields with codes for directional, type and<br>
qualifier prefixes/suffixes. Then I composed the name one element at
a<br>
time from these fields. This gave me a mapping from TLID to expanded<br>
street name which I then imported into a new column in the existing<br>
table that is used to render the tiles. Then it was just a simple<br>
matter of telling the mapnik style to look at the new expanded name<br>
column.<br><br>
Toby<br><br>
_______________________________________________<br>
Talk-us mailing list<br>
Talk-us@openstreetmap.org<br>
<a href="http://lists.openstreetmap.org/listinfo/talk-us" eudora="autourl">
http://lists.openstreetmap.org/listinfo/talk-us</a></blockquote>
<x-sigsep><p></x-sigsep>
Charlotte Wolter<br>
927 18th Street Suite A<br>
Santa Monica, California<br>
90403<br>
+1-310-597-4040<br>
techlady@techlady.com<br>
Skype: thetechlady<br><br>
<b>The Four Internet Freedoms</b> <br>
Freedom to visit any site on the Internet<br>
Freedom to access any content or service that is not illegal<br>
Freedom to attach any device that does not interfere with the
network<br>
Freedom to know all the terms of a service, particularly any that would
affect the first three freedoms.<br>
</body>
</html>