added make commands for editing osm
This commit is contained in:
parent
7ff54d52ea
commit
910dcd1d1a
2 changed files with 11 additions and 8 deletions
11
Makefile
11
Makefile
|
@ -48,6 +48,11 @@ osm_edit_import_pbf:
|
|||
cd ./docker/osm_edit/; wget https://download.geofabrik.de/north-america/us/wisconsin-latest.osm.pbf -O ./osm-data/wisconsin-latest.osm.pbf
|
||||
cd ./docker/osm_edit/; rm ./osm-data/wisconsin-latest.osm; docker run -v ./osm-data:/osm-data ghcr.io/bvarick/osmosis:0.49.2 osmosis --read-pbf "/osm-data/wisconsin-latest.osm.pbf" --write-xml file="/osm-data/wisconsin-latest.osm"
|
||||
|
||||
osm_edit_create_pbfs:
|
||||
docker run -v ./data/osm/osm_edit:/osm_edit ghcr.io/bvarick/osmium-tool:2.21.0 osmium cat /osm_edit/map.osm -o /osm_edit/map.osm.pbf
|
||||
docker run -v ./data/osm/osm_edit:/osm_edit ghcr.io/bvarick/osmium-tool:2.21.0 osmium cat /osm_edit/map_edited.osm -o /osm_edit/map_edited.osm.pbf
|
||||
osm_edit_refresh_base:
|
||||
cd ./data/osm; wget https://download.geofabrik.de/north-america/us/wisconsin-latest.osm.pbf -O ./wisconsin-latest.osm.pbf
|
||||
cd ./data/osm/osm_edit/srtm/; wget -i srtm_tiles.csv -P ./
|
||||
|
||||
osm_edit_generate_pbf:
|
||||
docker run -v ./data/osm:/osm ghcr.io/bvarick/osmium-tool:2.21.0 osmium apply-changes /osm/wisconsin-latest.osm.pbf /osm/osm_edit/map_edited.osm -o /osm/osm_edit/wisconsin-latest_edited.osm.pbf --overwrite
|
||||
|
||||
osm_edit_generate_brouter:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue