Modify

Opened 2 years ago

Last modified 2 years ago

#22214 new defect

'Orthogonalize Shape' function not working if 'Follow line' has been used right before

Reported by: Max1234-ITA Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: Cc:

Description (last modified by Max1234-ITA)

I want to orthogonalize a section of a long way: to do so, I draw a new temporary line by clicking two contiguous nodes of the way to be orthogonalised, then I use the Follow line function (shortcut: "F"), until the selection reaches the last node I wish to include in the orthogonalisation.

After this, I call Orthogonalize shape (shortcut: "Q"), but an error message pops up:
Unable to orthogonalize {Node id=-102014 version=0 MV lat=(...),lon=(...)}.

This does not happen if I follow the way and select the last node to be orthogonalised by manually clicking on it.

Attachments (1)

Orthogonalise_error.png (72.9 KB ) - added by Max1234-ITA 2 years ago.
Error message displayed by JOSM. The last node of the new line has been created by the Follow function

Download all attachments as: .zip

Change History (5)

comment:1 by Max1234-ITA, 2 years ago

Description: modified (diff)

by Max1234-ITA, 2 years ago

Attachment: Orthogonalise_error.png added

Error message displayed by JOSM. The last node of the new line has been created by the Follow function

comment:2 by GerdP, 2 years ago

I can reproduce this, but I am not sure if this can be closed as worksforme. You have to stop the "Follow line" mode and re-select the new way.

comment:3 by anonymous, 2 years ago

Actually, this is not a critical issue for an experienced mapper, just something making my work a little slower and uncomfortable.

If I impersonate the "dumb user", however, I find it quite annoying, 'cos having selected all the desired nodes I would expect to be able to immediately apply the next modification (Orthogonalize) and -as the dumb user I am- I would assume JOSM has an issue.

From that point of view, i believe this behaviour deserves to be worked out.

Cheers,
Max

in reply to:  2 comment:4 by Max1234-ITA, 2 years ago

Replying to GerdP:

I can reproduce this, but I am not sure if this can be closed as worksforme. You have to stop the "Follow line" mode and re-select the new way.

Hi, sorry for my late feedback.

Today I was working with JOSM (v. 18752): I "followed" an existing shape, then pressed "O" to align all the selected nodes into an arc of a circle... and it worked with no flaws.

I Repeated the same operations with Orthogonalize and went into this issue.
At this point I guess one of the two methods (Align in Circle/Orthogonalize) is doing wrong.

Kind regards,
Max

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 Max1234-ITA.
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.