Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6966 closed enhancement (fixed)

[Initial PATCH] Improve "align nodes in line"

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

Description

This patch adds another case to "align nodes in line"

  • If only one node is selected, it's aligned according to its neighbors. (a way can be selected to chose between multiple parents)

This is the most common way I use the alignment tool. Not having to explicitly select all nodes would save lots of time.

Works, but it could handle a couple more cases with some work.

Could this be accepted, or is this tool too old to touch?

Attachments (1)

ticket-6966-improve-align-nodes-in-line-v1.patch (11.2 KB ) - added by olejorgenb 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by bastiK, 13 years ago

I like it.

@team: any objections?

comment:2 by bastiK, 13 years ago

The following extension would be very useful for me:

 ____
|    |____
|    |    |
|____|    |
     |____|

This are 2 buildings and I like to use the "L" tool on one of the nodes that is part of both ways. With the first way it forms an angle of 90 degrees and with the second an angle of approximately 180 degrees. The tool would work a bit fuzzy: It should straighten the 180 degrees angle and basically ignore the way with 90 degrees angle.

comment:3 by stoecker, 13 years ago

Resolution: fixed
Status: newclosed

In [4558/josm]:

fix #6966 - patch by olejorgenb - allow to align only one selected node

comment:4 by Zverikk, 13 years ago

align way nodes in utilsplugin2 already does that, along with some other usual cases.

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.