Schedule datasets

Hi,

I’m after a list of all the gtfs/schedule datasets or perhaps a method to obtain such a list. I’m currently building a daily timetable query function starting with the gtfs base dataset then applying the updates from the schedule datasets I know of. But obviously I don’t know how many datasets there are that I’m not aware of.

Also, with buses for instance I can download the schedule/buses dataset and this appears to be a file. But since there are other datasets in the buses directory the filename on the server can’t be just schedule/buses and the server is just delivering whatever the default file for the directory is. Is there a default name (e.g. all.zip) for these files and would it be better if I used such a name in the URL ?

Thanks,

Steven

i’m not sure i understood what you are looking for, but there is a complete GTFS zip here: Timetables Complete GTFS - Dataset - TfNSW Open Data Hub and Developer Portal trains, buses, etc

Hi,

Thanks for the reply. Yes, I already check/download this dataset each day. There are also “update” datasets for buses, ferries, nswtrains, sydney trains, etc. I am checking/downloading the complete dataset and eleven update datasets each day. But I don’t have a list of all the available update datasets or (preferably) a method to obtain such a list. The complete dataset changes very infrequently (according to HEAD) whereas some of the update datasets change each day.

Cheers,

Steven

how far in advance do you need the schedule? GTFS is not made for same-day changes and GTFS-realtime trip updates feeds should be used for that.

Reference Tables for TfNSW GTFS feeds - Overlapping agencies in GTFS feeds - Data.NSW may help you. How to Use Open Data to Develop an Application | Transport Open Data may as well though i don’t know that it’s up-to-date

Thanks for the links. The primer blog is probably what I read years ago when writing my timetable function. I’ve now found a page that lists the datasets in v1/gtfs/realtime/ and the dataset names here do exist in v1/gtfs/schedule.

So maybe now I do have a list of all the schedule datasets. But I can’t find a page that lists all the v1 schedule datasets. These updates are important because they update some trips in the complete GTFS dataset and also add extra trips. Maybe I’m using the wrong complete GTFS dataset.

Edit: I’ve now found the page I was looking for. Thanks for your assistance.

Cheers, Steven