[Tagging] Status of oneway=cw oneway=ccw
Hufkratzer
hufkratzer at gmail.com
Fri May 3 12:05:54 UTC 2019
On 03.05.2019 12:56, osm at hjart.dk wrote:
>
>
> Hufkratzer skrev den 02.05.2019 12:11:
>> On 30.04.2019 21:05, Kevin Kenny wrote:
>>> On Tue, Apr 30, 2019 at 2:19 PM s8evq <s8evq at runbox.com> wrote:
>>>> Personally, I like signed_direction=yes. It's simple and avoids
>>>> using the word oneway.
>>>> Also, using the value forward|backward might not be necessary, as
>>>> it's possible to deduce this from the order of ways in the relation.
>>> The forward/backward direction cannot be deduced from the order of the
>>> ways if the relation contains fewer than three ways.
>>
>> For a non-roundtrip route consiting of two consecutive ways the route
>> direction can be deduced from the order of the ways in the relation.
>
> That's assuming the ways are ordered at all. I've cleaned up hundreds
> of routes (most created by Potlatch users though) and my advice is: do
> not rely on routes being ordered.
In OSM a relation is by definition an ordered list, see
https://wiki.openstreetmap.org/wiki/Relation :
"A relation is a group of elements. To be more exact it is one of the
core data elements that consists of one or more tags and also an ordered
list of one or more nodes, ways and/or relations as members ..."
Also the elevation profiles for the routes (e.g. in waymarkedtrails.org)
only work if the routes are ordered and they usually look ok, see also
https://wiki.openstreetmap.org/wiki/Relation:route#Order_matters .
If some editors damage the order in the relations this is a bug that
should be fixed anyway.
More information about the Tagging
mailing list