From 21e55bc83704bdf16157cae3389e0a77494134b1 Mon Sep 17 00:00:00 2001 From: Ben Varick Date: Sat, 1 Feb 2025 20:46:23 -0600 Subject: [PATCH] changed readme to reflect OsmChange file --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 59b65bf..219d534 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,11 @@ calculates the walking routes using OSRM. - `make cycle-brouter` will run *cycling_route_analysis_brouter.Rmd* which calculates the biking routes using brouter. ## What-if analysis -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 currently not working, I'm trying to figure it out. +This allows you to make changes to the street network (add a bike path, reduce a lane on an arterial street) and see how it affects the routes that brouter chooses. This is a multi-step process: -1. Make edits to OpenStreetMap in [JOSM](https://josm.openstreetmap.de/) -2. Save the edited map as `docker/brouter/osm_edit/map_edited.osm` (File -> Save As). Don't upload your hypothetical infrastructure to OpenStreetMap! +1. Generate an OsmChange file for the changes that you want to analyze. Don't upload your hypothetical infrastructure to OpenStreetMap! +2. Save that file as `docker/brouter/osm_edit/changes.osc`. 3. `make osm_edit_refresh_base` will download a fresh copy of `wisconsin-latest.osm.pbf` and the elevation tiles for Wisconsin. You don't need to run this frequently. 4. `make osm_edit_generate_pbf` will take those edits and apply them to the `wisconsin-latest.osm.pbf` and generate `wisconsin-latest_edited.osm.pbf` 5. `make osm_edit_generate_brouter` will generate new brouter segment files from the edited pbf file.