GTFS: The Transit Data Language

CFA Level III: Wealth Management and Institutional Investing · 3:53

Listen on 93

Lyrics

[Verse 1]
Portland rain, two-thousand-and-five,
Bibiana's got a map that's barely alive,
TriMet's buses wandering blind on the screen,
So she rings up Google with a stubborn little dream
"Let the bus line show up right beside the street,
Let the rider see the curb where the rubber meets"
No contract, no commission, just a shared CSV,
One file became a language the whole world could read

[Chorus]
G is the General blueprint laid in text,
T is for Transit, platform to the next,
F is the Feed, it never goes to sleep,
S is Specification, simple rows to keep
Stops, routes, trips, and time,
Columns in a comma line,
GTFS, the quiet spine
Of every bus you've ever caught in time

[Verse 2]
Open up the folder, find the bones of the thing,
Stops dot text, a pin for every bell you ring,
Routes dot text names the ribbons on the city's chest,
Trips connect a route to a calendar of rest,
Stop times stitch the seconds, when you leave and when you land,
Calendar dot text says which weekday gets the band,
No fancy engine humming, just plain text in a row,
A grammar school kid could read where the number nine will go

[Verse 3]
Fast forward to twenty-eleven, the file learns to breathe,
Static maps were patient, but riders wouldn't believe
A schedule stuck in amber while the bus sits in a jam,
So Realtime wakes it up — vehicle positions, a live-wire telegram,
Arrivals counting downward, a heartbeat on your phone,
Alerts when the red line's broken, a detour all your own,
Street sensors talk to servers, servers talk to you,
The paper timetable's grandchild learned a brand new interview

[Chorus]
G is the General blueprint laid in text,
T is for Transit, platform to the next,
F is the Feed, it never goes to sleep,
S is Specification, simple rows to keep
Stops, routes, trips, and time,
Columns in a comma line,
GTFS, the quiet spine
Of every bus you've ever caught in time

[Bridge]
Now thousands of agencies, publishing the same shape,
Transit, Moovit, Apple, Google, all plotting your escape,
One open grammar, no gatekeeper's toll,
Turned a thousand lonely spreadsheets into a single scroll
And the cousins showed up after — GBFS for the bike you grab,
MDS for scooters scattered loose in every city cab,
WZDx flags the cones where the roadwork starts,
All born from a Portland hunch that data could have heart

[Verse 4]
So when the app says three minutes till your platform six,
Remember the committee arguing over how to fix
A column name, a time zone, a field that someone missed,
That's the unglamorous magic buried in the GTFS list
It's not the flashiest standard, no ribbon, no parade,
Just stops and trips and patience, carefully arrayed,
But cities run a little smoother, commutes a little kind,
Because somebody shared the format instead of staying blind

← Tracking Buses and Trains | Paying for the Ride →