No description
Find a file
2024-11-05 09:07:18 -06:00
docker added docker-compose to brouter docker directory 2024-11-05 07:53:23 -06:00
examples adjusted example figures 2024-10-29 16:28:06 -05:00
html Run Markdown Script with make 2024-10-29 10:39:05 -05:00
other adjusted WI_schools data source 2024-10-31 14:04:15 -05:00
.gitignore added top level .html files to .gitignore 2024-11-05 08:15:00 -06:00
cycling_route_analysis.Rmd changed port back to 5001 2024-11-04 18:38:30 -06:00
cycling_route_analysis_brouter.Rmd added 'student_number' to routes data table 2024-11-05 09:07:18 -06:00
LICENSE remade repo removing student addresses 2024-10-28 17:02:30 -05:00
Makefile Edited .gitignore, edited README, edited Makefile 2024-11-05 07:52:14 -06:00
README.md added brouter to readme intro 2024-11-05 08:27:07 -06:00
route_analysis.Rmd Moved R Markdown to top-level 2024-11-01 12:05:30 -05:00

Routes for walking to school

This script generates maps to analyze the potential walking routes for students to their school.

  • I excluded the addresses of the students from the repository.
  • The actual route generation is done with OSRM and brouter, those are run locally in docker containers.
  • The basemap is pulled from Stadia Maps. The usage of the script is well within the free tier, you'll need an API key from them.

Data sources

Example figures

This script will generate a few figures:

A heatmap of student addresses:

example address figure

A map of all the walking routes within the walk boundary:

example routes figure

A map of those routes colored by the level of traffic stress to bike

example routes-lts figure

Using make

  • make osrm-data: downloads the OpenStreetMap data for Wisconsin, and preproccesses it for use with OSRM.
  • make osrm-container: starts the OSRM containers (backends and frontends) for walking and biking.
  • make brouter-data: clones the repositories for brouter and brouter-web and downloads the segment data. It also builds the docker images for brouter and brouter-web.
  • make brouter-container: starts the brouter containers (backend and frontend).
  • make walk will run route_analysis.Rmd which calculates the walking routes using OSRM.
  • make cycle-osrm will run cycling_route_analysis.Rmd which calculates the biking routes using OSRM.
  • make cycle-brouter will run cycling_route_analysis_brouter.Rmd which calculates the biking routes using brouter.

Misc.

OpenStreetMap Data