Modify

Opened 19 years ago

Closed 19 years ago

#40 closed enhancement (fixed)

A new patch to align nodes in a straight line

Reported by: mcn Owned by: imi
Priority: minor Milestone:
Component: Core Version: latest
Keywords: align_in_line Cc:

Description

This feature is similar to my Align Nodes in Circle patch, except that it aligns the nodes in a straight line. It should be used (again, with reference to underlying GPS data) where a straight road has side-roads, and therefore could potentially be non-straight due to the addition of extra nodes.

Algorithm is to find the two selected nodes that are furthest apart, and then to move all other selected nodes straight on to this line.

Needs an icon again; using the (maybe traditional?) clock for now ;-).

Attachments (1)

josm166_align_in_line.patch (5.2 KB ) - added by mcn 19 years ago.
Patch to add Align in Line functionality - applies to SVN r166

Download all attachments as: .zip

Change History (4)

by mcn, 19 years ago

Attachment: josm166_align_in_line.patch added

Patch to add Align in Line functionality - applies to SVN r166

comment:1 by mcn, 19 years ago

Type: defectenhancement

Er... this is an enhancement, not a defect! :-)

comment:2 by anonymous, 19 years ago

ignore me - test...

comment:3 by anonymous, 19 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
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.