Opened 12 years ago
Last modified 3 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 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 8 years ago by
Keywords: | orthogonalize rectify added |
---|---|
Milestone: | → 16.03 |
comment:3 Changed 8 years ago by
Cc: | Stereo added |
---|
comment:4 Changed 8 years ago by
comment:6 Changed 8 years ago by
Milestone: | 16.04 → 16.05 |
---|
comment:7 Changed 8 years ago by
Milestone: | 16.05 → 16.06 |
---|
comment:8 Changed 7 years ago by
Milestone: | 16.06 |
---|
comment:9 follow-up: 13 Changed 7 years ago by
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 Changed 7 years ago by
Cc: | openstreetmap.org-user-d1g added |
---|
comment:13 Changed 7 years ago by
Replying to openstreetmap.org-user-d1g:
Sometimes it is 30, 45, 60, 90.
This should fit in most cases.
comment:14 Changed 7 years ago by
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 Changed 7 years ago by
One good workaround solution is the ImproveWay plugin: https://github.com/JOSM/improve-way
comment:16 Changed 3 years ago by
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 Changed 3 years ago by
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 Changed 3 years ago by
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.