Baking an AI road introduces spurious line segments #1610
Labels
duplicate
This issue or pull request already exists
feature-internal
Issue or request related to our internal services or data teams
Description
Part 1: jaggies bad
The process of adding an AI road segment to the map often adds a big jagged line segment. I reported this a few weeks ago, but I think I failed to describe the problem accurately.
The issue looks like a simple bug of some sort: it literally connects a point near one end of the polyline to a point near the far end, thus introducing a big "jaggie" that has to be excised by hand.
Loss of editing capability
If the angle between the jaggie and the real polyline is acute enough (so that the geometry almost turns into two overlapping lines), the user loses the ability to click on any of the control points in the affected area. When this occurs, a whole lot of extra fiddling is required to fix up the broken geometry.
Jaggies used to not be a thing
This overall behavior is a regression that occurred some time in the past few months. These spurious jaggies used to never happen, whereas now they're fairly common: I'll encounter a number of them in any hour of use of the tool.
Part 2: regression in overlap with prior road
I also want to draw attention to the fact that in the example here, some of the AI geometry sits on top of an existing road segment, and will have to be excised by hand. This has recently been happening much more often than it used to.
In fact, sometimes Rapid will create geometry with the exact same control points as some roads that I added using Rapid months or years ago. Because Rapid is very bad at manipulating roads that share the same control points, any accidental use of an AI road that overlaps with a pre-existing road can be very difficult and time consuming to fix.
Screenshots
Pre-existing roads with AI turned off.
AI road segment. Note the overlap at the top with the pre-existing road segment.
After baking the AI segment onto the map. Note the spurious line segment that wasn't previously present.
Version
2.4.3
What browser are you seeing the problem on? What version are you running?
Safari v18.1
The OS you're using
mac
Steps to reproduce
I'm going to leave the offending example in place so that you can verify the problem by visiting the example URL.
The browser URL at the time you encountered the bug
https://rapideditor.org/edit#map=15.00/37.9713/-114.6464&background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
The text was updated successfully, but these errors were encountered: