[Tagging] Route members: ordered or not
yvecai at gmail.com
Thu May 3 18:05:42 UTC 2018
@Volker, no need to classify all possibilities, it's certainly endless :-)
I wrote 'order at best' cause of course some cases are tricky.
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.
Le 3 mai 2018 18:42:38 GMT+02:00, Volker Schmidt <voschix at gmail.com> a écrit :
>I will try to explain this in a more systematic way:
>Routes belong to either of two categories:
>(A) Those whose members can be sorted into a single ordered sequence
>(B) Those that cannot be sorted into a single ordered sequence of
>Sorting makes only sense for category (A)
>Routes of type (B) can be subdivided into routes of type (A), each of
>can be sorted, but the overall route can not be sorted.
>Routes are of type (A) if
>(1) the path from begin to end is identical to the reverse path with
>members traversed in the reverse order and in the opposite direction
>(2) all members have the role forward
>(3) all members have the role backward
>(1) that has more than two ends
>(2) that contains any loop (except the case that the entire route is a
>(3) that contains any element with role forword or role backward
>the cases of all-forward or all-backward)
>(4) that contains node or area elements
>is of type B
>I am not sure if I have taken care of all cases - please complete as
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tagging