Project Awesome project awesome

Visualizations > Toronto Transit Explorer

A Java application that visualizes transit, biking and walking accessibility across the city of Toronto. Uses a modified version of R5 for routing.

Package 36 stars Archived GitHub

TOTX

The Toronto Transit Explorer app visualizes transit, biking and walking accessibility across the city of Toronto.

Screen recording (YouTube):

Screen recording of the Toronto Transit Explorer

Setup (Instructions for Mac)

  1. Install Homebrew (https://brew.sh/) if you don't have it.
  2. Make sure you have Java 8 installed: java -version If not, install it: brew tap caskroom/versions && brew cask install java8
  3. Install yarn and Node (4<= version <=9). You can use NVM to manage your Node versions. brew install yarn nvm install --lts

Start the router

The router is our fork of Conveyal's R5 transit router. This lives at sidewalklabs/totx-r5.

Clone the repo and check out the totx-r5 branch.

git clone https://github.com/sidewalklabs/totx-r5.git
git checkout totx-r5

Then run:

mvn package
java -Xmx8g -classpath ./target/r5build.jar com.conveyal.r5.R5Main point --build ./totx_transit_data one-to-many toronto-das.locations.txt
java -Xmx8g -classpath ./target/r5build.jar com.conveyal.r5.R5Main point --graphs ./totx_transit_data one-to-many toronto-das.locations.txt

You should see something like:

9200 [Thread-1] INFO org.eclipse.jetty.server.Server - Started @9326ms

Congrats! Your router is up!

Start the frontend

  1. yarn This will install all required dependencies.
  2. yarn develop -- transit --router-url http://localhost:8080
  3. Go to http://localhost:1337 in your browser.

Congrats! You're running your very own TOTX.

Back to Transit