-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Conversation
There was a problem hiding this 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.
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
I'm bumping the serialisation id because you need to rebuild the graph in oder to get the correct mode. |
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.