Question regarding blocks in GTFS data

61 views
Skip to first unread message

Jonathan Shi

unread,
Oct 28, 2026, 7:07:28 AMOct 28
to mtadeveloperresources
Hi,

I am developing a electric transit bus charging forecast from the MTA GTFS data as part of a project with support from NYSERDA. As part of the project, we are examining the work a bus does before returning to the depot and the each bus's schedule.

The current bus feeds include a block ID in every trip. A regular week has a bit over 20,000 of those IDs, and a typical weekday block is around 4 hours. MTA's electrification plan puts the fleet at around 5,900 buses. I would like to understand how those two counts relate.

1. My prior understanding was a bus runs one block per day from the GTFS definition. Can a single bus run multiple blocks within the same calendar day? If it does, is that counted as one or multiple service days for that bus?
2. If/when a bus runs several blocks in a day, is there a way to see which blocks are run by the same bus, or does that link only exist in the scheduling system?

Thanks,
Jonathan

Jayden Lin

unread,
Nov 1, 2026, 4:53:16 PMNov 1
to mtadeveloperresources
A "Block ID" includes all trips from the where the bus leaves the depot to the point it goes back into the depot. A single bus may run multiple "blocks" in a day.

Jonathan Shi

unread,
Nov 5, 2026, 4:22:58 PMNov 5
to mtadeveloperresources
Is there anything in the data that can give an idea of how to connect the blocks a vehicle runs in a day or what a vehicle's activity is day to day across blocks? 

Jayden Lin

unread,
Nov 5, 2026, 4:25:55 PMNov 5
to mtadevelop...@googlegroups.com
There isn't a consistent answer. A bus may have 1 block in a day or even 5. 


— Jayden

--
You received this message because you are subscribed to a topic in the Google Groups "mtadeveloperresources" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mtadeveloperresources/ANrtwvCKUmM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mtadeveloperreso...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mtadeveloperresources/e3a4cdbf-4514-4dab-a758-283a843315e3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages