Closed mvexel closed 1 year ago
This seems fixed now?
My guess is that this vertex is just barely too angular that it gets skipped.
The orthogonalize command skips any that are > 13° off from 90° or 0°.
I was wrong and this still behaves unpredictably.
https://user-images.githubusercontent.com/120452/213782087-b93b50de-1cb0-46d2-8a8b-0ee2a93ccea7.mov
(I pressed Q every time I (re) selected the building, a few times nothing happened at all and Rapid tells me that the way cannot be any more square)
I was wrong and this still behaves unpredictably.
This looks correct to me? It's not going to try to square an angle that is too spiky - the algorithm assumes anything > 13° off is mapped that way on purpose.
I just compared it to iD behavior and you're right, it does what it's supposed to. I think I was expecting some unspecified magic.
I just compared it to iD behavior and you're right, it does what it's supposed to. I think I was expecting some unspecified magic.
cool - yeah I do understand that it might not work how users expect so I'm definitely open to changing it at some point..
Description
Consider way https://www.openstreetmap.org/way/1122719902. Select the building, press Q to square, it changes the geometry but does not make it square. Upload the change, reload the area, try again, it will change the geometry once again but it's not any more (or less) square than it was before
Version
2.00-alpha.3.3
What browser are you seeing the problem on? What version are you running?
Firefox v107.0
Steps to reproduce
Consider way https://www.openstreetmap.org/way/1122719902. Select the building, press Q to square, it changes the geometry but does not make it square. Upload the change, reload the area, try again, it will change the geometry once again but it's not any more (or less) square than it was before
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-alpha3#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&id=w1122719902&map=21.63/40.40828/-111.76312&photo=mapillary/288200786362789&photo_overlay=mapillary,kartaview,streetside