Data examples

These GTFS Data Examples are meant to ease comprehension of the GTFS specification and its different extensions. They provide data samples based on real-life transit systems throughout the world. These examples have been generated by MobilityData in order to facilitate both production and consumption of GTFS data by anyone. The GTFS-ContinuousStops feature doesn't support Fare at the moment.

Example A: Pickup and drop-off everywhere

Source: Schedules available at the MOOver's bus schedules page.

The transit agency, MOOver (Rockingham, US-VT), applies a continuous-stop policy on route 2, 53, and 55. A rider can request to be picked up or dropped off between scheduled stops along the route at the nearest safe location.

The following is example data for GTFS-ContinuousStops :

File routes.txt

route_id route_short_name route_long_name route_type continuous_pickup continuous_drop_off
2
2 Bellows Falls In-Town 3 0 0
53
53 Bellows Falls / Brattleboro Commuter 3 0 0
55
55 Bellows Falls / Springfield Shuttle 3 0 0

Some pickups or stops may require coordination between the driver and the rider. This includes hand waving to stop, or asking the driver to stop. The data below demonstrates how to make it explicit that there requires some form of coordination between the driver and the rider:

File routes.txt

route_id route_short_name route_long_name route_type continuous_pickup continuous_drop_off
2
2 Bellows Falls In-Town 3 3 3
53
53 Bellows Falls / Brattleboro Commuter 3 3 3
55
55 Bellows Falls / Springfield Shuttle 3 3 3

Example B: Continuous pickup and drop-off on part of the route

Source: PDF schedule available at Victor Valley Transit .

The transit agency Victor Valley Transit (Victorville, US-CA) applies a continuous-stop policy on some sections of route 22. A rider may board and get off the bus in any safe location within the County Fare zone. This behavior isn't allowed within the Local Fare zone. On northbound trips, bus 22 starts in the Local Fare zone at Victorville Transfer Center (A) and ends in the County Fare zone at Silver Lakes Market (E).

Example of Continuous pickup and drop-off on part of a route.

Example B1: Continuous pickup and drop-off starting from a scheduled stop

National Trails Highway - Air Expressway is the first scheduled stop in the County Fare zone, where continuous pickup and drop-off is available.

The following is an example of GTFS-ContinuousStops data for bus 22:

File stops.txt

stop_id stop_name stop_lat stop_lon
A
Victorville Transfer Center 34.514356 -117.318323
B
Dante St & Venus Ave 34.564499 -117.287097
C
Victorville Transportation Center 34.538433 -117.294703
D
National Trails Highway - Air Expressway 34.567536 -117.319716
E
Oro Grande Post Office 34.599292 -117.334452
F
Silver Lakes Market 34.744662 -117.335407

File stop_times.txt

trip_id stop_id stop_sequence departure_time arrival_time continuous_pickup continuous_drop_off
22NB9AM
A 1 09:00:00 09:00:00 1 1
22NB9AM
B 1 09:14:00 09:14:00 1 1
22NB9AM
C 1 09:21:00 09:21:00 1 1
22NB9AM
D 1 09:25:00 09:25:00 0 0
22NB9AM
E 1 09:31:00 09:31:00 0 0
22NB9AM
F 1 09:46:00 09:46:00 0 0

Example B2: Continuous pickup and drop-off starting between two scheduled stops

Victor Valley Transit defines the boundary between the Local Fare zone and the County Fare zone as the road Air Expressway . The scheduled stop National Trails Highway - Air Expressway is located slightly north of this boundary. For accuracy, the transit agency can add a stop at the actual intersection of the bus route with the boundary, where the continuous pickup and drop-off is available. This stop might remain unscheduled.

The following is a data example of GTFS-ContinuousStops and timepoints for adding an unscheduled stop:

File stops.txt

stop_id stop_name stop_lat stop_lon
A
Victorville Transfer Center 34.514356 -117.318323
B
Dante St & Venus Ave 34.564499 -117.287097
C
Victorville Transportation Center 34.538433 -117.294703
X
Local Fare/County Fare Boundary 34.566224 -117.318357
D
National Trails Highway - Air Expressway 34.567536 -117.319716
E
Oro Grande Post Office 34.599292 -117.334452
F
Silver Lakes Market 34.744662 -117.335407

File stop_times.txt

trip_id stop_id stop_sequence departure_time arrival_time continuous_pickup continuous_drop_off
22NB9AM
A 1 09:00:00 09:00:00 1 1
22NB9AM
B 1 09:14:00 09:14:00 1 1
22NB9AM
C 1 09:21:00 09:21:00 1 1
22NB9AM
X 1 0 0
22NB9AM
D 1 09:25:00 09:25:00 0 0
22NB9AM
E 1 09:31:00 09:31:00 0 0
22NB9AM
F 1 09:46:00 09:46:00 0 0