5
submitted 9 months ago by munkkey to c/transport

https://developer.data.gov.my/realtime-api/gtfs-static

Before I delve in to the URL, title and snapshot I attached, I'd like to follow up on this post about data.gov.my dashboards relating to public transport.

Since that post, RapidKL issued a press release to inform a delay in reopening the Bandaraya–Masjid Jamek section, due to the need to repair adjacent viaducts to the badly damaged one. If all goes to plan, service shall resume on February/March 2024.

Other missing data in their dashboards and data catalogue remain the same as previously posted. For instance, search for daily ridership that involves Putrajaya Line station(s) is broken because "data for certain exits on the Putrajaya Line is not yet available." On the other hand, you can search for ridership data on all KTMB Komuter stations for Central Sector (Tanjung Malim–Port Klang, Batu Caves–Pulau Sebang), but not their total trips data for now.


OK, back to topic. This month, the devs have released GTFS static and realtime data for selected Malaysian public transport services. GTFS stands for General Transit Feed Specification, which at the basic level provides transit schedule information. That is probably the key API that powers Google Maps and Moovit.

GTFS Static is quite straightforward to understand. It contains transit stop locations, routes and optionally paths, stop times (as in screenshot), trips and frequency info, and other optional data. Just follow the instruction through the URL I linked to get the ZIP file that contains text files in CSV format. Of course, they only provide estimate times for trips taken, without accounting for operational delays.

I will look into GTFS Realtime in another post.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 16 Nov 2023
5 points (100.0% liked)

Transportation

141 readers
5 users here now

Everything about transportation in Malaysia.

founded 1 year ago
MODERATORS