A Linked Connections server using PostgreSQL to serve GTFS.
Note: This projects follows the Linked Connections 2.0 draft as of 2020-03-18.
npm install derhuerst/gtfs-linked-connections-server # install from GitHubFollow gtfs-via-postgres' instructions on importing data. Make sure to use the --stops-location-index flag.
psql -c 'create database gtfs'
export PGDATABASE=gtfs
# import GTFS into PostgreSQL
npm install -D gtfs-via-postgres
npm exec -- gtfs-to-sql --require-dependencies -- gtfs/*.txt | psql -bThen serve the imported data as Linked Connections via HTTP:
# start HTTP server that serves Linked Connections
npm install gtfs-linked-connections-server
npm exec -- serve-gtfs-as-lcIf you have a question or need support using gtfs-linked-connections-server, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.