Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve bounding boxes used by railviz #603

Merged
merged 27 commits into from
Nov 12, 2024

Conversation

MichaelKutzner
Copy link
Contributor

Fixes an issue for trips with shapes not completely covered by bounding boxes created by stop locations. This caused trips to vanish for curved shaped, if the visible view didn't overlap with the direct route between stops.
For further improvements this calculation is now performed during import. Trivial bounding boxes for segments might not be stored to save disk space.

@MichaelKutzner MichaelKutzner marked this pull request as ready for review November 12, 2024 10:47
src/railviz.cc Outdated Show resolved Hide resolved
@felixguendling felixguendling merged commit 24e51f6 into motis-project:master Nov 12, 2024
11 checks passed
@MichaelKutzner MichaelKutzner deleted the bounding_boxes branch November 12, 2024 12:24
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.

2 participants