- The actual route generation is done with [`brouter`](https://github.com/abrensch/brouter) (using the *safety* profile) and [`OSRM`](https://github.com/Project-OSRM/osrm-backend) (for the boundary polygons), those are run locally in docker containers.
-`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.
This allows you to make changes to the street network (add a bike path, reduce a lane on an arterial st) and see how it affects the routes that brouter chooses.
This is a multi-step process:
1. Download a chunk of OpenStreetMap data: https://www.openstreetmap.org/export
2. Make edits to that file in [JOSM](https://josm.openstreetmap.de/)
3. Save the edited file as `map_edited.osm`, save both `map.osm` and `map_edited.osm` in `data/osm/osm_edit/`
4.`make osm_edit_create_pbfs` will generate two files `map.osm.pbf` and `map_edited.osm.pbf` in `docker/osm_edit/osm-data`