-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enable CAR transfers with ferries with NeTEx import #6640
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6640 +/- ##
==========================================
Coverage 71.16% 71.17%
- Complexity 18453 18463 +10
==========================================
Files 2027 2027
Lines 76296 76312 +16
Branches 7807 7807
==========================================
+ Hits 54295 54313 +18
+ Misses 19238 19237 -1
+ Partials 2763 2762 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Looks good, just a typo
application/src/main/java/org/opentripplanner/netex/mapping/TransportModeMapper.java
Outdated
Show resolved
Hide resolved
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.
looks good, just a typo.
Summary
This PR will set the
Trip#carsAllowed
flag based on submodes in NeTEx. This will enable routing with CAR + FERRY. The submodes that enable thecarsAllowed
flag is:NATIONAL_CAR_FERRY
(WATER)REGIONAL_CAR_FERRY
(WATER)LOCAL_CAR_FERRY
(WATER)HIGH_SPEED_VEHICLE_SERVICE
(WATER)There are other modes witch also might take cars on board like the
CAR_TRANSPORT_RAIL_SERVICE
.At the moment we assume all stops used by a service with the submodes above is car accessible. This is not true in all cases. To account for this we need to know if a stop is car accessible, but this information does not exist in the Norwegian NeTEx data at the moment.
Issue
🟥 There is no issue for this.
Unit tests
✅ I have added unit-tests for the NeTEx mapping.
Documentation
Only JavaDoc is added.
Changelog
✅ This should be included.
Bumping the serialization version id
🟥 No changes to the serialized model.