Skip to content

Support for direct via routing - #7105

Draft
optionsome wants to merge 21 commits into
opentripplanner:dev-2.xfrom
HSLdevcom:direct-via-routing
Draft

optionsome wants to merge 21 commits into
opentripplanner:dev-2.xfrom
HSLdevcom:direct-via-routing

Conversation

@optionsome

Copy link
Copy Markdown
Member

Summary

Adds support for direct routing when there are only via locations with coordinates specified in the request. If there are any via locations without coordinates (visit via locations with just stopLocations or pass-through via locations), direct routing is not executed.

This is currently based on #7090

Issue

Relates to #4887

Unit tests

TODO

Documentation

Not needed

Changelog

From title

@optionsome optionsome added the !New Feature A functional feature targeting the end user. label Dec 1, 2025
@codecov

codecov Bot commented Dec 1, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.57143% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.23%. Comparing base (d2091ed) to head (916e2af).
⚠️ Report is 1 commits behind head on dev-2.x.

Files with missing lines Patch % Lines
...aptoradapter/router/street/DirectStreetRouter.java 68.75% 2 Missing and 3 partials ⚠️
...oradapter/router/street/ViaDirectStreetRouter.java 96.82% 0 Missing and 4 partials ⚠️
...g/opentripplanner/ext/taxi/routing/TaxiRouter.java 77.77% 1 Missing and 1 partial ⚠️
...apter/router/street/DefaultDirectStreetRouter.java 95.00% 0 Missing and 1 partial ⚠️
...apter/router/street/DirectStreetRouterFactory.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #7105      +/-   ##
=============================================
+ Coverage      76.20%   76.23%   +0.03%     
- Complexity     24904    24943      +39     
=============================================
  Files           2671     2674       +3     
  Lines          93274    93410     +136     
  Branches        9293     9300       +7     
=============================================
+ Hits           71080    71212     +132     
+ Misses         19051    19050       -1     
- Partials        3143     3148       +5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@optionsome optionsome added this to the 2.9 (next release) milestone Dec 1, 2025
@t2gran t2gran modified the milestones: 2.9, 2.10 (next release) Mar 18, 2026
@optionsome
optionsome force-pushed the direct-via-routing branch from 7fe0218 to 16c57e2 Compare April 2, 2026 12:44
@optionsome
optionsome force-pushed the direct-via-routing branch 3 times, most recently from 9fdf10d to d441eb1 Compare April 20, 2026 14:18
@optionsome
optionsome force-pushed the direct-via-routing branch 2 times, most recently from b76fa7c to 4c2f04b Compare May 7, 2026 07:45
@optionsome
optionsome force-pushed the direct-via-routing branch from 4c2f04b to ad59964 Compare May 8, 2026 13:45
@optionsome
optionsome force-pushed the direct-via-routing branch from ad59964 to 8916625 Compare May 8, 2026 13:58
@optionsome
optionsome marked this pull request as ready for review May 11, 2026 10:59
@optionsome
optionsome requested a review from a team as a code owner May 11, 2026 10:59
@leonardehrenfried leonardehrenfried self-assigned this May 11, 2026
@leonardehrenfried

Copy link
Copy Markdown
Member

When #7591 is merged, there will be a conflict to resolve.

@optionsome
optionsome marked this pull request as draft May 19, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!New Feature A functional feature targeting the end user.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants