The other day, I needed to rapidly visualize bus routes from an Open Trip Planner instance. Also I wanted to use transitive.js
For that you can use a tool developped by Conveyal called transitive-importer (available on github).
After cloning the project, you will need to install component
npm install -g component
Then install the dependencies and build the project:
component install
component-build
You can then launch a simple server to get access to the interface:
python -m SimpleHTTPServer 8000
Form the interface on 127.0.0.1:8000, click on 'Set OTP Endpoint' and enter your OTP server url pointing to the index API:
http://xx.xx.xx.xx/otp/routers/default/index
The list of routes available should load.
Select the routes you want to display anc click 'Update'. Voila!
Do you want to learn how to create better dashboard and UIs for, in particular for IoT and Wearables? Pre-order the Elements of Dashboard Design book now for a special prelaunch price