# Timetables Complete GTFS

**URL:** <https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883>\
**Category:** Datasets\
**Created:** [November 1, 2016, 1:00pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883 "2016-11-01T13:00:00Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![sramkrishna](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sramkrishna](https://opendataforum.transport.nsw.gov.au/u/sramkrishna)\
**Post date:** [November 3, 2022, 2:32am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/21 "2022-11-03T02:32:44Z")

</div>

Hi there,

I see that the feed is updated on a periodic basis. Is there a way I can access historical GTFS data for the last 3-4 years (trains static timetable data)? I can only see the latest dataset being available.

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [November 3, 2022, 3:12am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/22 "2022-11-03T03:12:59Z")

</div>

have you seen [Historical GTFS and GTFS Realtime | TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/dataset/historical-gtfs-and-gtfs-realtime) ?

---

<div class="post-metadata">

**Author:** ![sramkrishna](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sramkrishna](https://opendataforum.transport.nsw.gov.au/u/sramkrishna)\
**Post date:** [November 3, 2022, 3:26am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/23 "2022-11-03T03:26:11Z")

</div>

Thanks for that. I was looking for static timetable data for trains though, I should’ve specified it in my comment earlier.

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [November 3, 2022, 5:09am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/24 "2022-11-03T05:09:30Z")

</div>

sydney trains or nsw trains? there’s some on [Historical GTFS Bundles and Timetables | TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/dataset/historical-gtfs-bundles-and-timetables) and [User account | TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/system/files/resources/historical_gtfs_browser.html?prefix=historical_gtfs/sydneytrains/)

---

<div class="post-metadata">

**Author:** ![Sam\_Buckle](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@Sam\_Buckle](https://opendataforum.transport.nsw.gov.au/u/Sam_Buckle)\
**Post date:** [March 30, 2023, 10:48pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/25 "2023-03-30T22:48:30Z")

</div>

In routes.txt - route\_type the [documentation](https://developers.google.com/transit/gtfs/reference#routestxt) lists valid responses of 0-12, however, in the download link above I have values of 2 , 4, 106, 204, 401, 700, 712, 714 & 900.

2 & 4 match with the documentation, filtering gives Rail & Ferries.

From a little joining of files, there seem to be:  
106 NSW TrainLink Train  
204 NSW TrainLink Coach  
401 Sydney Metro  
700 Busses  
712 More Busses (possible school busses by the looks of things?)  
714 Busses again (potentially rail replacement services?)  
900 Light Rail (Sydney & Newcastle)

Is there anywhere I can confirm my assumptions and get confirmation on what these codes mean?

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [March 30, 2023, 11:09pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/26 "2023-03-30T23:09:45Z")

</div>

have a look at this part of the docs: [Extended GTFS Route Types &nbsp;|&nbsp; Static Transit &nbsp;|&nbsp; Google Developers](https://developers.google.com/transit/gtfs/reference/extended-route-types)

---

<div class="post-metadata">

**Author:** ![Sam\_Buckle](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@Sam\_Buckle](https://opendataforum.transport.nsw.gov.au/u/Sam_Buckle)\
**Post date:** [March 30, 2023, 11:45pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/27 "2023-03-30T23:45:24Z")

</div>

Thanks @jayen, didn’t come up on my searches but good to know my guesses were correct!

---

<div class="post-metadata">

**Author:** ![lion](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@lion](https://opendataforum.transport.nsw.gov.au/u/lion)\
**Post date:** [May 12, 2023, 4:24am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/28 "2023-05-12T04:24:51Z")

</div>

Hi there  
A newbie question regarding to GTFS. I’m particularly interested in the station locations in NSW. I find that the stops.txt in the dataset is pretty what I want. But I couldn’t find a way to split them by operation types. What I want is all stop locations grouped by operation type, e.g. all train stations, all bus stops, etc.

While I look at [Victoria public transport GTFS](https://discover.data.vic.gov.au/dataset/ptv-timetable-and-geographic-information-2015-gtfs), I can see the dataset is grouped by operation branches.

> The PTV GTFS data has been exported by operational branches  
> [https://data.ptv.vic.gov.au/downloads/PTVGTFSReleaseNotes.pdf](https://data.ptv.vic.gov.au/downloads/PTVGTFSReleaseNotes.pdf)

Can anyone tell me how can I get similar data as what I can get from PTV?

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [May 17, 2023, 12:54am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/29 "2023-05-17T00:54:10Z")

</div>

One stop can serve multiple types. E.g., Circular Quay serves ferries, trains, buses, and light rail. I believe the NSW bundle separates each wharf, stand, platform so only parent stops would be like PTV’s GTFS which doesn’t separate stops. You can use routes.txt, trips.txt, and stop\_times.txt together to determine which stop is for which route modes.

You maybe want to look at [Public Transport - Timetables - For Realtime | TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/dataset/public-transport-timetables-realtime) which has a separate GTFS zip for each contract.

---

<div class="post-metadata">

**Author:** ![Marcie](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Marcie](https://opendataforum.transport.nsw.gov.au/u/Marcie)\
**Post date:** [June 1, 2023, 10:24pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/30 "2023-06-01T22:24:32Z")

</div>

Good Morning Team,

please be advised that GTFS pathways extension is now included in as part of the complete GTFS bundle 🎉 🎉 🎉

The pathways file has 166 stations across the Greater Sydney area enabled for pedestrian navigation, with more to come!

Please see the [GTFS Pathways documentation](https://opendata.transport.nsw.gov.au/dataset/timetables-complete-gtfs/resource/58e3bb35-717e-4336-b7d2-dc2225957261) for more details.

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [June 1, 2023, 11:52pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/31 "2023-06-01T23:52:42Z")

</div>

is [GTFS Pathways | TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/dataset/gtfs-pathways) still valid?

---

<div class="post-metadata">

**Author:** ![Marcie](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Marcie](https://opendataforum.transport.nsw.gov.au/u/Marcie)\
**Post date:** [June 2, 2023, 1:01am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/32 "2023-06-02T01:01:38Z")

</div>

Yes it is @jayen , however the pathways as part of GTFS complete timetables includes significantly more stations and more detailed information including levels for more complex stations.

---

<div class="post-metadata">

**Author:** ![bryce](https://avatars.discourse-cdn.com/v4/letter/b/8edcca/32.png) [@bryce](https://opendataforum.transport.nsw.gov.au/u/bryce)\
**Post date:** [August 8, 2023, 6:13am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/33 "2023-08-08T06:13:10Z")

</div>

Hi, I’m having issues utilising the GTFS within Open Trip Planner 2.2.0, where the planning engine complains about receiving a type of 1 when it was expecting 0. I’ve been unable to locate where exactly the issue is stemming from, though it appears to be related to a direction ID in the GTFS.

This is a fairly recent issue, as the GTFS was working in June. A screenshot of the error is below.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/nsw/original/1X/3db3c5cfd8dbde5b2bf81143dec24f81ae5f8ae4.png)

---

<div class="post-metadata">

**Author:** ![StevePem](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@StevePem](https://opendataforum.transport.nsw.gov.au/u/StevePem)\
**Post date:** [November 18, 2024, 2:48am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/34 "2024-11-18T02:48:15Z")

</div>

Hi, I am interested in obtaining static historic GTFS feeds, specifically for 2022. I can see that [Timetables Complete GTFS - Dataset - TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/data/dataset/timetables-complete-gtfs) contains the most recent feed, which is is for this month.

And [Greater Sydney GTFS - OpenMobilityData](https://transitfeeds.com/p/transport-for-nsw/237) provides a range of historic static feeds, up to but not past March 2019; while [Mobility Database](https://mobilitydatabase.org/feeds/mdb-1322) provides a static feed for June 2024. It it possible to get others, and in particular for 2022?

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [November 18, 2024, 3:24am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/35 "2024-11-18T03:24:16Z")

</div>

does this work for you? [https://opendata.transport.nsw.gov.au/data/dataset/historical-gtfs-bundles-and-timetables/resource/b2a12506-efd0-4874-9cd0-3cc718954029/view/2278f804-972a-474c-8c00-5bf5cd10a0f5#historical\_gtfs/](https://opendata.transport.nsw.gov.au/data/dataset/historical-gtfs-bundles-and-timetables/resource/b2a12506-efd0-4874-9cd0-3cc718954029/view/2278f804-972a-474c-8c00-5bf5cd10a0f5#historical_gtfs/)

complete\_gtfs/2022 are accessible as subfolders.

---

<div class="post-metadata">

**Author:** ![StevePem](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@StevePem](https://opendataforum.transport.nsw.gov.au/u/StevePem)\
**Post date:** [November 18, 2024, 7:04am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/36 "2024-11-18T07:04:34Z")

</div>

Hi jayen - that is perfect; thank you so much.

---

<div class="post-metadata">

**Author:** ![k4werri](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@k4werri](https://opendataforum.transport.nsw.gov.au/u/k4werri)\
**Post date:** [January 23, 2025, 12:53pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/37 "2025-01-23T12:53:01Z")

</div>

Hi,

I’m wanting to use the GTFS-R real time trip update API to build some historical data to model delays for a simulation. In doing so, I noticed that trip\_id’s that I’m seeing in the the real time feed do not correlate with trip\_id’s in the last version of the bundle I downloaded (admittedly in 2024 sometime).

I see in the Activity Stream tab that there are updates to the bundle almost daily.

Is there a period of time for which the real time feed and the static bundle align? Maybe related to the publication of new timetables?

Or, do I need to download the bundle regularly, perhaps daily, for the bundle data to be the same as the real time feed?

Thanks.

Kevin.

---

<div class="post-metadata">

**Author:** ![balaji\_srm](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@balaji\_srm](https://opendataforum.transport.nsw.gov.au/u/balaji_srm)\
**Post date:** [February 2, 2025, 10:51pm UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/38 "2025-02-02T22:51:56Z")

</div>

Hello Kevin,  
Do you have any examples for above issue for me to check further on this.

regards  
Balaji

---

<div class="post-metadata">

**Author:** ![k4werri](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@k4werri](https://opendataforum.transport.nsw.gov.au/u/k4werri)\
**Post date:** [February 5, 2025, 3:03am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/39 "2025-02-05T03:03:17Z")

</div>

Hi Balaji,

Here are two generated just now.

URL: [https://api.transport.nsw.gov.au/v2/gtfs/realtime/sydneytrains](https://api.transport.nsw.gov.au/v2/gtfs/realtime/sydneytrains)  
feed version 2.0  
run on/at 2025-02-05 13:41:39  
found 553 trip updates

The first two trips in the list of updates are:

trip id: 68-F.487.140.16.M.8.83947524, route id: APS\_1a  
trip id: C190.487.140.8.H.4.83949102, route id: SCO\_2a

Neither of the above trip id’s nor route id’s exist in GTFS Static Bundle (full\_greater\_sydney\_gtfs\_static\_()) that I downloaded on 23-01-2025. In particular, I checked the “trips.txt” and “routes.txt” files. Note that "SCO’ does exist as a “route\_short\_name” in the routes.txt file.

Thanks.

Kevin.

---

<div class="post-metadata">

**Author:** ![jayen](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jayen/32/208_2.png) [@jayen](https://opendataforum.transport.nsw.gov.au/u/jayen)\
**Post date:** [February 5, 2025, 3:45am UTC](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883/40 "2025-02-05T03:45:30Z")

</div>

the “Complete” GTFS doesn’t match realtime. you have to use the “Public Transport - Timetables - For Realtime” [Public Transport - Timetables - For Realtime v2 - Dataset - TfNSW Open Data Hub and Developer Portal](https://opendata.transport.nsw.gov.au/data/dataset/public-transport-timetables-realtime-v2)

[Previous page](https://opendataforum.transport.nsw.gov.au/t/timetables-complete-gtfs/883.md?page=1)
