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

Change the NeTEx mapping of "cableway" to GONDOLA #6174

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

miklcct
Copy link
Contributor

@miklcct miklcct commented Oct 17, 2024

Summary

This changes the NeTEx mapping of "cableway" to GONDOLA. It is currently CABLE_CAR, but it is GTFS (American) terminology where a cable car is a street-level rail vehicle propelled by trams, while in Transmodel, a cableway is a form of transport which vehicles are suspended from a cable.

Issue

google/transit#186

Unit tests

Added for cableway mapping.

Documentation

None here, but #6173 is relevant.

Copy link
Member

@t2gran t2gran left a comment

Choose a reason for hiding this comment

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

This change should be unproblematic for us at ENTUR and in Skaane. I only see one theoretical pitfall here. If you mix NeTEx data with the GTFS API or The NeTEx API with GTFS data it might have some side effects. But, in our case tha only thing that chaged is the internal state of OTP. Thank you for the contribution and the added tests.

@t2gran t2gran added this to the 2.7 (next release) milestone Oct 18, 2024
@t2gran t2gran added the Bug label Oct 18, 2024
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.93%. Comparing base (440498f) to head (ecae035).
Report is 56 commits behind head on dev-2.x.

Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6174   +/-   ##
==========================================
  Coverage      69.93%   69.93%           
+ Complexity     17730    17728    -2     
==========================================
  Files           1996     1996           
  Lines          75402    75402           
  Branches        7717     7717           
==========================================
  Hits           52731    52731           
+ Misses         19995    19994    -1     
- Partials        2676     2677    +1     

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

@leonardehrenfried leonardehrenfried added the bump serialization id Add this label if you want the serialization id automatically bumped after merging the PR label Oct 18, 2024
@leonardehrenfried
Copy link
Member

leonardehrenfried commented Oct 18, 2024

I'm bumping the serialisation id because you need to rebuild the graph in oder to get the correct mode.

@optionsome optionsome merged commit 25c2502 into opentripplanner:dev-2.x Oct 22, 2024
5 checks passed
t2gran pushed a commit that referenced this pull request Oct 22, 2024
@miklcct miklcct deleted the netex_cableway branch October 22, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug bump serialization id Add this label if you want the serialization id automatically bumped after merging the PR Skip Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants