mattgrande / gtfs-to-json

Convert GTFS-RT data to JSON. Mostly for Hamilton, but easily updatable to any city

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

  • clone this repository

  • run bundle install (add other gems you may need to the Gemfile beforehand)

  • run rake import_gtfs to import the route information; run rake download_buses to get the current bus locations

  • run rake spec to run the tests

  • modify your app routes in config.ru

  • rackup config.ru to start it

About

Convert GTFS-RT data to JSON. Mostly for Hamilton, but easily updatable to any city


Languages

Language:Ruby 100.0%