Monday morning after a service change, and the trip planner still shows the old schedule. Riders show up for a bus that no longer runs at that time, or miss one that now does. Nothing about the new timetable was wrong. The GTFS schedule change that should have shipped alongside it did not, or shipped too late to matter. This happens at more small agencies than any vendor likes to admit. Updating the feed gets treated as a separate step that happens after the real work of planning the new schedule is already done. This piece gives the sequence, the overlap principle behind it, and the four specific things that break when the feed update gets rushed.
When Should You Update a GTFS Feed for a Service Change?
The new feed should publish before the change date takes effect, not on it and never after. Consumers like Google Maps and regional trip planners pull GTFS feeds on their own schedule, sometimes daily, sometimes less often. A feed published on the morning of the change may not reach riders until days later. Publishing several days ahead, with the old and new service periods both present in the same feed, gives every consumer time to catch up before anyone needs the new schedule.
The Overlap Principle
A service change is not a single instant where an old schedule ends and a new one begins in the data. It has to be a period where the feed describes both. The old service continues to run, and stay described, right up to its last real day. The new service starts appearing in the feed before its first real day, so a trip planner that only refreshed yesterday still shows something correct.
This is what calendar.txt and calendar_dates.txt are built to express: multiple service_id values, each with its own date range, coexisting in one dataset. The overlap does not mean two schedules run at once for riders. It means the data describing them overlaps. There is no gap where neither calendar covers a given date, and no window where a stale feed is the only feed available.
The GTFS Schedule Change Sequence
Six steps, in order, keep a service change from turning into a broken feed.
-
Build the new schedule. Finalize routes, trips, and
stop_times.txtfor the service that starts on the change date, as a complete addition rather than an edit to what already exists. -
Create the new service period. Add a new
service_idincalendar.txtorcalendar_dates.txtwith a start date that does not leave a gap after the old service period ends. -
Validate before touching production. Run the new feed through a validator on its own. Check for orphaned references and calendar gaps before it goes anywhere near a live consumer.
-
Publish ahead of the change date. Push the feed to the static URL, or through whatever distribution the agency uses. Leave enough lead time for every consumer to refresh at least once before the change takes effect.
-
Update realtime feeds in step. Confirm the GTFS-Realtime systems reference the new
trip_idvalues, not the retired ones, before the change date arrives. -
Verify after the change. Check the feed as consumers see it, on the change date and again 2 days later, not only in the validator.
Four Things That Break When You Rush
Orphaned trip identifiers. A trip_id gets dropped from the new schedule but is still referenced somewhere else in the pipeline. It might be a saved trip in a rider’s app, a realtime feed still reporting on it, or an internal report keyed to it. The symptom is a trip planner or a dispatch tool throwing an error for a trip that no longer officially exists, or quietly discarding the data instead.
Gaps in the calendar. The old service_id ends one day and the new one starts a few days later, because the new schedule was not ready in time. The symptom is a date with no service defined at all, which most trip planners handle by showing nothing rather than guessing.
Realtime feeds referencing retired trips. GTFS-Realtime trip updates and vehicle positions are keyed to the static feed’s trip_id values. If the static feed changes but the realtime system was not told, it keeps publishing updates for trips that no longer exist in the schedule a rider is looking at. The symptom is a live arrival prediction that a trip planner cannot match to anything, so it gets dropped, or worse, matched to the wrong trip.
Stop identifiers reused for different locations. A stop_id gets recycled for a relocated or renamed stop instead of retired and replaced with a new one. The symptom is subtle and lasts far longer than the other three. Historical data, cached rider favorites, and any system that stored the old stop_id now all point at the wrong physical location, with no error thrown anywhere to catch it.
Keeping Realtime in Step
Static and realtime feeds are two separate systems that have to agree on one thing: what a trip_id means. When a service change retires a trip and creates a new one to replace it, the realtime system needs the same change on the same day. Otherwise it starts reporting live positions and predictions for a trip identifier the static feed no longer recognizes.
This is a common cause of a live tracking map or a real-time arrivals display going quietly wrong right after a service change. It is rarely a bug in the realtime feed itself. Far more often it is a static feed and a realtime feed that fell out of sync for a few days. Read more on how the two feeds relate and where a mismatch tends to surface first.
Verifying After the Change
Checking the feed in a validator before publishing catches structural problems. It does not catch whether Google Maps, a regional trip planner, or the agency’s own website widget actually picked up the new schedule. That takes a second kind of check, done on the change date and again a few days after.
Search a handful of real trips in each consumer the agency’s riders actually use, and confirm the times match the new schedule, not the old one. Check that a stop recently renamed or relocated shows the correct location, not the old one under a reused identifier. If a validator run and a consumer-facing check disagree, believe the consumer-facing check. It is the one riders actually see, and running a feed through the common validation errors is only half of what “correct” means to a rider standing at a stop.
What About a Mid-Season Detour?
A short-term detour is not a schedule change and should not be handled as one. Rerouting a schedule through calendar_dates.txt or a full republish is built for a change that lasts, not a detour of a few days with a known end date. Use realtime detour messaging and service alerts instead, and reserve a static schedule change for service that has genuinely and durably changed.
Treating every detour as a schedule change trains an agency to dread schedule changes. It also trains riders to distrust a feed that seems to update constantly for things that turned out to be temporary.
Where This Fits
TransitFare is a transit technology company founded in 2012 that builds GTFS publishing tools for small and mid-sized transit agencies. In TransitFare Cloud, schedule changes are staged in change packages with an effective date. Any package inside the feed’s 90-day window is already in the published feed before that date, which is the overlap described above. The platform has a strong production reliability record. A software-only rollout typically takes about 4 weeks, or about 12 weeks including hardware.
Many small agencies run this sequence twice a year, once in spring and once in fall. A workflow written down once tends to survive staff turnover far better than one that lives only in the memory of whoever handled the last change.
A schedule change is a recurring event, not a one-time project, and the feed update deserves the same repeatable process as the timetable itself. For the validation step this sequence leans on, see the common GTFS validation errors. For the realtime side that has to move in step, see how GTFS-Realtime works. To build this sequence into a repeatable workflow instead of a scramble twice a year, talk to us about your GTFS.