Skip to main content

Related Libraries

node-gtfs

gtfs-to-html uses the node-gtfs library to handle importing and querying GTFS data. It provides methods for loading transit data in GTFS format into a SQLite database and methods to query for agencies, routes, stops, times, fares, calendars and other GTFS data. It also offers spatial queries to find nearby stops, routes and agencies and can convert stops and shapes to geoJSON format.

https://github.com/blinktaginc/node-gtfs

gtfs-to-geojson

gtfs-to-geojson converts transit data in GTFS format into geoJSON. This includes both shapes and stops. It can be configured to generate one geoJSON file per route or a single file which contains all routes for an agency. This is useful for creating maps of transit routes.

https://github.com/blinktaginc/gtfs-to-geojson

gtfs-to-chart

gtfs-to-chart generates a stringline chart in D3 using data from an agency's GTFS. This chart shows all trips for a specific route as they travel through space over a single day.

https://github.com/blinktaginc/gtfs-to-chart

Transit Departures Widget

The Transit Departures Widget generates a user-friendly transit realtime departures widget in HTML format directly from GTFS and GTFS-RT transit data. Most transit agencies have schedule data in GTFS format and many publish realtime departure information using GTFS-RT. This project generates HTML, JS and CSS for use on a transit agency website to allow users to see when the next vehicle is departing from a specific stop and includes features like caching, auto-refresh, url parameters and custom templates.

https://github.com/BlinkTagInc/transit-departures-widget

GTFS Text-to-Speech Tester

The GTFS Text-to-Speech Tester is a command-line tool that will read all GTFS stop names using Text-to-Speech and allow flagging which names need Text-to-Speech values for tts_stop_name in stops.txt. Using this tool is the quickest way to determine which stops need phoenetic spellings, abbreviations written out, large digits written as words, ordinals written out or other changes so that they can be read.

https://github.com/BlinkTagInc/node-gtfs-tts

node-gtfs-realtime

GTFS-realtime transit data is in protobuf format which means its not human-readable by default. node-GTFS-Realtime aims to make it fast and easy to inspect GTFS-realtime data by providing a one-line command for downloading GTFS-realtime format data and converting to JSON. Try it by running npx gtfs-realtime http://api.bart.gov/gtfsrt/tripupdate.aspx in your terminal.

https://github.com/BlinkTagInc/node-gtfs-realtime