{"repo":"BlinkTagInc/node-gtfs","free":true,"listed":false,"github":"https://github.com/BlinkTagInc/node-gtfs","clone":"git clone https://github.com/BlinkTagInc/node-gtfs.git","description":"Import GTFS transit data into SQLite and query routes, stops, times, fares and more.","language":"TypeScript","stars":503,"topics":["gtfs","node-gtfs","transit","transit-data","public-transportation","sqlite","geojson"],"license":"MIT","category":"databases-storage","readme_excerpt":"➡️ Installation Quick Start TypeScript Support Configuration Query Methods ⬅️ Import and Export GTFS transit data into SQLite. Query or change routes, stops, times, fares and more. node-GTFS loads transit data in GTFS format into a SQLite database and provides some 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. Additionally, this library can export data from the SQLite database back into GTFS (csv) format. The library also supports importing GTFS-Realtime data into the same database. In order to keep the realtime database fresh, it uses SQLITE REPLACE which makes it very effective. You can use it as a command-line tool or as a node.js module. This library has four parts: the GTFS import script, GTFS export script and GTFS-Realtime update script and the query methods Installation To use this library as a command-line utility, install it globally with npm: npm install gtfs -g This will add the gtfs-import and gtfs-export scripts to your path. If you are using this as a node module as part of an application, include it in your project's package.json file. npm install gtfs Quick Start Command-line examples gtfs-import --gtfsUrl http://www.bart.gov/dev/schedules/google transit.zip or gtfs-import --gtfsPath /path/to/your/gtfs.zip or gtfs-import --gtfsPath /path/to/your/unzipped/gtfs or gtfs-import --configPath /path","default_branch":null,"files":null,"tree":[],"storefront":"/r/BlinkTagInc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BlinkTagInc/node-gtfs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}