<html><head></head><body>@Volker, no need to classify all possibilities, it's certainly endless :-)<br>
<br>
I wrote 'order at best' cause of course some cases are tricky.<br>
That being said, the (few) route relations I take care of I take the time to reorder them before upload, it's easy in JOSM. All have a beginning and a start, most loops and some take the same way twice in opposite direction.<br>
Yves <br><br><div class="gmail_quote">Le 3 mai 2018 18:42:38 GMT+02:00, Volker Schmidt <voschix@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div><div><div><div><div><div>I will try to explain this in a more systematic way:<br><br>Routes belong to either of two categories:<br></div>(A) Those whose members can be sorted into a single ordered sequence<br></div>(B) Those that cannot be sorted into a single ordered sequence of members<br></div>Sorting makes only sense for category (A)<br></div>Routes of type (B) can be subdivided into routes of type (A), each of which can be sorted, but the overall route can not be sorted.<br><br></div>Routes are of type (A) if <br>(1) the path from begin to end is identical to the reverse path with  all members traversed in the reverse order and in the opposite direction<br></div><div>or<br></div><div>(2) all members have the role forward<br></div><div>or<br></div><div>(3) all members have the role backward<br><br></div><div>Any route <br></div><div>(1) that has more than two ends <br></div><div>or<br></div><div>(2) that contains any loop (except the case that the entire route is a single loop)<br></div><div>or<br></div><div>(3) that contains any element with role forword or role backward (except the cases of all-forward or all-backward)<br></div><div>or<br>(4) that contains node or area elements<br></div><div>is of type B<br><br></div><div>I am not sure if I have taken care of all cases - please complete as necessary<br></div><div><br></div><div class="gmail_extra"><br><br></div></div>
</blockquote></div><br>
Yves</body></html>