AwesomeList

444 awesome lists. 23 categories. 409 curators. I feel lucky.
Miscellaneous

Transit

Community list of transit APIs, apps, datasets, research, and software 🚌🌟🚋🌟🚂

awesomeawesome-listbusdatasetsgtfsgtfs-feedgtfs-filesgtfs-realtimegtfs-validatorlistrealtime-datatoolstransittransit-agenciestransit-datatransit-map

CUTR-at-USFCUTR-at-USF/awesome-transitUpdated Fresh 451 50 82

Contents

awesome-transit Awesome RSS

Community list of transit APIs, apps, datasets, research, and software 🚌🌟🚋🌟🚂

Have something to add or change? Open a pull request or issue.


Table of Contents

Getting started

If this is your first time dealing with transit data, you might find these links useful:

  • GTFS - A GTFS feed is a group of text files that contains infrequently changing transit data, like stops, routes, trips, and other schedule data. Transit agencies typically update their GTFS feed every few months.
  • GTFS Realtime - GTFS Realtime consists of three binary files that contain realtime vehicle positions, realtime arrival information, and service alerts. Transit agencies typically update these files every minute.
  • TransitFeeds - List of GTFS/GTFS-realtime data feeds from around the world. If you're trying to get realtime data for some agency, this is a good place to start.
  • World Bank - "Intro. to GTFS" online course - A free, online, self-paced course for learning about GTFS and GTFS-realtime.
  • Open Transit Data Toolkit - A series of lessons to help people utilize open transit data.

Community

Places to ask questions and find other community resources.

Data

Places to access collections of GTFS and other transit and multimodal data

3rd party GTFS URL directories

  • Transitland - Community editable list of many transit agency GTFS datasets. Also provides an API to access the data as JSON/GeoJSON and a playground to try out the data.
  • TransitFeeds - List of GTFS and GTFS-RT feeds. Archives and validates the GTFS feeds and allows you to preview both GTFS and GTFS-RT through the browser.
  • GTFS Data Exchange (Deprecated) - Formerly the definitive directory of GTFS feed URLs. Shutdown in 2016. But 93 GB of data from 2008 to 2016 is available upon request.

Transit agency data archives

  • CapMetrics - Historical vehicle locations for Austin's transit agency (CapMetro). Data is collected by capmetricsd, a Go daemon.

U.S. Federal Government

  • National Transit Database - Information and statistics on the transit systems of the United States, run by the Federal Transit Administration.

Proprietary (non-standard) vendor APIs

  • Transport API - REST API for aggregated transit data for the United Kingdom. Fee-based access.
  • TransLoc OpenAPI - REST API for real-time vehicle, route, stop, and arrival data for over 60 transit systems in the United States that have purchased TransLoc's AVL hardware and software.
  • NextBus API - REST API for real-time vehicle, route, stop, and arrival data for agencies that have puchased NextBus's hardware and/or software.
  • Navitia.io - REST API for journey planning, stop schedules, isocrhons and lot more on US and EU. Navitia is the opensource engine behind the live API.
  • CityBikes - REST API for aggregated bikeshare data from around the world. Powered by pyBikes.

Software for Creating APIs

Software that you can set up to provide an API to transit and multimodal data.

  • OneBusAway - A Java app that consumes GTFS and GTFS-Realtime (along with other formats) and turns them into an easy to use REST API.
  • OpenTripPlanner - An open source platform for multi-modal and multi-agency journey planning, as well as returning information about a multi-modal graph (using data sources such as GTFS and OpenStreetMap).
  • TransitClock - Java application that can consume raw vehicle positions and generate prediction times in formats such as GTFS-realtime. Formerly known as "Transitime".
  • Linked Connections - An open-source, scalable intermodal route planning engine, which allows clients to execute the route planning algorithm (as opposed to the server). Uses GTFS data.
  • TransiCast - Provides public transportation data for North America in a single, integrated call and response format. The data is provided in stream-parsable XML and JSON formats. Open-source on Google Code. Hosted version at www.transitcast.com requires payment.
  • gtfs-server - A web server, written in Rust that uses PostGIS as a backend to serve GTFS data via a HTTP endpoint
  • Navitia is the opensource engine behind the Navitia.io live API.
  • pyBikes - Software powering CityBikes for worldwide bikeshare system info

Agency Tools

Tools for transit agencies. See also GTFS Tools for tools specific to GTFS.

  • Remix - A webapp that lets transit agencies easily plan routes.
  • AC Transit RestroomFinder - Pinpoints the nearest authorized restroom for bus operator and field staff, using GPS and on-screen map.
  • AC Transit Training and Education Department (TED) application - This application supports the District's training operations for transportation and maintenance employees, primarily in the positions of Bus Operators and Heavy Duty Coach Mechanics (Apprentice and Journey), although the system supports new courses and apprenticeship programs.
  • AC Transit Customer Relations application (CusRel) - Public transit ticketing system for customer issues and feedback with: inter-departmental routing with notifications, department/person assigments, simple workflow, ticket searching, pre-canned reports, daily reminders and more.
  • TransAM - An open-source asset management platform for public transportation agencies. Open-source on Github.
  • RidePilot - An open-source Computer Aided Scheduling and Dispatch (CASD) software system to meet the needs of small scale human service transportation agencies (for more info see Cambridge Systematics's marketing site).
  • TNExT - Transit Network Explorer Tool (TNExT) is a web-based software tool developed for the visualization, analysis, and reporting of regional and statewide transit networks in the state of Oregon.

Hardware

Experimental and production transit hardware.

  • Bus Tracking GPS - Code for Miami prototype of a cheap open-source solution to track transit buses.

Apps

Apps people use when taking transit.

Web Apps

  • TransitScreen - Custom realtime displays of all local transportation choices
  • Instabus - Realtime map of Austin's (CapMetro) public transit. Has no server/backend dependency at all and runs completely on GitHub pages.
  • Maryland MTA Real-time Vehicle Tracking
  • OpenTripPlanner Client GWT - A Google Web Toolkit-based web interface for OpenTripPlanner
  • OpenTripPlanner.js - A Javascript-based client for OpenTripPlanner
  • GTFS-realtime Alerts Producer Web Application - A Java-based web application for producing GTFS-realtime Service Alerts.
  • HRT BUS Web app - HRT Bus API publishes real time bus data from Hampton Roads Transit through an application programming interface for developers to make apps from it.
  • Transit-Map - Web app that animates vehicles (markers) on a map using the public transport timetables to interpolate their positions along the routes (polylines).
  • Bikeshare Map - Status of all worldwide bikeshare stations
  • Bongo - Real-time Transit Tracking for Iowa City, Coralville and the University of Iowa. Awesome because it combines three disparate transit systems into one UI.
  • Transitive.js - Creates a customizable web map layer of transit routes using Leaflet or D3.
  • Brand New Subway - An interactive transportation planning game that lets players alter the NYC subway system to their heart's content.
  • CityMapper Webapp - Really polished webapp with trip planner and route status for over 30 of cities.
  • Google I/O Transport Tracker - Shows shuttle arrival times for Google I/O conference, based on the open-source transport-tracker project. Note: To implement this yourself, you need a Google Maps APIs Premium Plan license.
  • YourStop - Mobile friendly web app which consumes GTFS feeds and displays both live and scheduled trips for stops. Launched with MBTA, YRT/Viva and Maryland MTA.
  • 1-Click - A virtual “trip aggregator” that assembles information on a wide variety of available modes: public transit, private, rail, rideshare, carpool, volunteer, paratransit, and walking and biking. Open-source on Github.
  • Bustime - Public transport real-time monitoring with WebSocket updates.

Native Apps (open source)

Native Apps (closed source)

Visualizations

  • Visualizing MBTA Data - Interactive graphs that show how people use Boston's subway system.
  • MIT COAXS - Co-creative Planning of Transit Corridors using Accessibility-Based Stakeholder Engagement (shows route scenarios using OpenTripPlanner Analyst).
  • TRAVIC Transit Visualization Client - Visualizes vehicles moving based on static GTFS data (and sometimes realtime data). Supports over 260 cities. Github account for geOps organization is here.
  • Muni, this moment - Realtime map of all the buses in San Francisco.
  • MTA Frequency - Frequency visualization of subways and buses in New York City built using Transitland.
  • Traze by Veridict - Visualization of public transport vehicles from all over the world. Collaborate with other users to get real-time updates even when it is not available from the agency. Based on a number of sources, including GTFS and GTFS-RT. (Previously known as Livemap24).
  • Graphs in Transit - Graph centrality metrics displayed over rapid transit networks for New York City, Boston, and Paris.
  • SEPTA Rail OTP Report - An online on-time performance reporing & drill down tool using GTFS.
  • TransitFlow Animate GTFS data around the world using Processing and Transitland.
  • gtfspy-webviz - Web application for animation and visualization of GTFS data using gtfspy.
  • Mapnificent - Shows areas you can reach with public transport in a given time. Open-source on GitHub, live at https://www.mapnificent.net/.
  • Toronto Transit Explorer - A Java application that visualizes transit, biking and walking accessibility across the city of Toronto. Live version hosted here. Uses a modified version of R5 for routing.
  • fastest-bus-analysis-in-the-west - A python Pandas script that combines Ridership/APC, Swiftly speed and dwell data, bus stop inventory, GTFS, and geospatial shapes to create a stop by stop, route by route, time grouping filterable dataset for cross-analyses. The dataset is then visualized in Tableau to help VTA Planners find places to make bus and rail network faster and more reliable through speedups methods like stop consolidation and dedicated lanes.
  • TNExT - Transit Network Explorer Tool (TNExT) is a web-based software tool developed for the visualization, analysis, and reporting of regional and statewide transit networks in the state of Oregon.

GTFS

GTFS Libraries

Software that makes it easy to consume GTFS data in a variety of languages.

  • Mapzen GTFS - A Python GTFS library that supports reading individual GTFS tables, or constructing a graph to represent each agency in a feed.
  • gtfsdb - Python library for converting GTFS files into a relational database.
  • OneBusAway GTFS Modules - A Java-based library for reading, writing, and transforming public transit data in the GTFS format, including database support.
  • GTFS to SQL - Parses a GTFS feed into an SQL database (used in TransitFeeds.com)
  • SQL to GTFS - Convert an SQLite file generated with "GtfsToSql" back to a zipped GTFS file.
  • Go GTFS Parser - A GTFS parsing library for Go
  • GTFS Feed Parser - .Net/Mono implementation of a GTFS parser
  • Node-GTFS - Loads transit data from GTFS Data Exchange, unzips it and stores it to a MongoDB database and provides some methods to query for agencies, routes, stops and times.
  • GTFS-viz - Ruby script that converts a set of GTFS files into a SQLite database + GeoJSONs (needed by the Transit Map web application)
  • gtfs-sequelize - Node.js library modeling the static GTFS using sequelize.js.
  • gtfslib-python - An open source library in python for reading GTFS files and computing various stats and indicators about Public Transport networks.
  • multigtfs - A Django application to import and export GTFS
  • GTFSTK - A Python 3 toolkit for analyzing GTFS data in memory. Uses Pandas and Shapely for speed.
  • gtfs-schema - PostgreSQL schema for GTFS feeds.
  • partridge - A fast, forgiving Python GTFS reader built on pandas DataFrames.
  • gtfspy - Public transport network analysis and travel time computations using Python3. Compatible with Postgres/PostGIS, Oracle, MySQL, and SQLite. Used by gtfspy-webviz.
  • RRRR Rapid Real-time Routing - RRRR (usually pronounced R4) is a C-language implementation of the RAPTOR public transit routing algorithm.
  • R5: Rapid Realistic Routing on Real-world and Reimagined networks - A Java-based routing engine for multimodal (transit/bike/walk/car) networks. It currently plans many trips over a time window for analytics purposes, but may eventually support point-to-point journey planning.
  • gtfsman - Repository-like tool in Python to manage and update a huge number of GTFS feeds.
  • go gtfsparser - A GTFS parsing library implemented in Go.
  • Make GTFS - A Python library to make GTFS feeds from basic route information
  • trread - A transit (GTFS) file reader for R.

GTFS Converters

Converters from various static schedule formats to and from GTFS.

  • Transmodel and IFF to GTFS - Imports and syncs (Transmodel) BISON Koppelvlak1, IFF (a format written by HP/EDS, somewhat similiar to ATCO CIF) to import timetables of the railway networks. The internal pseudo-NETeX datastructure allows to export to GTFS and there are proof-of-concepts to export to other formats such as NETeX, GTFS and IFF.
  • Open-Transport SYNTHESE Convertors - Converts French-Transmodel, SIRI, NETeX, HAFAS, HASTUS, VDV452, and more.
  • Chouette - Converts French-Transmodel, SIRI, NETeX. See Chouette.mobi website for more info.
  • osm2gtfs - Turn OpenStreetMap data and schedule information into GTFS.
  • GTFS-OSM-Sync - A Java tool for synchronizing data in GTFS format with OpenStreetMap.org.
  • onebusaway-gtfs-to-barefoot - A Java tool to create a Barefoot mapfile from a GTFS file.
  • o2g - A simple tool to extract GTFS feed from OpenStreetMap.
  • transloc-gtfs-rectifier - Python application that attempts to assign GTFS stop_ids to TransLoc IDs using TransLoc's API (TransLoc doesn't provide GTFS stop_ids in their API).
  • Hafas2GTFS - Hafas2GTFS converter written in Python, optimized for SBB HAFAS feeds.
  • gtsf - general transit (GTFS) simple (geographic) features (sf) in R. can be used to convert from GTFS to Shapefile, GeoJSON, and other formats through GDAL.

GTFS Data Collection and Maintenance Tools

GTFS Analysis Tools

  • Peartree - A Python library for converting transit data into a directed graph for network analysis.
  • gtfsr - An R package for easily importing, validating, and mapping transit data that follows the General Transit Feed Specification (GTFS) format.
  • tidytransit (formerly bustt) - Reads GTFS data into tidyverse and simple features dataframes to map transit stops and routes, calculate transit frequencies, and validate transit feeds. tidytransit is a fork of gtfsr, published to CRAN, with frequency/headway calculation functions.
  • transitr - An R package for constructing and modelling a transit network in real time to obtain vehicle ETAs

GTFS Timetable Publishing Tools

  • GTFS to HTML - A creates human-readable, user-friendly transit timetables in HTML format directly from GTFS transit data.
  • TimeTablePublisher (TTPUB) - A web publishing system developed by TriMet that allows a transit agency to examine, modify, and transform raw scheduling data into easy-to-read timetables for customer information purposes

GTFS Validators

GTFS Realtime

GTFS Realtime Libraries & Demo Apps

GTFS Realtime Validators

GTFS Realtime (and Other Real-time API) Archival Tools

  • GTFS-realtime to SQL - Parses a GTFS-RealTime feed into an SQL database (used in TransitFeeds.com)
  • gtfsrdb - A Python tool that supports reading and archiving GTFS-realtime feeds into a database
  • retro-gtfs - A Python application that collects real-time data from the Nextbus API and archives it into the GTFS format (i.e., retrospective GTFS).

GTFS Realtime Convertors

GTFS Realtime Utilities

SIRI

Other multimodal data formats

Resources

On-line courses, blog posts, and reports related to open transit data.

On-line courses

Blog posts

Academic papers

Government reports

Community-maintained lists

License

CC0

To the extent possible under law, Luqmaan Dawoodjee and the Center for Urban Transportation Research at the University of South Florida have waived all copyright and related or neighboring rights to this work.

About

Originally created by Luqmaan Dawoodjee, now maintained by the Center for Urban Transportation Research at the University of South Florida.

This list is intended as a community resource for informational use only - listing of a project/product does not imply endorsement.

Built With LoveBuilt With LoveSearch by