Modify

Opened 4 years ago

Last modified 4 years 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 by skyper, 4 years ago

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 4 years ago by skyper (previous) (diff)

comment:2 by _StC_, 4 years ago

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 by simon04, 4 years ago

Keywords: relation-sorting added

Related/duplicate: #19634

comment:4 by _StC_, 4 years ago

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...

in reply to:  4 comment:5 by skyper, 4 years ago

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 by skyper, 4 years ago

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

comment:7 by skyper, 4 years ago

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

comment:8 by skyper, 4 years ago

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. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to _StC_.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.