<div dir="ltr">You prefer routes to stay unordered? Or that edits damage routes?<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Vr gr Peter Elderson</div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op vr 3 mei 2019 om 16:08 schreef <<a href="mailto:osm@hjart.dk">osm@hjart.dk</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>
>>> For a non-roundtrip route consiting of two consecutive ways the route<br>
>>> direction can be deduced from the order of the ways in the relation.<br>
>> <br>
>> That's assuming the ways are ordered at all. I've cleaned up hundreds <br>
>> of routes (most created by Potlatch users though) and my advice is: do <br>
>> not rely on routes being ordered.<br>
> <br>
> In OSM a relation is by definition an ordered list, see<br>
> <a href="https://wiki.openstreetmap.org/wiki/Relation" rel="noreferrer" target="_blank">https://wiki.openstreetmap.org/wiki/Relation</a> :<br>
> "A relation is a group of elements. To be more exact it is one of the<br>
> core data elements that consists of one or more tags and also an<br>
> ordered list of one or more nodes, ways and/or relations as members<br>
> ..."<br>
> <br>
> Also the elevation profiles for the routes (e.g. in<br>
> <a href="http://waymarkedtrails.org" rel="noreferrer" target="_blank">waymarkedtrails.org</a>) only work if the routes are ordered and they<br>
> usually look ok, see also<br>
> <a href="https://wiki.openstreetmap.org/wiki/Relation:route#Order_matters" rel="noreferrer" target="_blank">https://wiki.openstreetmap.org/wiki/Relation:route#Order_matters</a> .<br>
> <br>
> If some editors damage the order in the relations this is a bug that<br>
> should be fixed anyway.<br>
<br>
In order to sort the members of a relation in JOSM, you need to download <br>
all of them. The majority of edits to relations involve downloading only <br>
2-3 members. If only 1 member is added or removed, that's how they <br>
become unordered.<br>
Personally I'd prefer it stays like that, because I've seen complete <br>
newbies make some really weird edits to cycleroutes, because they <br>
obviously didn't understand what it was.<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>
<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>