Re: [Tagging] Route members: ordered or not

2018-05-04 Thread Mateusz Konieczny
3. May 2018 14:06 by pene...@live.fr :


> I recently worked a bit on hiking routes, and noticed that some routes have 
> unordered members. 




Ordering them, if possible is helpful. Is there maybe some JOSM function that 
does it automatically?


 

> That's particularly noticeable on waymarkedtrails.org, as it makes the 
> elevation graph rubbish and useless.




That is not really relevant in topic how something should be mapped (in this 
case 


it encourages a correct and useful edit so it is not a problem).


 


> I read the relation:route wiki page, but there is only advice regarding stops 
> order, and not way members order. Shouldn't there be a note on this page 
> regarding the importance of sorting the ways to have a more useful relation 
> than only spaghettis?




Feel free to improve wiki.





>
> By the way, I saw some hiking relations having a node without explicit role, 
> seemingly as a start point; is it a generally accepted, used feature, or only 
> an idiosyncrasy?
>




idiosyncrasy? 


___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Kevin Kenny
On Thu, May 3, 2018 at 12:42 PM, Volker Schmidt  wrote:

> 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 members
> Sorting makes only sense for category (A)
> 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.
>
> There are many routes with loops, spurs, roundabouts, etc. for which it
makes eminent sense to sort the "main stem" of the route - and that don't
turn to hash on Waymarked Trails.

One that I assembled (and now find damaged - I have to hunt down how it
acquired 'Genesee Valley Greenway' and lost 'Erie Canalway Trail'!) is the
Mohawk-Hudson Bikeway.  https://www.openstreetmap.org/relation/306742

I tried to have the ways sorted as much as possible, and to keep the places
where it splits as near contiguous as possible. None of the tools seem to
have any problem with having the divided sections like the pair
https://www.openstreetmap.org/way/43395984  and
https://www.openstreetmap.org/way/5592813 as long as one direction is
chosen as the 'main stem' and left contiguous.

I haven't yet hit this situation with walking trails.  The most complex
situation I've seen so far for them has been high-water, bad-weather, or
beaver bypasses; I map those as separate trails and explain in the
description. That sort of thing isn't uncommon around me. People, for
instance, often walk the circuit of the rim trails in one of my local
nature preserves, and take https://www.openstreetmap.org/way/201998754 only
if the ford is impassable at https://www.openstreetmap.org/way/201998755

The tools are also becoming more tolerant of gaps. I know that I still have
a half-dozen or so gaps to fill in
https://hiking.waymarkedtrails.org/#route?id=919642 but Waymarked Trails is
no longer refusing to show elevation profiles.

Since I use JOSM almost exclusively, I'm happy to re-sort routes when I
come upon mis-sorted ones. It would be good if people learnt to do better,
but I'm not annoyed at all about doing that sort of tidying.
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Warin

I have ordered a few bus, train, cycling and walking routes.

In principle:

Both bus and train routes need to be ordered in version 2 of public transport 
(both stop positions and ways need to be ordered from start to finish).

Cycling and walking routes should be ordered for correct interpretation by data 
users.






On 04/05/18 04:13, James wrote:
bus route relations can get very complexe if they are not ordered. I 
order them to make sure I haven't missed anything


On Thu, May 3, 2018, 11:28 AM Yves, > wrote:


Un-ordered route members make it very hard to detect a broken route.
Best practice :
1. If you edit a route, order it at best and check if you haven't
broken it.
2. If you find an unordered route, order it, check if broken and
try to repair it.

Use for instance http://ra.osmsurround.org/.
Yves

Le 3 mai 2018 17:05:32 GMT+02:00, Michael Andersen > a écrit :

I regularly edit a number of cycle routes (primarily the danish national
cycleroutes) and do my best to sort/order the members (it's helpfull 
when
looking for gaps and other peculiarities in JOSM), but have found that 
it's
often near impossible to make them perfectly sorted.

Consider for examplehttps://www.openstreetmap.org/relation/20828.  
Where's the
end points here?

Also note that inexperienced mappers doing minor edits somewhere along 
a route
cannot be expected to reorder it.

On torsdag den 3. maj 2018 07.38.04 CEST Tod Fitch wrote:

While I’ve mapped a number of trails most of them are not
part of a designated larger route so I am not 100% sure,
but I think hiking routes are much like highway routes:
The ways in the relation should be ordered. Not sure why
you’d need a node in there, especially without an explicit
role. If the route ways are ordered it is obvious where
the end points are. Cheers!

On May 3, 2018, at 5:06 AM, David Marchal
> wrote:
Hello, there. I recently worked a bit on hiking
routes, and noticed that some routes have unordered
members. That's particularly noticeable on
waymarkedtrails.org 
, as it makes the
elevation graph rubbish and useless. I read the
relation:route wiki page, but there is only advice
regarding stops order, and not way members order.
Shouldn't there be a note on this page regarding the
importance of sorting the ways to have a more useful
relation than only spaghettis? By the way, I saw some
hiking relations having a node without explicit role,
seemingly as a start point; is it a generally
accepted, used feature, or only an idiosyncrasy?
Awaiting your answers, Regards.





___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread James
bus route relations can get very complexe if they are not ordered. I order
them to make sure I haven't missed anything

On Thu, May 3, 2018, 11:28 AM Yves,  wrote:

> Un-ordered route members make it very hard to detect a broken route.
> Best practice :
> 1. If you edit a route, order it at best and check if you haven't broken
> it.
> 2. If you find an unordered route, order it, check if broken and try to
> repair it.
>
> Use for instance http://ra.osmsurround.org/.
> Yves
>
> Le 3 mai 2018 17:05:32 GMT+02:00, Michael Andersen  a écrit
> :
>>
>> I regularly edit a number of cycle routes (primarily the danish national
>> cycleroutes) and do my best to sort/order the members (it's helpfull when
>> looking for gaps and other peculiarities in JOSM), but have found that it's
>> often near impossible to make them perfectly sorted.
>>
>> Consider for example https://www.openstreetmap.org/relation/20828. Where's 
>> the
>> end points here?
>>
>> Also note that inexperienced mappers doing minor edits somewhere along a 
>> route
>> cannot be expected to reorder it.
>>
>> On torsdag den 3. maj 2018 07.38.04 CEST Tod Fitch wrote:
>>
>>>  While I’ve mapped a number of trails most of them are not part of a
>>>  designated larger route so I am not 100% sure, but I think hiking routes
>>>  are much like highway routes: The ways in the relation should be ordered.
>>>
>>>  Not sure why you’d need a node in there, especially without an explicit
>>>  role. If the route ways are ordered it is obvious where the end points are.
>>>
>>>  Cheers!
>>>
>>>  On May 3, 2018, at 5:06 AM, David Marchal  wrote:

  Hello, there.

  I recently worked a bit on hiking routes, and noticed that some routes
  have unordered members. That's particularly noticeable on
  waymarkedtrails.org , as it makes the
  elevation graph rubbish and useless. I read the relation:route wiki page,
  but there is only advice regarding stops order, and not way members
  order. Shouldn't there be a note on this page regarding the importance of
  sorting the ways to have a more useful relation than only spaghettis?

  By the way, I saw some hiking relations having a node without explicit
  role, seemingly as a start point; is it a generally accepted, used
  feature, or only an idiosyncrasy?

  Awaiting your answers,

  Regards.
 --

  Tagging mailing list
  Tagging@openstreetmap.org 
  https://lists.openstreetmap.org/listinfo/tagging
  

>>>
>>
>>
>> --
>>
>> Tagging mailing list
>> Tagging@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/tagging
>>
>>
> Yves
> ___
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Yves
@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.
Yves 

Le 3 mai 2018 18:42:38 GMT+02:00, Volker Schmidt  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
>members
>Sorting makes only sense for category (A)
>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.
>
>Routes are of type (A) if
>(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
>or
>(2) all members have the role forward
>or
>(3) all members have the role backward
>
>Any route
>(1) that has more than two ends
>or
>(2) that contains any loop (except the case that the entire route is a
>single loop)
>or
>(3) that contains any element with role forword or role backward
>(except
>the cases of all-forward or all-backward)
>or
>(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
>necessary

Yves___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Volker Schmidt
My fault.
Loops (in the sense of self-intersections)  are not a problem. Drop rule
B(2)!
What I had in mind was roundabouts. They are not loops. Thy are special
cases of the rule B(3)

On 3 May 2018 at 19:10, marc marc  wrote:

> "impossible" only due to missing tools to be able to do the job
> and the time it take do it "by hand"
> try to order this one http://www.openstreetmap.org/relation/1744381
> I spent a little time sorting these members, but it's a waste,
> it's deteriorating faster than it's getting better.
>
> Le 03. 05. 18 à 18:49, Colin Smale a écrit :
> > Why does a loop make it impossible to sort the ways? It implies that a
> > section of the route is present twice in the relation, but there is
> > surely no distinction between the first traversal of a way and the
> > second traversal?
> >
> >
> > On 2018-05-03 18:42, Volker Schmidt wrote:
> >
> >> 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
> members
> >> Sorting makes only sense for category (A)
> >> 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.
> >>
> >> Routes are of type (A) if
> >> (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
> >> or
> >> (2) all members have the role forward
> >> or
> >> (3) all members have the role backward
> >>
> >> Any route
> >> (1) that has more than two ends
> >> or
> >> (2) that contains any loop (except the case that the entire route is a
> >> single loop)
> >> or
> >> (3) that contains any element with role forword or role backward
> >> (except the cases of all-forward or all-backward)
> >> or
> >> (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
> >> necessary
> >>
> >>
> >>
> >> ___
> >> Tagging mailing list
> >> Tagging@openstreetmap.org 
> >> https://lists.openstreetmap.org/listinfo/tagging
> >
> >
> > ___
> > Tagging mailing list
> > Tagging@openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/tagging
> >
>
> ___
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread marc marc
"impossible" only due to missing tools to be able to do the job
and the time it take do it "by hand"
try to order this one http://www.openstreetmap.org/relation/1744381
I spent a little time sorting these members, but it's a waste,
it's deteriorating faster than it's getting better.

Le 03. 05. 18 à 18:49, Colin Smale a écrit :
> Why does a loop make it impossible to sort the ways? It implies that a 
> section of the route is present twice in the relation, but there is 
> surely no distinction between the first traversal of a way and the 
> second traversal?
> 
> 
> On 2018-05-03 18:42, Volker Schmidt wrote:
> 
>> 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 members
>> Sorting makes only sense for category (A)
>> 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.
>>
>> Routes are of type (A) if
>> (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
>> or
>> (2) all members have the role forward
>> or
>> (3) all members have the role backward
>>
>> Any route
>> (1) that has more than two ends
>> or
>> (2) that contains any loop (except the case that the entire route is a 
>> single loop)
>> or
>> (3) that contains any element with role forword or role backward 
>> (except the cases of all-forward or all-backward)
>> or
>> (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 
>> necessary
>>
>>
>>
>> ___
>> Tagging mailing list
>> Tagging@openstreetmap.org 
>> https://lists.openstreetmap.org/listinfo/tagging
> 
> 
> ___
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
> 

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Volker Schmidt
@Colin:
You got me there: I implicitly excluded the possibility that a way may be
part of the route more than once.
I assumed this to be a general rule.
If you do not exclude it also the more than-than-two-ends exclusion rule
falls apart.
@Adrian:
What does RA do with routes where the same member appears several times?



On 3 May 2018 at 18:49, Colin Smale  wrote:

> Why does a loop make it impossible to sort the ways? It implies that a
> section of the route is present twice in the relation, but there is surely
> no distinction between the first traversal of a way and the second
> traversal?
>
>
>
> On 2018-05-03 18:42, Volker Schmidt wrote:
>
> 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 members
> Sorting makes only sense for category (A)
> 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.
>
> Routes are of type (A) if
> (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
> or
> (2) all members have the role forward
> or
> (3) all members have the role backward
>
> Any route
> (1) that has more than two ends
> or
> (2) that contains any loop (except the case that the entire route is a
> single loop)
> or
> (3) that contains any element with role forword or role backward (except
> the cases of all-forward or all-backward)
> or
> (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
> necessary
>
>
>
>
> ___
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
>
> ___
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
>
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Colin Smale
Why does a loop make it impossible to sort the ways? It implies that a
section of the route is present twice in the relation, but there is
surely no distinction between the first traversal of a way and the
second traversal?

On 2018-05-03 18:42, Volker Schmidt wrote:

> 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 members Sorting makes only sense for category (A) 
> 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.
> 
> Routes are of type (A) if 
> (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 
> or 
> (2) all members have the role forward 
> or 
> (3) all members have the role backward
> 
> Any route 
> (1) that has more than two ends 
> or 
> (2) that contains any loop (except the case that the entire route is a single 
> loop) 
> or 
> (3) that contains any element with role forword or role backward (except the 
> cases of all-forward or all-backward) 
> or
> (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 
> necessary 
> 
> ___
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Volker Schmidt
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 members
Sorting makes only sense for category (A)
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.

Routes are of type (A) if
(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
or
(2) all members have the role forward
or
(3) all members have the role backward

Any route
(1) that has more than two ends
or
(2) that contains any loop (except the case that the entire route is a
single loop)
or
(3) that contains any element with role forword or role backward (except
the cases of all-forward or all-backward)
or
(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
necessary
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Colin Smale
Good idea to re-order the ways within a route relation, but please,
don't reverse the ways to make them join up nicely head-to-tail! The
direction of ways is used for so many things that this could cause
untold collateral damage.

This might be obvious to many mappers, but it is definitely something
that well-meaning inexperienced mappers need to understand. 

Colin 

On 2018-05-03 17:26, Yves wrote:

> Un-ordered route members make it very hard to detect a broken route.
> Best practice :
> 1. If you edit a route, order it at best and check if you haven't broken it.
> 2. If you find an unordered route, order it, check if broken and try to 
> repair it.
> 
> Use for instance http://ra.osmsurround.org/.
> Yves 
> 
> Le 3 mai 2018 17:05:32 GMT+02:00, Michael Andersen  a écrit : 
> 
> I regularly edit a number of cycle routes (primarily the danish national 
> cycleroutes) and do my best to sort/order the members (it's helpfull when 
> looking for gaps and other peculiarities in JOSM), but have found that it's 
> often near impossible to make them perfectly sorted.
> 
> Consider for example https://www.openstreetmap.org/relation/20828. Where's 
> the 
> end points here? 
> 
> Also note that inexperienced mappers doing minor edits somewhere along a 
> route 
> cannot be expected to reorder it. 
> 
> On torsdag den 3. maj 2018 07.38.04 CEST Tod Fitch wrote:
> While I've mapped a number of trails most of them are not part of a
> designated larger route so I am not 100% sure, but I think hiking routes
> are much like highway routes: The ways in the relation should be ordered.
> 
> Not sure why you'd need a node in there, especially without an explicit
> role. If the route ways are ordered it is obvious where the end points are.
> 
> Cheers!
> 
> On May 3, 2018, at 5:06 AM, David Marchal  wrote:
> 
> Hello, there.
> 
> I recently worked a bit on hiking routes, and noticed that some routes
> have unordered members. That's particularly noticeable on
> waymarkedtrails.org , as it makes the
> elevation graph rubbish and useless. I read the relation:route wiki page,
> but there is only advice regarding stops order, and not way members
> order. Shouldn't there be a note on this page regarding the importance of
> sorting the ways to have a more useful relation than only spaghettis?
> 
> By the way, I saw some hiking relations having a node without explicit
> role, seemingly as a start point; is it a generally accepted, used
> feature, or only an idiosyncrasy?
> 
> Awaiting your answers,
> 
> Regards.
> 
> -
> 
> Tagging mailing list
> Tagging@openstreetmap.org 
> https://lists.openstreetmap.org/listinfo/tagging
> 

-

Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Yves
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Yves
Un-ordered route members make it very hard to detect a broken route.
Best practice :
1. If you edit a route, order it at best and check if you haven't broken it.
2. If you find an unordered route, order it, check if broken and try to repair 
it.

Use for instance http://ra.osmsurround.org/.
Yves 

Le 3 mai 2018 17:05:32 GMT+02:00, Michael Andersen  a écrit :
>I regularly edit a number of cycle routes (primarily the danish
>national 
>cycleroutes) and do my best to sort/order the members (it's helpfull
>when 
>looking for gaps and other peculiarities in JOSM), but have found that
>it's 
>often near impossible to make them perfectly sorted.
>
>Consider for example https://www.openstreetmap.org/relation/20828.
>Where's the 
>end points here? 
>
>Also note that inexperienced mappers doing minor edits somewhere along
>a route 
>cannot be expected to reorder it. 
>
>On torsdag den 3. maj 2018 07.38.04 CEST Tod Fitch wrote:
>> While I’ve mapped a number of trails most of them are not part of a
>> designated larger route so I am not 100% sure, but I think hiking
>routes
>> are much like highway routes: The ways in the relation should be
>ordered.
>> 
>> Not sure why you’d need a node in there, especially without an
>explicit
>> role. If the route ways are ordered it is obvious where the end
>points are.
>> 
>> Cheers!
>> 
>> > On May 3, 2018, at 5:06 AM, David Marchal  wrote:
>> > 
>> > Hello, there.
>> > 
>> > I recently worked a bit on hiking routes, and noticed that some
>routes
>> > have unordered members. That's particularly noticeable on
>> > waymarkedtrails.org , as it makes the
>> > elevation graph rubbish and useless. I read the relation:route wiki
>page,
>> > but there is only advice regarding stops order, and not way members
>> > order. Shouldn't there be a note on this page regarding the
>importance of
>> > sorting the ways to have a more useful relation than only
>spaghettis?
>> > 
>> > By the way, I saw some hiking relations having a node without
>explicit
>> > role, seemingly as a start point; is it a generally accepted, used
>> > feature, or only an idiosyncrasy?
>> > 
>> > Awaiting your answers,
>> > 
>> > Regards.
>> > ___
>> > Tagging mailing list
>> > Tagging@openstreetmap.org 
>> > https://lists.openstreetmap.org/listinfo/tagging
>> > 
>
>
>
>___
>Tagging mailing list
>Tagging@openstreetmap.org
>https://lists.openstreetmap.org/listinfo/tagging

Yves___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Michael Andersen
I regularly edit a number of cycle routes (primarily the danish national 
cycleroutes) and do my best to sort/order the members (it's helpfull when 
looking for gaps and other peculiarities in JOSM), but have found that it's 
often near impossible to make them perfectly sorted.

Consider for example https://www.openstreetmap.org/relation/20828. Where's the 
end points here? 

Also note that inexperienced mappers doing minor edits somewhere along a route 
cannot be expected to reorder it. 

On torsdag den 3. maj 2018 07.38.04 CEST Tod Fitch wrote:
> While I’ve mapped a number of trails most of them are not part of a
> designated larger route so I am not 100% sure, but I think hiking routes
> are much like highway routes: The ways in the relation should be ordered.
> 
> Not sure why you’d need a node in there, especially without an explicit
> role. If the route ways are ordered it is obvious where the end points are.
> 
> Cheers!
> 
> > On May 3, 2018, at 5:06 AM, David Marchal  wrote:
> > 
> > Hello, there.
> > 
> > I recently worked a bit on hiking routes, and noticed that some routes
> > have unordered members. That's particularly noticeable on
> > waymarkedtrails.org , as it makes the
> > elevation graph rubbish and useless. I read the relation:route wiki page,
> > but there is only advice regarding stops order, and not way members
> > order. Shouldn't there be a note on this page regarding the importance of
> > sorting the ways to have a more useful relation than only spaghettis?
> > 
> > By the way, I saw some hiking relations having a node without explicit
> > role, seemingly as a start point; is it a generally accepted, used
> > feature, or only an idiosyncrasy?
> > 
> > Awaiting your answers,
> > 
> > Regards.
> > ___
> > Tagging mailing list
> > Tagging@openstreetmap.org 
> > https://lists.openstreetmap.org/listinfo/tagging
> > 



___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Andy Townsend

On 03/05/2018 13:06, David Marchal wrote:


I recently worked a bit on hiking routes, and noticed that some routes 
have unordered members.




I wouldn't expect them to be ordered, to be honest - it'd be dependent 
on every OSM editor ordering the members (in some way) on save.


It's also tricky with some relations where there are braids.

Best Regards,

Andy

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


Re: [Tagging] Route members: ordered or not

2018-05-03 Thread Tod Fitch
While I’ve mapped a number of trails most of them are not part of a designated 
larger route so I am not 100% sure, but I think hiking routes are much like 
highway routes: The ways in the relation should be ordered.

Not sure why you’d need a node in there, especially without an explicit role. 
If the route ways are ordered it is obvious where the end points are.

Cheers!

> On May 3, 2018, at 5:06 AM, David Marchal  wrote:
> 
> Hello, there.
> 
> I recently worked a bit on hiking routes, and noticed that some routes have 
> unordered members. That's particularly noticeable on waymarkedtrails.org 
> , as it makes the elevation graph rubbish and 
> useless. I read the relation:route wiki page, but there is only advice 
> regarding stops order, and not way members order. Shouldn't there be a note 
> on this page regarding the importance of sorting the ways to have a more 
> useful relation than only spaghettis?
> 
> By the way, I saw some hiking relations having a node without explicit role, 
> seemingly as a start point; is it a generally accepted, used feature, or only 
> an idiosyncrasy?
> 
> Awaiting your answers,
> 
> Regards.
> ___
> Tagging mailing list
> Tagging@openstreetmap.org 
> https://lists.openstreetmap.org/listinfo/tagging 
> 
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


[Tagging] Route members: ordered or not

2018-05-03 Thread David Marchal
Hello, there.


I recently worked a bit on hiking routes, and noticed that some routes have 
unordered members. That's particularly noticeable on waymarkedtrails.org, as it 
makes the elevation graph rubbish and useless. I read the relation:route wiki 
page, but there is only advice regarding stops order, and not way members 
order. Shouldn't there be a note on this page regarding the importance of 
sorting the ways to have a more useful relation than only spaghettis?


By the way, I saw some hiking relations having a node without explicit role, 
seemingly as a start point; is it a generally accepted, used feature, or only 
an idiosyncrasy?


Awaiting your answers,


Regards.
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging