A GTFS-based data transit network data standard suitable for dynamic transit modeling.
  • Jupyter Notebook 72.5%
  • Python 27.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Diana M. Dorinson c675f8c860 Add file & note to README; add new var to agency.txt; misc text cleanup throughout (#57)
* Cleanup names+intra-repo links; few table changes

1. Corrected remaining instances of "fare_rules_ft.txt" to reference "fare_periods_ft.txt"
2. Corrected variable names cited in text descriptions from "origin_zone" to "origin_id" (same for "destination_")
3. Fixed file links that were pointing to wrong level in directory tree
4. Changes to content of example tables under "Systemwide Fare" and "Inter-agency Fare..." to match what seems to be intended from the text

* Minor typo

* Minor typo

* Minor typos

* Minor typo

* Minor typos on last table row

* Edits to address main repo Issue#54

This file contains all possible edits to handle inconsistencies flagged in https://github.com/osplanning-data-standards/GTFS-PLUS/issues/54.  Once that is resolved, come back and review to confirm which changes stay/go.  Then merge into patch-2 branch for big pull request back to osplanning-data-standards repo.

* Clarify descriptions; fix table MD

* Add links to files w/in this repo

* Int -> Integer

* Add URL for ISO 639 codes

* Punctuation & capitalization

* Add optional "agency_email" per GTFS main spec

Field added in Feb-2016.  See https://developers.google.com/transit/gtfs/reference/#agencytxt

* Add "fare_attributes.txt" to optional files list

* Specify data type for cost variables

* Punctuation, file links, & other misc cleanup.

* Add footnote re: fare_attributes files

* One more URL
2018-06-12 16:06:53 -07:00
files Add file & note to README; add new var to agency.txt; misc text cleanup throughout (#57) 2018-06-12 16:06:53 -07:00
tools Add GTFS to GTFS_PLUS tool and tutorial 2017-06-27 09:11:23 -07:00
fares.md Add file & note to README; add new var to agency.txt; misc text cleanup throughout (#57) 2018-06-12 16:06:53 -07:00
LICENSE Initial commit 2015-10-02 13:30:31 -07:00
README.md Add file & note to README; add new var to agency.txt; misc text cleanup throughout (#57) 2018-06-12 16:06:53 -07:00
variables.md Added specification v0.1.0 2015-10-04 11:11:58 -07:00

GTFS-Plus

A GTFS-based data transit network data standard suitable for dynamic transit modeling.

version: 0.4.1 updated: 28 June 2017 .   created: 09 July 2015
authors:

  • Stefan Coe (Puget Sound Regional Council)
  • Elizabeth Sall (UrbanLabs LLC)
  • Lisa Zorn (LMZ LLC)
  • Drew Cooper (San Francisco County Transportation Authority)

NOTE: This is a draft specification and still under development. If you have comments or suggestions please file them in the issue tracker. If you have explicit changes please fork the git repo and submit a pull request.

Changelog

  • 0.1.0: initial commit; Technical Memo Documentation
  • 0.2.0: added additional required fields to transfers_ft.txt in order to support route-specific transfers and time-point precedence. Technical Memo Documentation
  • 0.2.1: changed time to be specified as HH:MM:SS from midnight instead of HH:MM:SS to be consistent with GTFS
  • 0.2.2: updated file names that are not GTFS to ALL have _ft extension.
  • 0.2.3: added optional file bike_access_ft.txt
  • 0.2.4: decreased ambiguity in transfers_ft.txt and changed fields related to schedule creation to be optional.
  • 0.2.5: consolidated knr_ft.txt and pnr_ft.txt into drive_access_points_ft.txt
  • 0.2.6: make costs in consistent values across the specification, as defined in fare_attributes_ft.md. Fixes link to fare_attributes_ft.txt.
  • 0.2.7: eliminates fare_class as an optional variable in routes_ft.txt to eliminate ambiguity
  • 0.2.8: requires transfers_ft because it has distance. Blank schedule_precedence is no precedence either way. Defaults times in fare_rules_ft can have label default.
  • 0.2.9: many clarifications. Use lot_lon rather than lot_long in drive_access_points_ft for GTFS consistency.
  • 0.3.0: clarifications. Changed definition of end_time. Renamed fare_class to fare_period. Made optional files optional.
  •  0.4.0: Adds dwell time formulas and variables needed to calculate dwell time based on the Transit Capacity and Quality of Service Manual .
  • 0.4.1: Updates vehicles_md descriptions to clarify dwell time defaults and blanks.

Specification

A GTFS-PLUS transit network consists of required and optional data files that together describe a network of transit service. Files not denoted with _ft follow the same format as the General Transit Feed Specification - GTFS.

A GTFS-PLUS transit network MUST include the following files:

Filename Description
walk_access_ft.txt walk access links
transfers.txt transfer links
transfers_ft.txt additional transit link information
trips.txt transit vehicle trips
trips_ft.txt additional transit vehicle trip information
routes.txt transit routes
routes_ft.txt additional transit route information
stops.txt transit stops and stations
stop_times.txt transit trip stop times
vehicles_ft.txt transit vehicles
agency.txt transit agency
calendar.txt transit schedule calendar

A GTFS-PLUS transit network MAY include the following files:

Filename Description
drive_access_ft.txt drive access links
bike_access_ft.txt bike access links
drive_access_points_ft.txt park and ride access links; must be included if provide drive access links.
shapes.txt transit route shape points
stops_ft.txt additional transit stop and station information
stop_times_ft.txt additional transit trip stop time information
fare_attributes.txt fare attributes (see note below)
fare_attributes_ft.txt fare attributes (see note below)
fare_rules.txt fare rules
fare_periods_ft.txt additional fare rules
fare_transfer_rules_ft.txt fare transfer rules
zones_ft.txt zone locations

Note: fare_attributes_ft.txt is an extended version of the optional GTFS file fare_attributes.txt that allows for representation of time-of-day pricing (e.g., peak surcharges). Both files are documented here in this repository for completeness, but only one of the two is needed for a given implementation of GTFS-PLUS.

Fares

Examples of how to specify various fare schemes can be found in the fares page.