<div dir="ltr">Yes, Clay has it right that both are needed, but to be more specific:<div><br></div><div>On ways, both the network and ref of all concurrent routes are packed into the ref tag. So you could have something like:</div><div>ref=I-35;US-80;SR-25</div><div><br></div><div>That fictional road would be a member of three separate route relations that look something like:</div><div>network=US:I</div><div>ref=35</div><div><br></div><div>network=US:US</div><div>ref=80</div><div><br></div><div>network=US:TX:SR</div><div>ref=25</div><div><br></div><div>This allows route-aware renderers (like OSM Americana as noted by Clay) to render rich route detail such as highway shields, while still allowing the older, simpler route rendering approach, as used in OSM Carto, to still function.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 5, 2022 at 7:31 AM Clay Smalley <<a href="mailto:claysmalley@gmail.com">claysmalley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 5, 2022 at 6:31 AM Eric H. Christensen via Talk-us <<a href="mailto:talk-us@openstreetmap.org" target="_blank">talk-us@openstreetmap.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It appears that the rendering engine for OSM.org is not looking at ref tags in the relations at all and only what is set on the way. Is this expected behavior?</blockquote><div><br></div><div>Yes. OpenStreetMap-Carto, the "Standard" map style on the OSM website, only processes ref tags on ways and ignores relations.</div><div><br></div><div>OpenStreetMap-Americana [1] [2] is a work in progress that processes ref tags on relations instead.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The wiki seems to suggest[0] that multiple refs should be maintained using relations. What am I missing here?<br></blockquote><div><br></div><div>Relations are the best way to model multiple overlapping routes, though many renderers ignore them in favor of displaying the ref tag from the way. So as long as different renderers are using refs from both the relation and the way, we have to maintain both.<br></div><div><br></div><div>[1] <a href="https://github.com/ZeLonewolf/openstreetmap-americana" target="_blank">https://github.com/ZeLonewolf/openstreetmap-americana</a></div><div>[2] <a href="https://zelonewolf.github.io/openstreetmap-americana/" target="_blank">https://zelonewolf.github.io/openstreetmap-americana/</a></div></div></div>
_______________________________________________<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>
</blockquote></div>