Modify

Opened 12 years ago

Closed 9 years ago

#8706 closed enhancement (worksforme)

preserve correct order of member ways in relation when splitting

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: split way relation Cc:

Description

Ways as member of relations have often an order. Please preserve this order when splitting ways by finding the right position to add the new ways.

  • with role forward/backward always add way after/before.
  • for other you probably have to look at least at one neighbour to find the right place (e.g. before/after).


Attachments (1)

8706_example.osm (5.5 KB ) - added by skyper 12 years ago.
example

Download all attachments as: .zip

Change History (6)

comment:1 by anonymous, 12 years ago

If the neighboured ways after and before this distinct way are loaded in JOSM, the splitting seams to be applied correctly. Maybe, as solution, JOSM loads the both ways after and before the distinct way before splitting it.

in reply to:  1 comment:2 by skyper, 12 years ago

Replying to anonymous:

If the neighboured ways after and before this distinct way are loaded in JOSM, the splitting seams to be applied correctly. Maybe, as solution, JOSM loads the both ways after and before the distinct way before splitting it.

It should be enough to have one extra way as long as the order is correct in advance.

comment:3 by stoecker, 12 years ago

Resolution: worksforme
Status: newclosed

comment:4 by skyper, 12 years ago

Resolution: worksforme
Status: closedreopened

Not all cases:

  1. load example osm file
  2. (revert direction of fence in the south containing node A)
  3. select node A and split

Without reverting it works but with reverted direction it does not.

by skyper, 12 years ago

Attachment: 8706_example.osm added

example

in reply to:  4 comment:5 by simon04, 9 years ago

Resolution: worksforme
Status: reopenedclosed

Replying to skyper:
Seems to be fixed in the meanwhile (tested w/ r9255) – after the split, the relation members are in the correct order.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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