You post a detour alert, and it does its job: riders reading the app learn the detour exists. The map itself stays wrong. The bus icon still tracks its normal path, the skipped stops still show arrival predictions for buses that will never come, and a rider planning a trip through the closure gets routed straight into it. A text service alert tells riders something changed. It does not fix the map. GTFS realtime trip modifications are the feed entity built to close that gap. They redraw the rerouted path and move the affected stops inside the consumer apps riders already use.
This is a technical explainer for an operations or IT person at a small agency. The goal is a live reroute that renders correctly in trip planners and transit apps, not just a notice a rider has to read and interpret. Every claim below is checked against the GTFS-Realtime reference at gtfs.org, where the entity is documented and still marked experimental.
What Is a GTFS-Realtime Trip Modification?
GTFS-Realtime TripModifications is a feed entity that describes a live reroute in structured form. It says which trips are affected, which stops to skip, which replacement stops to serve, and the new path the vehicle follows. Consumer apps read it to redraw the route shape, relocate stops, and correct predictions while the detour is active, instead of only showing a text notice.
What a Service Alert Cannot Do
A GTFS-Realtime service alert is a message about a disruption: a header, a description, a cause, an effect, and the routes or stops it applies to. It is excellent at telling a rider that Route 7 is detoured on Elm Street. It has no field that changes the geometry of the route, moves a stop, or removes a prediction. What a GTFS-Realtime service alert actually contains is a field-by-field reference, and none of those fields touch the map.
That limit produces three visible failures during a detour that alerts alone cannot fix:
- The path is wrong. The vehicle position feed still reports the bus against its scheduled trip. The icon appears to drive the normal route even while the bus is a block over on the detour.
- Skipped stops still predict. The trip update feed keeps generating arrival times for stops the bus will not serve. A rider waits at a stop no bus is coming to.
- Trip planning routes into the closure. A rider asking the app for a trip gets a plan built on the scheduled route, straight through the segment that is actually closed.
An alert sits on top of all three, unread by the routing engine. TripModifications is the entity that reaches into the routing engine itself.
What GTFS-Realtime Trip Modifications Change in the App
TripModifications works by describing a modification against one or more existing scheduled trips. The app transforms the schedule it already has rather than being handed a whole new trip. Three things change:
| Change | What the entity carries | What the rider sees |
|---|---|---|
| Suppressed stops | A range of the trip’s stops marked to skip | Skipped stops stop showing predictions |
| Replacement stops | New stop references inserted for the detour | Temporary detour stops appear on the route |
| Modified path | A new shape for the rerouted segment | The drawn route line follows the actual detour |
The modified path is the piece a service alert can never supply. TripModifications references a new route geometry so the app can redraw the line the vehicle follows. The moving bus icon and the route shape both track the detour instead of the schedule. The entity edits existing trips rather than inventing new ones. An app that already has the static General Transit Feed Specification (GTFS) schedule can apply the change cleanly and reverse it the moment the detour ends.
Its Experimental Status, and Who Reads It Today
TripModifications is real and released, and it is also still marked experimental in the specification. It was proposed by industry app developers and vendors in 2023 and merged into GTFS-Realtime by the maintainers in 2024, which by specification standards is recent. “Experimental” is not a warning that it is broken; it signals the field definitions may still evolve and that consumer support is uneven.
Uneven support is the honest headline for a small agency deciding whether to publish it. Some consumer transit apps already read TripModifications and render detours from it in production. Others do not yet, and will fall back to the plain service alert. Google Maps support for the entity is still maturing at the time of writing. An agency publishing TripModifications should treat it as an enhancement for the consumers that read it, not a replacement for the alert every consumer already understands. The practical rule: keep publishing the service alert for universal reach, and add TripModifications so the apps that support it can do more with the same detour.
Keeping the Detour Feed in Sync With Dispatch
A TripModifications feed is only correct while the detour it describes is actually in effect, which makes synchronization with dispatch the operational heart of publishing it. A detour has a start, sometimes a change midway, and an end. The feed has to reflect each of those transitions promptly. Otherwise it becomes a different kind of wrong than no feed at all: an app confidently redrawing a reroute that ended an hour ago.
This is the same discipline detours already demand across every system an agency touches. Managing a detour from dispatch covers the order in which the affected systems have to change, and the detour communication playbook covers the rider-facing side. TripModifications adds one more surface that has to stay in step. When dispatch clears the detour, the modification has to leave the feed, so the app snaps back to the scheduled path. The cleanest way to ensure that is to generate the modification from the same detour record dispatch already maintains. A second, manually kept copy can drift out of agreement with reality.
What a Small Agency Needs to Publish It
Publishing TripModifications takes three things, and the first is the one agencies most often lack:
- A clean static GTFS feed. TripModifications edits existing trips and stops by reference, so the static schedule has to be correct and stable first. If your trips, stops, and shapes are shaky, fix those before adding a real-time layer on top.
- A source of truth for the detour. The reroute has to exist as structured data somewhere, ideally the same dispatch record used to run the detour. The feed then reflects the live situation instead of a separate transcription.
- A generator that writes valid entities. The feed has to serialize correct TripModifications, publish it while the detour is active, and remove it when the detour ends. It runs alongside the vehicle position and trip update feeds so the whole picture stays consistent.
Those last two feeds matter here. GTFS-RT vehicle positions and trip updates carry the moving bus and its predictions. TripModifications only looks right when all three agree about which trip is being served and where it goes. For the broader picture of how the three real-time feeds fit together, GTFS-Realtime, explained is the overview.
Where TransitFare Fits
TransitFare is a transit technology company founded in 2012 that builds GTFS-Realtime tools for small and mid-sized transit agencies running 10 to 50 vehicles. Its Real-Time Tracking & CAD/AVL module generates vehicle positions and trip updates in TransitFare Cloud from one trip assignment, so the feeds do not drift apart. It publishes the service alert feed through Transit Alerts; it does not publish TripModifications today. A software-only rollout typically takes about 4 weeks.
TripModifications closes the gap a text alert leaves open, but it does not replace the alert. Keep publishing the alert for universal reach, and add the map-changing feed for the consumers that read it. To publish the alert side reliably alongside it, Transit Alerts writes a spec-correct alert feed automatically, and the service alert reference covers exactly what that feed carries.
FAQ
How Is TripModifications Different From a Service Alert?
A service alert is a text message about a disruption; it cannot change the map. TripModifications is a structured entity that redraws the rerouted path, relocates stops, and suppresses predictions for skipped stops. Use the alert for universal reach and add TripModifications so supporting apps can render the detour correctly rather than only describe it.
Does Google Maps Support GTFS-Realtime Trip Modifications?
Support is still maturing at the time of writing. Some consumer transit apps already render detours from TripModifications in production; others fall back to the plain service alert. Treat the entity as an enhancement for the consumers that read it, and keep publishing the service alert so every consumer still learns the detour exists.
Why Is TripModifications Marked Experimental?
Experimental in GTFS-Realtime signals that the field definitions may still evolve and that consumer support is uneven, not that the entity is broken. It was merged into the specification in 2024, which is recent by specification standards. Agencies can publish it today, provided they keep the service alert running for consumers that do not yet read it.
What Do We Need Before We Can Publish It?
First, a clean, stable static GTFS feed, because TripModifications edits existing trips and stops by reference. Second, a structured source of truth for the detour, ideally the dispatch record itself. Third, a generator that writes valid entities, publishes them while the detour is active, and removes them when it ends. Fix a shaky static feed before adding the real-time layer.