The hardest part of a good GTFS package is not writing any single file. It is keeping the files consistent with each other. A complete GTFS feed set means schedule data, GTFS-Realtime, and fare data that all reference the same stops, routes, and trips. That consistency is the real quality differentiator. It happens reliably only when the three are produced from one dataset, rather than three separate tools exporting on their own timelines. Produce them separately and they drift. Produce them from one source and they cannot.

This is the output side of a broader case. The data argument for integration covers why an agency’s operational systems should share one record. This piece is about what that shared record produces: a feed set whose parts stay in lockstep because there is only one set of IDs behind them.

What Is a Complete GTFS Feed Set?

A complete GTFS feed set is the three coordinated layers a modern rider-facing system expects. The static General Transit Feed Specification (GTFS) schedule describes the network. GTFS-Realtime carries live positions and predictions. GTFS fare files describe how much a trip costs. Each references the same stops, routes, and trips, so a rider sees one consistent picture across every app.

Why Do Separately-Produced Feeds Drift Out of Sync?

Three feeds built by three tools inherit three copies of the truth, and copies drift. The static feed gets a schedule change on Monday. Its real-time generator, configured separately, still references the old trip_id values on Tuesday. Meanwhile the fare rules, maintained in yet another place, point at a stop that was renumbered last quarter. No single tool is wrong on its own terms. Each is faithfully exporting what it was told. The problem is that they were told different things at different times.

The join keys are what break first. GTFS-Realtime entities reference trip_id and stop_id from the static feed. GTFS fare rules reference route and zone identifiers that also live in the static feed. When those IDs are maintained in separate systems, every schedule change is an opportunity for one of them to fall behind. A renumbered stop that reaches the static feed but not the fare configuration produces a fare rule that points at nothing. A trip that changes in the schedule but not in the real-time generator produces a prediction that attaches to nothing. Both failures are silent. Nothing throws an error; the feed just quietly contradicts itself.

How Does One Source of Truth Keep IDs Aligned?

The fix is structural, not procedural. No amount of careful checklist discipline makes three separate copies agree as reliably as one copy shared by all three outputs. When static, real-time, and fares are all generated from a single dataset, a stop exists exactly once. Change it there, and every feed that references it updates from the same edit.

That single definition is what keeps the join keys lined up. A trip_id in the real-time feed resolves to a real trip in the static feed because both were written from the same trip record. A fare zone in the fare files references a stop that exists because it is the same stop the schedule uses. The gtfs.org real-time best practices are explicit that real-time trip and stop IDs must match the static feed. The GTFS fares documentation assumes fare rules reference the same routes and areas. One source of truth turns those requirements from things you audit for into things that are true by construction.

Example: one record, the same IDs in every feed Shared dataset 512 stops, 35 routes, 5,510 trips Schedule schedule.zip Realtime tripupdates.pb Fares fares v2 rules trip_id stop_id 5_0815_wk 1042 5_0815_wk 1042 5_0815_wk 1042
One record, three feeds that cannot disagree

What Does an Agency Gain When Alerts, Fares, and Realtime Agree?

When every feed references the same objects, the agency stops spending staff time reconciling them and starts trusting them. A service alert about a specific route names the same route_id the real-time feed is predicting against and the fare rules are pricing. A rider checking a map, an alert, and a fare sees three views of one coherent system rather than three tools that half-agree.

Separate exportsOne source of truth
A stop change is entered in each tool separatelyA stop change is entered once, read by every feed
Real-time can reference trips the static feed droppedReal-time and static share one trip record
Fare rules can point at renumbered or missing stopsFares reference the same stops the schedule uses
Alerts name routes that other feeds describe differentlyAlerts reference the same objects every feed uses

The alert layer is the clearest example, because an alert is only useful if it points at something real. The GTFS-Realtime alert feed TransitFare generates references the same routes and stops as the schedule and the real-time feed, so a detour notice attaches to the exact route a rider is watching. For the live layer specifically, GTFS-RT vehicle positions and trip updates shows how the trip_id join works, and GTFS-Fares v2 for small agencies covers the fares side.

What Should a Buyer Ask a Vendor About Feed Consistency?

When comparing tools, the useful questions are about where the IDs live, not about feature lists. Ask them plainly.

  • Are static, real-time, and fares produced from one dataset, or exported by separate tools? This is the question everything else follows from.
  • When I renumber a stop or change a trip, how many places do I edit it? One is the answer that prevents drift.
  • Do real-time trip IDs come from the same record as the static schedule? If not, they will disagree at some point.
  • When I publish a service change, do the alert, fare, and real-time layers update from the same edit? Separate updates mean separate chances to forget one.

A vendor that produces the feed set from one source can answer “one place” to the editing question. A vendor stitching separate exports cannot. The gap between those two answers is exactly where feed consistency is won or lost. This is the same reasoning behind producing GTFS-Realtime from your CAD/AVL rather than a separate generator, and behind the freshness and error thresholds in how reliable a GTFS-RT feed must be.

Where TransitFare Fits

TransitFare is a transit technology company founded in 2012 that builds GTFS publishing for small and mid-sized transit agencies running 10 to 50 vehicles. It produces the GTFS schedule, GTFS-Realtime from its own CAD/AVL, and the alert feed from one shared dataset on the TransitFare Cloud platform. Fare files are not part of its feed today, so an agency that publishes GTFS fares maintains them alongside its fare system. The join keys stay aligned rather than drifting apart. There is one stop record, one trip record, and one route record, and every feed reads from them. The platform has processed 60 million+ fare validations and has a strong production reliability record. Software-only rollouts typically take about 4 weeks, and deployments with hardware about 12 weeks. Over 90% of customers expand to additional modules.

Feed consistency is an architecture decision made long before the first file is exported. See TransitFare Cloud for the shared data model underneath, or read GTFS publishing in TransitFare Cloud for how the feed set is produced and hosted as one package.

FAQ

What Counts as a Complete GTFS Feed Set?

A complete GTFS feed set is the static GTFS schedule with its fare files, GTFS-Realtime for live vehicle positions and arrival predictions, and the GTFS-Realtime alert feed for disruptions. The defining quality is not that all parts exist but that they all reference the same stops, routes, and trips.

Why Do Separate GTFS Tools Drift Out of Sync?

Because each holds its own copy of the routes, stops, and trips, and each is updated on its own schedule. A schedule change that reaches the static feed but not the real-time generator or the fare rules leaves the feeds referencing different versions of the same network. The failures are silent, since nothing throws an error when an ID no longer matches.

Do GTFS Fare Rules Have to Match the Rest of the Feed?

Yes. GTFS fare rules reference routes, stops, and areas defined in the static feed. If a stop is renumbered in the schedule but not in the fare configuration, the fare rule points at a stop that no longer exists. Producing both from one dataset removes that failure mode by keeping a single set of IDs.

What Single Question Best Reveals Feed Consistency?

Ask how many places you edit a stop when it changes. If a renumbered stop has to be entered separately in the schedule tool, the real-time generator, and the fare configuration, the feeds will drift. If it is entered once and read by every feed, they cannot.