<div dir="ltr"><div><b>Oneway or not?</b></div><b>oneway=yes</b> is the simplest and already most used way to indicate that a route is oneway. It does not matter if that's legal, customary, by design or recommended. For ways, oneway is a legal thing; for routes it is not. Routers look at the ways, not the routes. No clash there. It also does not matter that it is physically possible to walk a route the other way. Mappers in the wild seem to agree on this point.<div>You record what is there, and that is a route signed in one direction. In fact the route only exists because of the waymarks; the line over the ways is imaginary, not physical.<div><br></div><div><b>Which direction?</b></div><div>The direction cannot reliably be calculated from the relation, even when the whole route is one relation, let alone for complex routes which are hierarchies or collections of route relations. <br>A way with start role could help on simple linear routes, if sorting works out. If not, you can't tell. On simple closed_loop routes, you would need an end role as well, and the sorting requirement is still there. <br>If routes are composed of sub-relations each possibly having start and or end roles, that would be a problem: which ones are to be used to determine direction?<br><div><br></div><div>I think there is no other way then to assume that the route is ordered or can be sorted with a standard sorting routine. If not, too bad, direction cannot be determined. Flip a coin. </div><div><br></div><div>If it is or can be sorted, what always works to establish the direction, is to mark two (any two) consecutive ways in the route relation as first and second. </div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Vr gr Peter Elderson</div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op vr 3 mei 2019 om 13:44 schreef Andy Townsend <<a href="mailto:ajt1047@gmail.com">ajt1047@gmail.com</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"><br>
On 03/05/2019 12:21, s8evq wrote:<br>
> But what's the alternative then?<br>
><br>
<br>
Explicit start and/or finish nodes?<br>
<br>
As previously mentioned, you simply can't rely on route ways being ordered.<br>
<br>
Best Regards,<br>
<br>
Andy<br>
<br>
<br>
<br>
_______________________________________________<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>