Modify

Opened 3 years ago

Last modified 20 months ago

#21084 new defect

Sorting more complex route relations completely fails

Reported by: skyper Owned by: Biswesh
Priority: critical Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report sort loop Cc: michael2402, floscher, Polyglot

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Have a more complex bus route (Busroute_with_loops.osm.xz)
  2. Open relation editor
  3. Sort relation with "Sort PT Route Members Relation Editor"

What is the expected result?

No action at all as the relation is properly sorted and tags are according to the wiki

What happens instead?

Order of stop and platform members is completely messed up and name=* and to=* are offered to change to incorrect values

Please provide any additional information below. Attach a screenshot if possible.

Please, by default, do not change name=* into something which is not documented in the wiki and use the from=* and to=* for sorting instead of changing the values.
For sure, do not mess up the order but stop if there are problems.
Additionally, sort action should result in only one change but atm I get two entries in the command stack.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-07-09 02:08:51 +0200 (Fri, 09 Jul 2021)
Revision:17970
Build-Date:2021-07-09 01:31:16
URL:https://josm.openstreetmap.de/svn/trunk

Plugins:
+ pt_assistant (1ff2e15)

Attachments (1)

Busroute_with_loops.osm.xz (32.9 KB ) - added by skyper 3 years ago.
proper sorted PTv2 relation

Download all attachments as: .zip

Change History (4)

by skyper, 3 years ago

Attachment: Busroute_with_loops.osm.xz added

proper sorted PTv2 relation

comment:1 by skyper, 3 years ago

Description: modified (diff)

comment:2 by skyper, 3 years ago

Cc: michael2402 floscher Polyglot added

comment:3 by skyper, 20 months ago

Description: modified (diff)

Still a problem.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-03-14 22:49:24 +0100 (Tue, 14 Mar 2023)
Revision:18693
Build-Date:2023-03-15 02:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Plugins:
+ pt_assistant (1ff2e15)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Biswesh.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Biswesh to the specified user.
Next status will be 'needinfo'. The owner will be changed from Biswesh to skyper.
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 Biswesh 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.