Oh, and they're flat out hosed in the Tulsa County area, particularly at the same latitude as Broken Arrow (TIGER carries Broken Arrow-specific street names into Tulsa City improperly).<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Nov 19, 2012 at 9:23 AM, Charlotte Wolter <span dir="ltr"><<a href="mailto:techlady@techlady.com" target="_blank">techlady@techlady.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Toby,<br><br>
<u></u> <u></u>We do have
to be careful with these. An earlier effort created some incorrect
tagging in the Four Corners area, where I map, <br>
<u></u> <u></u>--W Road
(a county road in SW Colorado) ended up as West Road and S Road as South
Road. <br>
<u></u> <u></u>--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>
<u></u> <u></u>I still
find these from time to time, so a lot of incorrect tags were
created.<br>
<u></u> <u></u>But, if
you've got a good way to do it, great! It sure is tedious to do them
manually.<br><br>
Charlotte<div><div class="h5"><br><br>
<br>
At 01:40 PM 11/18/2012, you wrote:<br>
<blockquote type="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" target="_blank">
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" target="_blank">
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>
<a href="mailto:Talk-us@openstreetmap.org" target="_blank">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></blockquote>
<u></u></div></div><p><u></u>
Charlotte Wolter<br>
927 18th Street Suite A<br>
Santa Monica, California<br>
90403<br>
<a href="tel:%2B1-310-597-4040" value="+13105974040" target="_blank">+1-310-597-4040</a><br>
<a href="mailto:techlady@techlady.com" target="_blank">techlady@techlady.com</a><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>
</p></div>
<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>
<br></blockquote></div><br></div>