Opened 15 years ago
Last modified 5 years ago
#5079 new enhancement
Orthoganalize nodes that are not connected by ways
Reported by: | AM909 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: | AM909, brogo |
Description
It would be nice to be able to select nodes to be orthoganalized that are not joined by ways. This would allow you to ortho a shape that is almost orthogonal, but has a couple non-ortho features, without having to resort to drawing a temporary way to connect them and deleting it afterward.
Attachments (0)
Change History (5)
comment:1 by , 15 years ago
follow-up: 5 comment:2 by , 15 years ago
Alternative: If the selection consists of one or more ways and more than 2 nodes, orthogonalize only the 'selected' part of the ways. (Or don't select a way and simply use the parent way of the selected nodes.)
comment:4 by , 11 years ago
Cc: | added |
---|
comment:5 by , 5 years ago
Replying to bastiK:
Alternative: If the selection consists of one or more ways and more than 2 nodes, orthogonality only the 'selected' part of the ways. (Or don't select a way and simply use the parent way of the selected nodes.)
+1
Use parent way if all selected nodes are child of only one way otherwise inform the user and ask to select the underlying way.
This is not as easy as it sounds...
If there is no underlying way, it is quite a challenge to create an algorithm that orthogonalizes them.
Especially if the angles are far off 90 deg (Inaccurate node placement) or the shape is complicated.
Basically, you have to find groups of 3 points that are supposed to form a right angle or straight line out of some cloud of points.