A rider takes a small county bus to a transfer point, then boards a neighboring agency’s route into the city. In an app, that trip only appears as one journey if both agencies’ schedules live in the same dataset. That dataset is a regional GTFS feed: a single General Transit Feed Specification file that merges several agencies’ service into one. Done well, it makes cross-boundary trips plannable. Done naively, the merge quietly corrupts stops and IDs in ways no single agency notices.
This covers what a regional feed is and who needs one, and why regions merge instead of publishing separately. It then covers what breaks in a naive combine, how transfers and fares survive the merge, and who owns the result. It is written for the MPO staffer or the cluster of small agencies weighing the effort.
What Is a Regional GTFS Feed and Who Needs One?
A regional GTFS feed is one combined dataset that merges several agencies’ schedules into a single General Transit Feed Specification file. Metropolitan planning organizations, regional transit authorities, and clusters of small agencies need one so riders can plan trips that cross agency boundaries in a single app. The region also distributes one feed instead of many.
The Bay Area’s 511 system is the reference example. It merges the feeds of dozens of agencies into one regional dataset for the region’s metropolitan planning organization, with cross-agency detail down to fares and station pathways. You do not need to be that large. Any region where riders regularly transfer between two or three small operators has the same core problem. Separate feeds mean separate trip plans, and a rider has to stitch the connection together by hand.
Why Merge Instead of Publishing Each Agency Separately?
Each agency can publish its own feed, and many should keep doing so. Merging solves a different problem: the trip that no single feed can describe.
When two agencies publish separately, a trip planner sees two disconnected networks. It can route within County A and within City B, but it has no basis for connecting them at the shared transfer point, because neither feed knows the other exists. A merged feed puts both networks in one graph, so the planner can find the transfer and present one itinerary. The data argument for integration covers this logic for a single agency’s internal data. A region is the same argument one level up.
The second reason is distribution. One authoritative feed is simpler for every downstream consumer to ingest than a scattered set of agency URLs. Where your GTFS feed actually goes maps that chain: catalogs, Google, Apple, and transit apps all prefer one clean regional source over hunting down each agency individually.
What Breaks When You Combine Feeds (ID Collisions, Duplicate Stops, agency.txt)?
Naive merging fails in predictable, silent ways, because GTFS IDs are only unique within one feed, not across feeds. Combine two feeds without care and the errors are structural.
- ID collisions. Two agencies both use
route_1orstop_100. Merge them and one silently overwrites the other, or trips point at the wrong stop. The fix is feed-scoped IDs: prefix every ID with an agency code soA:route_1andB:route_1stay distinct. - Duplicate stops. A shared transfer hub appears once per agency, at slightly different coordinates, so the map shows two stops where riders see one. Deduplicating these correctly is the hardest part of any merge. Getting stops.txt right covers the stop modeling that makes or breaks it.
- agency.txt. A single-agency feed can omit
agency_id. A merged feed cannot. Every route must name its agency, or the combined feed has no way to attribute trips.agency.txtbecomes mandatory and everyroutes.txtrow must reference it.
None of these throw an obvious error at first. A validator may pass the file while a rider gets a broken trip plan. That is why regional merges are run as a maintained, validated pipeline rather than a one-time script.
How Do Cross-Agency Transfers and Fares Get Modeled After a Merge?
Merging the schedules is only half the value. The trips riders actually take cross agencies, so the feed has to describe those crossings, and GTFS has the fields for it.
Transfers between agencies are modeled in transfers.txt. It links a stop or route on one agency to a stop or route on another, and can encode a minimum connection time. This is what tells a planner that the county bus and the city route meet at the same hub and how long the walk between them takes. Without it, the planner may show an impossible 60-second transfer, or miss the connection entirely.
Fares are harder and increasingly handled by GTFS-Fares v2, which can express what a cross-agency trip actually costs, including transfers between operators. The Bay Area regional feed uses Fares v2 for exactly this. It is genuinely complex, and honestly, many small regions start with schedules and transfers first and add fare modeling once the merge itself is stable. Getting the map right before the money is a reasonable sequence.
Who Owns and Maintains the Merged Feed?
Someone has to run the pipeline every day, and that ownership question is where regional feeds succeed or fail. The merged feed is only as current as its least-updated input. If one agency changes service and the pipeline does not pick it up, the regional feed is wrong for everyone.
Usually the MPO, a regional authority, or a shared vendor owns the merge, while each agency remains the source of truth for its own service. That division needs to be explicit: who runs the daily combine, who validates the output, and who each agency notifies about a service change. Who owns your GTFS data covers the ownership and access questions this raises, and they matter more in a shared feed than a single one. For agencies without the staff to run this themselves, including many tribal and rural operators, joining a region’s existing pipeline is often more realistic than building one.
FAQ
Do Agencies Stop Publishing Their Own Feeds After a Regional Merge?
Not necessarily. Many keep their own feed for agency-specific uses while also contributing to the regional one. The regional feed is what makes cross-agency trips plannable and simplifies distribution. It does not require an agency to give up its individual feed unless the region decides to consolidate.
Why Can’t I Just Zip Several Feeds Together?
Because GTFS IDs are only unique within one feed. Zipping feeds together collides IDs, duplicates shared stops, and produces a file that may validate while still giving riders broken trip plans. A correct merge re-scopes every ID, deduplicates stops, and rebuilds the relationships between agencies.
Does a Regional Feed Help Riders See the Region in Google and Apple Maps?
Yes. One authoritative regional feed is easier for Google Maps, Apple Maps, and transit apps to ingest than many scattered agency feeds. It lets those apps plan trips that cross agency lines. See where your GTFS feed actually goes and how to publish GTFS to Apple Maps for the downstream steps.
How Often Does a Regional Feed Need to Be Rebuilt?
As often as its inputs change, which in an active region is daily. The Bay Area’s regional feed rebuilds every day from its agency inputs. The feed is only as current as its least-updated source, so the merge runs as a scheduled pipeline, not an occasional manual job.
Where TransitFare Fits
TransitFare is a transit technology company founded in 2012 that builds GTFS production and hosting for small and mid-sized transit agencies running 10 to 50 vehicles. TransitFare Cloud is a fully standalone GTFS producer for complex schedules, interlining, and holiday service, and it hosts feeds at a permanent URL. The platform has a strong production reliability record and has processed 60 million+ fare validations since 2012. A clean, validated source feed is the best thing a single agency can bring to a merge, because the regional pipeline is only as good as its inputs. A software-only rollout typically takes about 4 weeks. See GTFS publishing in TransitFare Cloud, the GTFS guide, or feed hosting and uptime for keeping that source reliable.