<div dir="ltr">I am interested... can you tell me in laymen terms how the relations are used in rendering and routing? <div><br><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Fr Gr Peter Elderson</div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 17 nov. 2021 om 14:11 schreef Richard Fairhurst <<a href="mailto:richard@systemed.net">richard@systemed.net</a>>:<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>
<div name="messageBodySection">
<div dir="auto">Peter Elderson wrote:<br>
> My understanding is that for rendering, a tag on the way is easier<br>
> and quicker than membership of a relation. Correct?<br>
> [...]<br>
> The purpose of routing then. [...]<span> I know that it's a lot more </span><br>
<span>> complicated, but the point is, it's way-based, and tags on the</span><br>
> ways are easier to process than membership of a relation.<br>
> Correct?<br>
<br>
Any cycling renderer or router needs to process relations as well as ways. I doubt there's a production-quality bike router that doesn't have relation support; certainly I've written hundreds of lines of Lua, C++ and Ruby code to support relations in <a href="http://cycle.travel" target="_blank">cycle.travel</a>.<br>
<br>
It isn't more difficult per se. The one difficulty I do encounter with relations is that nested routes, e.g. regional routes within NCN routes within EuroVelo routes, are used very inconsistently. But that's equally true of tags on ways - inconsistent tagging is a perpetual challenge with OSM data.</div>
</div>
<div name="messageSignatureSection"><br>
<div>Richard</div>
</div>
</div>
_______________________________________________<br>
Tagging mailing list<br>
<a href="mailto:Tagging@openstreetmap.org" target="_blank">Tagging@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/tagging" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/tagging</a><br>
</blockquote></div>