added import .pbf to xml
This commit is contained in:
parent
6b081412a0
commit
ac78d62347
6
Makefile
6
Makefile
@ -43,3 +43,9 @@ brouter-data:
|
||||
cd ./docker/brouter/brouter-web; cp keys.template.js keys.js;
|
||||
cd ./docker/brouter/brouter-web; cp config.template.js config.js
|
||||
cd ./docker/brouter; docker compose build
|
||||
|
||||
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 -rf ./docker-osmosis; git clone https://github.com/bvarick/docker-osmosis.git
|
||||
cd ./docker/osm_edit/; docker build -t osmosis ./docker-osmosis
|
||||
cd ./docker/osm_edit/; docker run -v ./osm-data:/osm-data osmosis osmosis --read-pbf "/osm-data/wisconsin-latest.osm.pbf" --write-xml file="/osm-data/wisconsin-latest.osm"
|
||||
|
9
docker/osm_edit/.gitignore
vendored
Normal file
9
docker/osm_edit/.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
|
||||
# Except Dockerfile
|
||||
!Dockerfile
|
||||
|
||||
!osm-data/
|
4
docker/osm_edit/osm-data/.gitignore
vendored
Normal file
4
docker/osm_edit/osm-data/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
Loading…
x
Reference in New Issue
Block a user