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 )
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)
Change History (5)
comment:1 by , 2 years ago
Description: | modified (diff) |
---|
by , 2 years ago
Attachment: | Orthogonalise_error.png added |
---|
follow-up: 4 comment:2 by , 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 , 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
comment:4 by , 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
Error message displayed by JOSM. The last node of the new line has been created by the Follow function