Modify

Opened 16 years ago

Closed 16 years ago

#3102 closed defect (fixed)

[PATCH] relation member sorting removes closed way

Reported by: cjw@… Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

When the sort function of the relation editor is used on a relation with a closed way as first member, that member is removed from the relation. Example: add way 37858230 to relation 175519 (as first element) and try to sort.
The patch below fixes this problem by treating closed ways like nodes - the element is sorted as if the shared start/endpoint node of the way is the relation member. It also moves some duplicate code to a separate function.
http://www.time4t.net/~cjw/josm/josm-relation-member-sort-closed-ways.patch

Attachments (0)

Change History (1)

comment:1 by Gubaer, 16 years ago

Resolution: fixed
Status: newclosed

Applied in r1857

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.