This script generates maps to analyze the potential walking routes for students to their school.
brouter
(using the safety profile) and OSRM
(for the boundary polygons), those are run locally in docker containers.This script will generate a few figures:
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.