Skip to content
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

Delay not reported anymore #181

Open
matitalatina opened this issue Sep 18, 2017 · 5 comments
Open

Delay not reported anymore #181

matitalatina opened this issue Sep 18, 2017 · 5 comments

Comments

@matitalatina
Copy link

I have always delay: null since August (more or less).
I caught the issue today.

I was querying on station Mendrisio S. Martino (stationboard API call).
Before August my application worked well. Then station name on stops became all null (there's already an open bug for this), also the delay became always null.

See the attachment.

Delay issue caught live

@helbling
Copy link

We from timetable.search.ch (which ist the new backend for the transport api) are still working to properly integrate the gtfs-rt data. It is almost ready but we found some big discrepanies between gtfsrt and the data displayed on sbb.ch in some cases. This bug should be fixed in the following weeks.

We will activate the delays as soon as we are confident to actually provide useful data.

@fabian fabian added the beta label Sep 18, 2017
@ShiroYacha
Copy link

Hi, I am also interested in this feature. Is it already enabled?
Also, how fast are the delays updated? We are planning to impl. a notification service but I am not sure polling the delay is a good idea...

@helbling
Copy link

helbling commented Nov 6, 2017

I reactivated the show_delays parameter in the timetable.search.ch API.

Look for arr_delay / dep_delay keys in the result to see the expected delays.
If its value is set to 'X' that means that specific stop is cancelled.

Apart from marking the routes with these delays / cancellations, it should now show alternative trips as well (marked with a realtime key). Even dynamically added trips are supported.

Please be aware that this feature is still in beta and under heavy development. Especially the alternative routes. Also the gtfsrt feed from opentransportdata.swiss might still contain bugs.

Our gtfsrt feed currently only updates once every five minutes.

@edgar-costa
Copy link

Did you disabled the show_delays parameter? I am trying to get the delay and in the opendata.ch API it always says Null. And in the timetable.search.ch API nothing gets returned, for example:

https://timetable.search.ch/api/stationboard.json?stop=Milchbuck&show_delays=1&limit=5

shows no arr_delay/ dep_delay

@helbling
Copy link

Delays are not disabled but in Zurich not all lines have realtime information.
See https://fahrplan.search.ch/realtime_companies
You can try different stations like "Zürich Hardbrücke" or "Zürich Hardbrücke, Bahnhof".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants