Little web app that generates semantic metro maps out of GTFS data. Grabs the data from this GTFS API: semantic-metro-map-gtfs-api.herokuapp.com
Live demo on Heroku (runs with 1 dyno so first start could take a while)
You can use the generated SVG file to query routes with the semantic-metro-map
tool.
-
Use arrows as direction indicator - Use shapes to draw correct routes instead of simple lines
- Use correct durations instead of random generated ones
- Clone this repository:
git clone [email protected]:gopeter/semantic-metro-map-generator.git
- Create virtual env:
virtualenv venv
- Activate virtual env:
source venv/bin/activate
(do this for every new terminal session) - Install requirements:
pip install -r requirements.txt
- Start app:
foreman start
- Visit
http://localhost:5000
and have fun!
Be aware: Just a proof of concept. No validations, no exception handling, no tests.
Note: to run this app locally, you have to start an instance of this GTFS API: node-gtfs
. Or just change the url on the very top of the app.js
file.
semantic-metro-map-generator
is part of a series of experiments