Modify

Opened 10 months ago

Last modified 10 months ago

#20634 new enhancement

Geographically sort segments of completely downloaded relations with gaps

Reported by: _StC_ Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: route sort relation-sorting gaps Cc:

Description

Not sure that this is not a duplicate suggestion but I could not find anything like it in the active tickets.

Currently, the sort button in the relation editor handles incomplete routes by sorting each segment and leaving the segments in quasi-random order. The ordering direction can also be different from one segment to another.

It would be a great improvement if the segments could be sorted geographically, and their ordering directions homogenized, so as to reproduce the same order that the user would obtain if the route was complete.

Attachments (0)

Change History (8)

comment:1 Changed 10 months ago by skyper

Actually, I am not happy with sorting incomplete relations at all. It is just too dangerous. If the user manually selects some members and sorts them, that is fine.

So in my eyes, sorting the whole relation (without selection or only one member selected) and sorting from selection and to the bottom should be disabled for incomplete relations.

Last edited 10 months ago by skyper (previous) (diff)

comment:2 Changed 10 months ago by _StC_

We can agree that the current situation is not ideal. Remains to see what is the best evolution: disable, or improve. I can argue that, with the proper warnings, a heuristics-based sorting would be extremely useful.

comment:3 Changed 10 months ago by simon04

Keywords: relation-sorting added

Related/duplicate: #19634

comment:4 Changed 10 months ago by _StC_

Something should be clarified maybe. There are two reasons why a relation is incomplete: intrinsically incomplete (work not finished), or not completely loaded in JOSM. The case that I am addressing here is the intrinsically incomplete relation, where full sorting would be very useful to work on discontinuities. Take for instance a hiking route of thousands of members, totally in disorder and with dozens of discontinuities...

comment:5 in reply to:  4 Changed 10 months ago by skyper

Keywords: gaps added
Summary: Geographically sort incomplete routesGeographically sort segments of complete relations with gaps

Replying to _StC_:

Something should be clarified maybe. There are two reasons why a relation is incomplete: intrinsically incomplete (work not finished), or not completely loaded in JOSM. The case that I am addressing here is the intrinsically incomplete relation, where full sorting would be very useful to work on discontinuities. Take for instance a hiking route of thousands of members, totally in disorder and with dozens of discontinuities...

Thanks for clarifying, as I am referring to relations without all members downloaded. This is JOSM's definition of incomplete relations.

So, we are talking about two different things. I have created #20643 for my enhancement.

I have no problem with a better sorting if all members are downloaded. I know many minor road relations which consist of several unconnected parts and still there is some better order possible.

comment:6 Changed 10 months ago by skyper

Summary: Geographically sort segments of complete relations with gapsGeographically sort segments of completly downloaded relations with gaps

comment:7 Changed 10 months ago by skyper

Summary: Geographically sort segments of completly downloaded relations with gapsGeographically sort segments of completely downloaded relations with gaps

comment:8 Changed 10 months ago by skyper

See example file for a route with two gaps.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to _StC_
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.