Opened 4 years ago
Closed 4 years ago
#3102 closed defect (fixed)
[PATCH] relation member sorting removes closed way
| Reported by: | cjw@… | Owned by: | team |
|---|---|---|---|
| Priority: | major | 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 Changed 4 years ago by Gubaer
- Resolution set to fixed
- Status changed from new to closed



Applied in r1857