/awesome-transit

Community list of transit APIs, apps datasets, research papers, and software :bus::star2::train::star2::steam_locomotive:

Creative Commons Zero v1.0 UniversalCC0-1.0

awesome-transit Awesome

A collection of awesome transit projects 🚏 πŸšŒπŸ’¨ πŸš‹πŸ’¨ πŸš‚πŸ’¨

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


Table of Contents

Community

Places to ask questions and find other community resources.

Data

  • 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.
  • CapMetrics - Historical vehicle locations for Austin's transit agency (CapMetro). Data is collected by capmetricsd, a Go daemon.
  • National Transit Database - Information and statistics on the transit systems of the United States, run by the Federal Transit Administration.
  • 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.
  • TransLoc OpenAPI - Real-time vehicle, route, stop, and arrival data for over 60 transit systems in the United States.
  • GTFS Data Exchange - Used to be the definitive list of GTFS links. Shutdown in 2016. But 93G of data from 2008 to 2016 is available upon request.

APIs

Software that provides an API to transit data.

  • 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.
  • OneBusAway - A Java app that consumes GTFS and GTFS-Realtime (along with other formats) and turns them into an easy to use REST API.
  • TransiTime - Java application that can consume raw vehicle positions and generate prediction times in formats such as GTFS-realtime.
  • pyBikes - an API on worldwide bikeshare systems powering CityBikes
  • 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).
  • 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.

Agency Tools

Tools for transit agencies.

  • Remix - A webapp that lets transit agencies easily plan routes.

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.

Native Apps (open source)

Native Apps (closed source)

Visualizations

Resources

GTFS

  • GTFS Spec Specification for the General Transit Data Feed, or 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-OSM-Sync - A Java tool for syncrhonizing data in GTFS format with OpenStreetMap.org.
  • 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.

GTFS Converters

Converters from various static schedule formats to 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.

GTFS Tools

  • bus-router - Python script that generates missing shapes.txt for GTFS using routing from Google Maps Directions API or OSRM.
  • GTFS Editor A (self-hosted) web-based GTFS editing framework.
  • TransitWand - An open source web and mobile application for collecting transit data. Use it to create GTFS feeds, capture passenger counts or generate GIS datasets.
  • Gtfs Data Manager - A workflow tool for managing large amounts of GTFS data and importing them into OpenTripPlanner.

GTFS Validators

GTFS Realtime

SIRI

License

CC0

To the extent possible under law, Luqmaan Dawoodjee has waived all copyright and related or neighboring rights to this work.