-
Notifications
You must be signed in to change notification settings - Fork 27
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
Partially canceled trains #517
Comments
Another issue, L892 has some cancelled stops between Ghent and Kortrijk. The journey and liveboard do show this, but the vehicle call not. All stops are served according to it. (Or the data iw not yet updatet). |
…ancelled, move all fixtures to structured folder
Hmm, seems like different ways to cancel a train conflict with each other when it comes to representing the cancelled state. I captured the raw data and added a test which is currently failing, will see if I can fix it tomorrow without breaking (the test for) the other recent fix to partially cancelled trains. |
NMBS described this journey in their GTFS as 4 different segments, which iRail puts together to Mechelen - Kortrijk, but when looking up L886 for Mechelen - Kortrijk the NMBS API returns "no results". When searching for the last segment, Ghent - Kortijk, the entire journey is returned. Will add a retry logic with different segments. |
Fixed: https://api.irail.be/v1/vehicle/?id=886&date=010524 |
It doesnt seem to be fixed. S10 3887 has been canceled between Opwijk and Dendermonde, while the API shows the stops. Fore some reason, the request doesnt work (gives an error, but hyperrail shows the train🙃, probably it was cache). Previous version of the API handled this correctly.
|
The "Fixed" part was only regarding these specific trains not being able to be fetched due to the differences in the GTFS structure, the actual cancelled/not cancelled state is not fixed yet (but this train seems to show up correctly with a fresh cache) |
…ancelled, move all fixtures to structured folder
Issue happened again today with S10 3868. It ran directly from Dendermonde to Jette, skipping stations between. The api doesn't show the stops as cancelled |
@Bertware happens again with S53 662. Train is rerouted between Oudenaarde and Gent, but the stops between are not cancelled. With the journeyplanner, you dont have the option to go to an intermediate stop (which is correct), but the vehicle call doesn't show the cancelled stops. Moreover, there is a platform in de pinte '606'. On the liveboard of "Eke-Nazareth" train is also cancelled, but just not in thd vehicle call |
There is again an issue with partially canceled trains. This happens for L886. It departs from Dendermonde, but the API says that the vehicle is not found in GTFS.
https://api.irail.be/v1/vehicle/?id=886
Another example: IC2614
The text was updated successfully, but these errors were encountered: