Support for turning the fares calculation off, even when fares are#2912
Conversation
configured in the GTFS file set.
|
I tried to test this PR a few times during the last weeks, until now not able to get it working. What I tried is:
1 to 3 work fine, at step 4 I do get this error: |
|
Thank you for testing it, I will check the serialization support on the |
|
I managed to reproduce the Serialization issue and fix it. The |
|
I merged this PR with the latest in ´dev-2.x´. Note that the graph name have changed from |
|
Now it works! Change is clean and well documented. |
When testing the OTP2 with the Netherlands GTFS file set OTP2 performed poor due to a lot of fare rules. There is no way to turn off this, when the GTFS data contains such rules; Hence it would be nice to be able to turn off fares, so it does not block running OTP when there is a problem with the fares.
This PR vil use a Noop implementation to disable the FareService during the build operation. The fares are still processed while loading the GTFS files, but they have no effect.
To be completed by pull request submitter:
To be completed by @opentripplanner/plc: