-
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
Add experimental support for GTFS Fares V2 #4338
Add experimental support for GTFS Fares V2 #4338
Conversation
Co-authored-by: Hannes Junnila <hannes.junnila@gmail.com>
11064cc
to
1910d1d
Compare
src/ext/java/org/opentripplanner/ext/fares/impl/GtfsFaresV2Service.java
Outdated
Show resolved
Hide resolved
1910d1d
to
2502694
Compare
Co-authored-by: Hannes Junnila <hannes.junnila@gmail.com>
@vesameskanen Do you think you can provide a review for this PR? If not let us know and I will ask someone else. |
Yes, working on it right now. I am going to test the feature by remodeling HSL fares into V2 format, in order to understand better how the setup works in real life. This final test should be ready by tomorrow. |
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.
Current implementation does not seem to have enough fares v2 features for easy implementation of ordinary zone based ticketing, but is a good start for further development.
Add experimental support for GTFS Fares V2
Summary
Adds support for recently added GTFS Fares V2.
The full (unmerged) spec is very large but this PR only implements the part that is in the mainline GTFS repo plus a few additions. As of this PR, the list of supported features is:
There are more features that I want to implement, namely fare_transfer_rules, but they will come in a later PR.
TODO before merge
Issue
n/a
Unit tests
Lots of tests added.
Documentation
added