Modify

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 Atalanttore)

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 Atalanttore, 13 years ago

Description: modified (diff)

comment:2 by simon04, 9 years ago

Keywords: orthogonalize rectify added
Milestone: 16.03

comment:3 by Stereo, 9 years ago

Cc: Stereo added

comment:4 by Stereo, 9 years ago

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.

comment:5 by Don-vip, 9 years ago

Milestone: 16.0316.04

Milestone renamed

comment:6 by Don-vip, 9 years ago

Milestone: 16.0416.05

comment:7 by Don-vip, 9 years ago

Milestone: 16.0516.06

comment:8 by Don-vip, 9 years ago

Milestone: 16.06

comment:9 by openstreetmap.org-user-d1g, 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:10 by openstreetmap.org-user-d1g, 8 years ago

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

comment:11 by openstreetmap.org-user-d1g, 8 years ago

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

comment:12 by openstreetmap.org-user-d1g, 8 years ago

Cc: openstreetmap.org-user-d1g added

in reply to:  9 comment:13 by Atalanttore, 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 Stereo, 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 Stereo, 8 years ago

One good workaround solution is the ImproveWay plugin: https://github.com/JOSM/improve-way

comment:16 by GoodClover, 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 simon04, 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 GoodClover, 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 😅

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Atalanttore.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.