Skip to content

Make flex linking work together with boarding locations#6311

Merged
leonardehrenfried merged 5 commits into
opentripplanner:dev-2.xfrom
ibi-group:flex-linking
Dec 19, 2024
Merged

Make flex linking work together with boarding locations#6311
leonardehrenfried merged 5 commits into
opentripplanner:dev-2.xfrom
ibi-group:flex-linking

Conversation

@leonardehrenfried

@leonardehrenfried leonardehrenfried commented Dec 6, 2024

Copy link
Copy Markdown
Member

Summary

It links flex stops also to the drivable street network even when they are already linked to an OSM boarding location.

Issue

Closes #6299

Unit tests

Added.

Documentation

Javadoc.

@leonardehrenfried leonardehrenfried requested a review from a team as a code owner December 6, 2024 09:33
@codecov

codecov Bot commented Dec 6, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 71.42857% with 4 lines in your changes missing coverage. Please review.

Project coverage is 69.79%. Comparing base (20696c1) to head (ebbba52).
Report is 196 commits behind head on dev-2.x.

Files with missing lines Patch % Lines
...planner/street/model/vertex/TransitStopVertex.java 70.00% 1 Missing and 2 partials ⚠️
...anner/graph_builder/module/StreetLinkerModule.java 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             dev-2.x    #6311    +/-   ##
===========================================
  Coverage      69.79%   69.79%            
- Complexity     17798    17821    +23     
===========================================
  Files           2019     2020     +1     
  Lines          76126    76234   +108     
  Branches        7786     7800    +14     
===========================================
+ Hits           53132    53210    +78     
- Misses         20288    20309    +21     
- Partials        2706     2715     +9     

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

@leonardehrenfried leonardehrenfried added the !Bug Apply to issues describing a bug and PRs witch fixes it. label Dec 6, 2024
@miklcct

miklcct commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

Will it cause #5498 to appear again? If not, what's the difference?

@leonardehrenfried

leonardehrenfried commented Dec 6, 2024

Copy link
Copy Markdown
Member Author

No, it will not reappear. The difference is that linking to both walk and drive edges is ensured in all cases, even the stop has previously been linked to a boarding location. This is ensured by unit tests.

@leonardehrenfried

Copy link
Copy Markdown
Member Author

@vesameskanen Can I ask you to review this?

@leonardehrenfried leonardehrenfried added the IBI Developed by or important for IBI Group label Dec 9, 2024

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic seems fine, but could you clarify the link order and fix a typo please?

@leonardehrenfried leonardehrenfried merged commit b30e045 into opentripplanner:dev-2.x Dec 19, 2024
t2gran pushed a commit that referenced this pull request Dec 19, 2024
@leonardehrenfried leonardehrenfried deleted the flex-linking branch December 19, 2024 21:30
@t2gran t2gran added this to the 2.7 (next release) milestone Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!Bug Apply to issues describing a bug and PRs witch fixes it. IBI Developed by or important for IBI Group

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boarding locations which serve flex services can be inaccessible to cars

5 participants