Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
/ totx Public archive

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

License

Notifications You must be signed in to change notification settings

sidewalklabs/totx

Repository files navigation

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.

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published