<div dir="ltr">OK, but how does it handle literal edge cases?  Such as WA 433 in Oregon, OK 20 in Arkansas, or AR 43 in Oklahoma?  Or not-so-edge cases such as Texas' infamous multitude of state highway networks, or the two state highway systems in Oklahoma, Kansas and Missouri?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 27, 2016 at 2:12 AM, Minh Nguyen <span dir="ltr"><<a href="mailto:minh@nguyen.cincinnati.oh.us" target="_blank">minh@nguyen.cincinnati.oh.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A couple days ago, I posted a diary entry about rendering state-specific highway shields using Mapbox tools. It's a topic of special interest to the U.S. community, so I figured I'd give the talk-us list a heads-up since not everyone reads the diaries regularly:<br>
<br>
<<a href="http://www.openstreetmap.org/user/Minh%20Nguyen/diary/39123" rel="noreferrer" target="_blank">http://www.openstreetmap.org/user/Minh%20Nguyen/diary/39123</a>><br>
<br>
The diary entry begins with a summary of the arguments for pictographic shield rendering and the challenges facing renderers that attempt to differentiate between each state's design. I also argued against using regular expressions to select state route shields.<br>
<br>
I developed a demonstration vector renderer, called Interstate, that differentiates between the Ohio, Kentucky, and Indiana state route shields, despite ambiguous `ref=SR 123` tagging in both Ohio and Indiana:<br>
<br>
<<a href="http://nguyen.cincinnati.oh.us/minh/osm/interstate/" rel="noreferrer" target="_blank">http://nguyen.cincinnati.oh.us/minh/osm/interstate/</a>><br>
<br>
Though Interstate is only a proof of concept design-wise, it runs on production servers and mainstream software. The second half of the diary entry walks you through the steps to create your own, prettier version of Interstate using free Mapbox tools.<br>
<br>
(Full disclosure: I work at Mapbox. But my motivation for posting the tutorial is to nudge the community away from relying on regular expressions to select shields and towards eventually using route relations for that purpose.)<br>
<br>
For now, I continue to point people to <<a href="http://elrond.aperiodic.net/shields/" rel="noreferrer" target="_blank">http://elrond.aperiodic.net/shields/</a>> when I want to show them what route relations are good for, but Interstate is another option when the issue of way `ref` formats comes up.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<a href="mailto:minh@nguyen.cincinnati.oh.us" target="_blank">minh@nguyen.cincinnati.oh.us</a><br>
<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="https://lists.openstreetmap.org/listinfo/talk-us" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-us</a><br>
</font></span></blockquote></div><br></div>