<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<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 style="color:var(--textColor);background-color:var(--backgroundColor)"> I know that it's a lot more </span><br />
<span style="color:var(--textColor);background-color:var(--backgroundColor)">> 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 cycle.travel.<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 class="matchFont">Richard</div>
</div>
</body>
</html>