Transport icon indicating copy to clipboard operation
Transport copied to clipboard

Cancelled connections and platform changes

Open ShiroYacha opened this issue 7 years ago • 8 comments

Hi,

This is more like a question then an issue. Is there anyway to identify cancelled connections? I have read that you are merging your info with GTFS-RT from transport.opendata.swiss, but seems they do not provide any information on service alerts...

Thanks!

ShiroYacha avatar Nov 04 '17 13:11 ShiroYacha

We from timetable.search.ch are still developing the gtfsrt integration. This turned out to be quite complicated.

We expect it to be ready soon. Cancelled connections are supported. They even have dynamic additional trips which are often necessary when there is some replacement service.

What do you mean by service alerts?

helbling avatar Nov 04 '17 16:11 helbling

Hi, I mean in this document https://opentransportdata.swiss/de/cookbook/gtfs-rt/ they only provide trip update but no service alert which is basically cancelled trains etc... Which gtfsrt data/api are you guys using for integration?

ShiroYacha avatar Nov 04 '17 17:11 ShiroYacha

Yes, we are using this gtfsrt api. Cancelled trains are specified in "trip updates" as well (don't know if they have them for all the transport companies they support in gtfsrt).

We also have something similar to the service alerts which is this system: http://fahrplan.sbb.ch/bin/help.exe/en?tpl=showmap_external Look for the key disruptions in the json returned by the timetable.search.ch api. This key is only returned whenever there is some disruption at all.

helbling avatar Nov 04 '17 17:11 helbling

Indeed there are some schedules marked as "CANCELED" in the trip_update... However, there are so few that I think it might not be exhaustive even for all the companies that supported GTFS-RT... I will take a look into http://fahrplan.sbb.ch/bin/help.exe/en?tpl=showmap_external

Thanks for the info

ShiroYacha avatar Nov 06 '17 14:11 ShiroYacha

Hi,

I am also looking at platform changes. If I understand correctly, platform changes are not yet integrated in transport.opendata.ch? I am looking into GTFS-RT, but it seems that this is not explicitely reported either there (actually, if they list a stop_id, and there is a platform change, the data seems to be correct judging by the platform number in the id, e.g. 8502202:0:5; however, it seems that there is no trigger for this type of changes)...

How do you deal with these kinds of changes?

Thanks!

ShiroYacha avatar Nov 09 '17 12:11 ShiroYacha

hi I have enabled track changes as experimental opt-in on the timetable.search.ch API. If you add &show_trackchanges=1 changed tracks are considered. Changed tracks are returned in the same field normal planned tracks are returned and an exclamation mark is appended.

helbling avatar Nov 15 '17 12:11 helbling

Are there news about this? Two years passed but it still looks like the real time data is not available (neither on transport.search.ch nor via the opendata API). For instance, tonight the IC5 from Neuchâtel to Lausanne at 19:03 is cancelled (which appears on the SBB timetable): Cancelled train on SBB web site

But this is not visible from transport.search.ch... Same train on transport.search.ch, no trace of cancellation

hb9tst avatar Feb 20 '20 18:02 hb9tst

Are there any news on this? timetable.search.ch seems to have the information about cancelled connections, however I see no info about cancellations on the connections api endpoint. Is there any other way I can find whether a connection is cancelled or not? Delay seems to be working fine.

schafran avatar Mar 26 '23 15:03 schafran