Modify

Opened 4 years ago

Closed 3 years ago

#1947 closed enhancement (fixed)

Align to Rectangle should support 0°/180° connections

Reported by: xeen Owned by: framm
Priority: minor Component: Core
Version: latest Keywords: rectifier function
Cc: landwirt@…

Description

e.g.

  1. create an almost rectangular playground with four nodes
  2. add a way that "ends" in the playground (not on the edges)
  3. Rectifying the playground fails, because the nodes aren't almost 90°/270°.

It would be nice if this could be implemented.

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by Hasienda

  • Keywords rectifier function added

I like the new rectifier a lot. It even works on multiple ways at a time, interconnected or not. That's more than someone might expect.

However I have exactly this issue on drawing building outlines side-by-side, if there is any offset and one building shares only part of a "wall"-way with another one.

ascii art:

 +---+         +-----------+
 |   +---+     |        |  |
 |   |   |     +--+     |  |
 +---+   |     |  +-----+  |    ...
     +---+     +--+     +--+

I'm always forced to draw a suitable reduced-node-way on top, rectify and delete that way again. Think of houses in a row like the pattern about ... I've done dozens already. Would be more than happy to see this enhancement soon.

comment:2 Changed 4 years ago by Landwirt

  • Cc landwirt@… added

comment:3 Changed 4 years ago by anonymous

Ticket #2587 has been marked as a duplicate of this ticket.

comment:4 Changed 3 years ago by mjulius

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

I believe OrthogonalizeAction does this.

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.