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

Add fallback name for corridors #6303

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

leonardehrenfried
Copy link
Member

Summary

Many types of OSM ways have a fallback name like "path", "stairs" or "tunnel" but those tagged with highway=corridor do not. This PR adds it.

Unit tests

Added.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6303      +/-   ##
=============================================
- Coverage      69.79%   69.79%   -0.01%     
+ Complexity     17798    17787      -11     
=============================================
  Files           2019     2017       -2     
  Lines          76126    76043      -83     
  Branches        7786     7781       -5     
=============================================
- Hits           53132    53074      -58     
+ Misses         20288    20264      -24     
+ Partials        2706     2705       -1     

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

@leonardehrenfried leonardehrenfried changed the title Add fallback names for corridors Add fallback name for corridors Dec 4, 2024
@leonardehrenfried
Copy link
Member Author

@vesameskanen Could you please review this?

@leonardehrenfried leonardehrenfried merged commit e890466 into opentripplanner:dev-2.x Dec 23, 2024
5 checks passed
t2gran pushed a commit that referenced this pull request Dec 23, 2024
@leonardehrenfried leonardehrenfried deleted the corridor-name branch December 23, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IBI Developed by or important for IBI Group Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants