Skip to content

More improvements to MapMatchFilter and intersection callout after user testing#509

Merged
davecraig merged 5 commits into
Scottish-Tech-Army:mainfrom
davecraig:main
May 22, 2025
Merged

More improvements to MapMatchFilter and intersection callout after user testing#509
davecraig merged 5 commits into
Scottish-Tech-Army:mainfrom
davecraig:main

Conversation

@davecraig

Copy link
Copy Markdown
Contributor

No description provided.

davecraig added 4 commits May 21, 2025 14:00
This means that all intersection callouts start from the furthest Way to
the left. That's less surprising than the previously random order.
Issue Scottish-Tech-Army#506 had missing intersection callouts which was due to a miscalculation of
the angle between two headings. It should have been calculating the angle between
the lines assuming them to be bidirectional rather than just the headings.

The MapMatchFilter has been tweaked to better deal with short spells where a
route is deviated from.
Without this, we were picking some of these intersections to announce,
and then dropping them when it came to announce them. This prevented other
more useful intersections being announced.
More care was required to ensure that the START and END intersections
were indeed at the START and END of the geometry.
Figuring out which direction a line is travelling on across a tile
boundary was being done incompletely. The new changes fix that.
@davecraig davecraig merged commit c9f7ef1 into Scottish-Tech-Army:main May 22, 2025
1 check passed
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