Modify

Opened 6 years ago

Closed 6 years ago

#8796 closed defect (fixed)

[patch] Extruding a way with 3 or 4 nodes closes is unexpectedly

Reported by: AlfonZ Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Extruding a way in manner that produces a way with 4 nodes closes it by adding extra segment.
This behavior is desired for 2-node ways, but not for 3- or 4-node ways.


Currently, the closing segment will be added if the way has 4 nodes at the end of extruding.
Attached patch changes it to check if the way has 2 nodes at the start of extruding.

Attachments (2)

screenshots.png (13.2 KB) - added by AlfonZ 6 years ago.
8796.patch (966 bytes) - added by AlfonZ 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by AlfonZ

Attachment: screenshots.png added

Changed 6 years ago by AlfonZ

Attachment: 8796.patch added

comment:1 Changed 6 years ago by Don-vip

Wow, thanks for such a "documented" patch with all these test cases !
This is highly appreciated :)

comment:2 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6008/josm:

fix #8796 - Extruding a way with 3 or 4 nodes closes unexpectedly (patch by AlfonZ)

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.