Skip to content

collect all unnamed edges and find straightest edge#30

Open
kim-perry wants to merge 1 commit into
masterfrom
bug/18098-select-straightest-unnamed-edge
Open

collect all unnamed edges and find straightest edge#30
kim-perry wants to merge 1 commit into
masterfrom
bug/18098-select-straightest-unnamed-edge

Conversation

@kim-perry

Copy link
Copy Markdown

Description

We have a bug on an IL highway where if an upstream TIM starts on a ramp (unnamed edge) the rest of the path is not getting generated correctly:
Screenshot 2026-07-06 at 12 51 29 PM

Solution

We can mitigate this by collecting all unnamed edges and choosing the straightest edge. Results:
Screenshot 2026-07-06 at 12 51 37 PM

Testing

A unit test has been added that starts an upstream edge on an unnamed road and verifies that a single feature collection is generated. I didn't see any other unit tests hit this code yet so this is a basic start. Path drawn from unit test (starting at the bottom):
Screenshot 2026-07-06 at 12 51 43 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant