Opened 13 years ago
Closed 13 years ago
#6926 closed enhancement (fixed)
Align while preserving angles of connected way segments
Reported by: | tilusnet | Owned by: | tilusnet |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin alignways | Version: | |
Keywords: | align, preserve, angles | Cc: | kempelen |
Description (last modified by )
Request from
From: Kempelen <...@…>
Date: 17 September 2011 21:49
Subject: AlignWays plugin
To: Tilusnet <...@…>
Hi there,
The alignways is very cool, thank you for making it. I have only one problem with it: it changes the degree of connecting lines.
Don't you think it would be great to keep the degree, and change the length of the rotated way instead? (One or the other needs to change, I understand that.)
In most cases I used this on "orthogonalized shapes", where one side needs a special degree, e.g. see this picture (please find the image with aligways plugin active):
http://www.osmtippek.hu/josm/szerkesztes/derekszogesites/
In this case, the building was orthogonalized, and aligning the way breaks one side because it keeps the length of the moved line, which needs a slight adjustment. This result in breaking the degree of the connected line.
I know, it's easier to work with nodes only. But maybe you could please consider an improvement, where you identify connected lines of the moved end, and try to respect their degree, by increasing and decreasing their length instead.
I imagine a method, where you calculate the new required place for the node, and then connect all lines to that point. This special method can work only if one extra line is connected! Then you need to calculate the theoretical junction of the existing other line and the new line going via the new point, and move the new point to that theoretical junction instead it's original calculated location. Or something like that. I think you understand, let me know if not. :-)
Thank you,
Ferenc
Attachments (0)
Change History (1)
comment:1 by , 13 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Resolution: | → fixed |
Status: | new → closed |
Added to update [o27348].