Modify

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#6966 closed enhancement (fixed)

[Initial PATCH] Improve "align nodes in line"

Reported by: olejorgenb Owned by: team
Priority: normal 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 20 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 20 months ago by bastiK

I like it.

@team: any objections?

comment:2 Changed 20 months ago by bastiK

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 Changed 20 months ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In [4558/josm]:

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

comment:4 Changed 20 months ago by Zverikk

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.