Opened 13 years ago
Last modified 4 years ago
#7651 new enhancement
Alignment granularity for 30 and 45 degree angles
Reported by: | Atalanttore | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | alignment granularity orthogonalize rectify | Cc: | Stereo, openstreetmap.org-user-d1g |
Description (last modified by )
Hi
as enhancement for the align-in-rectangle function i would like a finer detection method for possible 30 and 45 degree angles along with a finer alignment granularity. The same granularity which offers the Angle-snapping function while drawing new ways.
See also (german!): http://forum.openstreetmap.org/viewtopic.php?pid=230508
Atalanttore
Attachments (0)
Change History (18)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Keywords: | orthogonalize rectify added |
---|---|
Milestone: | → 16.03 |
comment:3 by , 9 years ago
Cc: | added |
---|
comment:4 by , 9 years ago
comment:6 by , 9 years ago
Milestone: | 16.04 → 16.05 |
---|
comment:7 by , 9 years ago
Milestone: | 16.05 → 16.06 |
---|
comment:8 by , 9 years ago
Milestone: | 16.06 |
---|
follow-up: 13 comment:9 by , 8 years ago
Please note my comment about customizable list of angles:
https://josm.openstreetmap.de/ticket/12821#comment:3
We cannot provide list of angles that fit every single metro in the world.
Sometimes it is just 90
Sometimes it is 45, 90.
Sometimes it is 45, 60, 90.
Sometimes it is 30, 45, 60, 90.
comment:12 by , 8 years ago
Cc: | added |
---|
comment:13 by , 8 years ago
Replying to openstreetmap.org-user-d1g:
Sometimes it is 30, 45, 60, 90.
This should fit in most cases.
comment:14 by , 8 years ago
It would still be useful sometimes to be able to enter arbitrary angles, e.g. 110 here: https://www.openstreetmap.org/#map=19/49.50889/5.97415
comment:15 by , 8 years ago
One good workaround solution is the ImproveWay plugin: https://github.com/JOSM/improve-way
comment:16 by , 4 years ago
8 years and it still isn't a thing.
This feature would be a great help as alot of buildings near me have 45d angles and orthog tool messes them up awfully.
comment:17 by , 4 years ago
All JOSM developers work in their spare time (no one is paid for her/his work) and pick tasks they personally find interesting/important. Feel free to submit a patch.
comment:18 by , 4 years ago
Sorry if my message came off in a bad way, I was just surprised that no-one had added it yet.
I'm not good enough at Java to add it myself, I'm a Python3 guy myself 😅
Ideally, we should have preset angles (90, 45, 30?) and be able to override these in the config.
https://github.com/openstreetmap/iD/blob/master/js/id/actions/orthogonalize.js is how iD orthogonalises rectangles.