Modify

Opened 9 years ago

Last modified 6 months 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 Changed 9 years ago by Atalanttore

Description: modified (diff)

comment:2 Changed 5 years ago by simon04

Keywords: orthogonalize rectify added
Milestone: 16.03

comment:3 Changed 5 years ago by Stereo

Cc: Stereo added

comment:4 Changed 5 years ago by Stereo

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 Changed 5 years ago by Don-vip

Milestone: 16.0316.04

Milestone renamed

comment:6 Changed 5 years ago by Don-vip

Milestone: 16.0416.05

comment:7 Changed 5 years ago by Don-vip

Milestone: 16.0516.06

comment:8 Changed 5 years ago by Don-vip

Milestone: 16.06

comment:9 Changed 5 years ago by openstreetmap.org-user-d1g

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 Changed 5 years ago by openstreetmap.org-user-d1g

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

comment:11 Changed 5 years ago by openstreetmap.org-user-d1g

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

comment:12 Changed 5 years ago by openstreetmap.org-user-d1g

Cc: openstreetmap.org-user-d1g added

comment:13 in reply to:  9 Changed 5 years ago by Atalanttore

Replying to openstreetmap.org-user-d1g:

Sometimes it is 30, 45, 60, 90.

This should fit in most cases.

comment:14 Changed 5 years ago by Stereo

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 4 years ago by Stereo

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

comment:16 Changed 6 months ago by GoodClover

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 6 months ago by simon04

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 6 months ago by GoodClover

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.
to The owner will be changed from team to the specified user.
The owner will change to Atalanttore
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.