TransitAI Core

GTFS-Realtime

The network, right now.

GTFS-Realtime is the live companion to the timetable. It says where vehicles are and how the schedule is holding up.

Three kinds of message.

  1. Vehicle positions

    Where each vehicle is at this moment, drawn from vehicle location.

  2. Trip updates

    Predicted arrival and departure times, including delays and cancellations.

  3. Service alerts

    Detours, closures and other disruptions riders should know about.

Messages are encoded with Protocol Buffers, a compact binary format, and each one points back to a trip or stop in the GTFS timetable.

In TransitAI Core it is the contract for live data: what comes down the streaming lane is shaped to match it.

↑ ↓ to move · ↵ to open · esc to close