A rider opens a trip planner and types an address near the edge of town. Nothing comes back: no route, no pickup time, no sign that a bus will come if they call ahead. The agency runs a real service there: 6 vehicles covering the same footprint as three fixed routes. Standard General Transit Feed Specification (GTFS) has no way to describe a trip without a fixed line or a fixed time. The extension built to close that gap is GTFS-Flex. This piece covers what it adds, what today’s trip planners actually do with it, and whether a small demand-response operation gets enough back to justify the work.
What Is GTFS-Flex?
GTFS-Flex extends GTFS with files and fields for demand-responsive service. It adds booking rules instead of a fixed timetable, a service area instead of fixed stops, and a pickup or drop-off window instead of one scheduled time. It lets dial-a-ride, route deviation, and zone service appear in a trip planner the way a fixed route already does.
Flex is no longer a side project. Its files sit inside the same gtfs.org schedule reference as stops.txt and routes.txt, not in a separate document a producer has to track down. The files are optional. But they are validated by the same tools, and read by the same reference, that a fixed-route feed already uses.
What Standard GTFS Cannot Express
Fixed-route GTFS makes three assumptions demand-response service does not fit. A trip follows a defined sequence of stops in stop_times.txt. Each stop is a fixed point with its own latitude and longitude. And a trip departs at a scheduled time a rider can read off a timetable.
Dial-a-ride has none of that. A rider might be picked up anywhere inside a zone, not at a stop. Route deviation service runs a fixed path most of the time and leaves it on request, so the route is not really fixed at all. Zone service has no stops in the geographic sense, only a boundary and a phone number.
Most small agencies solve this by leaving the demand-response side out of the feed entirely. Or they list it as one symbolic stop that tells a rider nothing about whether a vehicle will actually reach their block. Either way, the service runs every day and shows up in no trip planner. That is not an abstract data gap. It is a rider standing outside with a phone, and a trip planner with no answer for them.
What GTFS Flex Adds
Four kinds of information carry the weight of describing demand-response service.
Service areas. locations.geojson defines a zone as a polygon rather than a point. location_groups.txt can bundle several stops together when a rider can be picked up at any of them. A dial-a-ride catchment area, drawn as a shape, replaces the fiction of a single stop standing in for a whole town.
Booking rules. booking_rules.txt describes how far ahead a trip has to be requested and how to request it. That might be same-day by phone, through a booking link, or with a fixed lead time set in the agency’s own policy. This is the file that lets a trip planner tell a rider “you can request this trip” instead of showing nothing at all.
Pickup and drop-off windows. Instead of a single scheduled time, stop_times.txt can carry a start_pickup_drop_off_window and an end_pickup_drop_off_window. Together they give the span during which a vehicle might realistically arrive. That is closer to how demand-response service actually behaves than any single timestamp could be.
Deviation. Route deviation service runs a fixed path most of the time and leaves it on request, within a defined buffer. It is modeled by combining a service area around the regular route with the same booking rules used for dial-a-ride. The fixed and flexible halves of one route then live in a single feed instead of two disconnected descriptions.
None of this replaces dispatch software. It describes, for a rider or a trip planner, what the service is capable of doing. It exists alongside whatever scheduling and dispatch a demand-response operation already runs internally.
What Consumer Apps Do With It Today
Here is the honest state of it. Flex data validates cleanly. Several open-source and specialist tools consume it. Regional and multimodal trip planners in a handful of areas already use it to show that a demand-response zone exists. That is real progress from where the extension stood a few years ago.
It is not the same as rider-facing adoption at Google Maps scale. Widely used consumer trip planners do not yet route or book a flexible trip end to end from Flex data the way they handle a fixed-route journey. Where Flex data shows up today, it more often surfaces as “this area has demand-response service, contact the agency to book,” not as a completed booking a rider can request from inside the app. A transit director publishing Flex data now is publishing ahead of the market, not catching up to it. That makes it worth being precise about what publishing buys today and what it sets up for later.
Is It Worth Publishing for a 6-Vehicle Service?
Usually, yes, for a narrower reason than “riders will book through Google Maps tomorrow.” A small agency publishing GTFS-Flex today buys two things, and rider-facing booking is not yet one of them. The service finally exists in the same data ecosystem as everything else the agency reports, and the agency is positioned the moment adoption does arrive, instead of starting from zero.
Where it is genuinely not worth it yet: an agency that has not published fixed-route GTFS should do that first. An agency with a single vehicle and an entirely informal booking process is a poor candidate too. If the service area changes month to month, keeping the Flex files accurate costs more than the rider-facing benefit currently returns. Flex data that goes stale is worse than no Flex data at all, for the same reason a wrong stop location is worse than a missing one.
For a 6-vehicle operation running a defined zone or a defined deviation buffer, with a real booking policy behind it, the effort is modest relative to the benefit of being counted, described, and discoverable at all.
What It Takes to Produce
The upfront work is mapping the service area, usually a polygon drawn once and revised only when the zone changes. The other piece is documenting the booking policy that already exists in the dispatcher’s head, as fields in booking_rules.txt. Neither requires new software if the agency already produces fixed-route GTFS. It requires the same discipline applied to a part of the operation that has never had to be this precise before.
The ongoing work is lighter than the fixed-route feed’s, because the geography and the booking policy do not change often. It needs the same trigger as any other GTFS update: when a zone boundary moves, when a booking lead time changes, or when a deviation buffer is redrawn, the Flex files move with it. For an agency already comfortable maintaining a feed, updating a service area or a booking rule is usually a matter of days, not weeks. An agency already running a disciplined process for publishing and updating GTFS only adds a new file set to a workflow it already has.
Where This Fits
TransitFare is a transit technology company founded in 2012 that builds GTFS publishing tools for small and mid-sized transit agencies. TransitFare Cloud produces the fixed-route GTFS schedule and GTFS-Realtime feeds without a dedicated GTFS engineer on staff; it does not generate GTFS-Flex files today. Over 90% of customers expand to additional modules. A software-only rollout typically takes about 4 weeks.
Demand-response service has been the invisible half of small-agency transit for as long as GTFS has existed. Flex does not fix that by itself. Publishing accurate, current Flex data is what starts to. See how it fits alongside the rest of a small-agency data practice on the GTFS guide. The small transit agency solutions page covers how it fits an agency’s broader technology plan. To talk through what a 6-vehicle or a 60-vehicle demand-response operation specifically needs, talk to us about your GTFS.