Opened 6 months ago

#21856 new defect

Split way: Wrong position of new member in PTv2 relation splitting a loop

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report split way route relation order member loop Cc:


What steps will reproduce the problem?

  1. Have an ordered PTv2 relation containing a small loop, see ptv2_relation_loop_split.osm.xz
  2. Split the loop (at the node Split)

What is the expected result?

The new member is added at the correct position.

What happens instead?

The new member is added at the wrong position leading to a gap.

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

Similar to #19288 and not new, but I stumbled over it again.
It does not matter which of the two parts keeps the existing OSM id.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-02-10 22:03:15 +0100 (Thu, 10 Feb 2022)
Build-Date:2022-02-11 02:31:13

Identification: JOSM/1.5 (18379 en) Linux Debian GNU/Linux 11 (bullseye)
Java version: 17.0.2+8-Debian-1deb11u1, Debian, OpenJDK 64-Bit Server VM

Attachments (1)

ptv2_relation_loop_split.osm.xz (3.0 KB) - added by skyper 6 months ago.
example file

Download all attachments as: .zip

Change History (1)

Changed 6 months ago by skyper

example file

Modify Ticket

Change Properties
Set your email in Preferences
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 skyper
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.