<div dir="ltr">I have taken a look, and the application is impressive and surprisingly fast! I guess most of the processing is done after retrieval of the data, combining several sources and preparing for the actual rendering and routing.<div><br></div><div>Am I correct that for routing, the membership of relations is translated to attributes of the ways? I see the calculated itinerary leaving and joining the dotted cycle routes and the relation membership is shown for each segment. </div><div><br></div><div>For rendering: Is the cycle route rendering a separately prepared layer of lines, or are the ways all rendered according to their memberships?</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Fr gr Peter Elderson</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 17 nov. 2021 om 16:09 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>
> I am interested... can you tell me in laymen terms how the <br>
> relations are used in rendering and routing?<br>
<br>
Sure. For rendering, the main tasks are showing a route highlight (OpenCycleMap shows this as a solid semi-transparent line, <a href="http://cycle.travel" target="_blank">cycle.travel</a> shows it as a series of dots), and showing route 'shields' for refs and/or names. This can require some clever cartography where routes overlap, especially when using transparency.<br>
<br>
For routing, many cycle routers will give a preference (=improved weighting) to a road/path that's part of a route relation. This is partly because the road/path has (presumably) been reviewed and found good for cycling, and also because users often want to follow a signposted route. If the router offers turn-by-turn directions, the route relation's ref and name might be incorporated in the directions.<br>
<br>
There are more nuances than that, of course, but that's pretty much the meat of it.</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>