Created
January 12, 2018 12:33
-
-
Save heffergm/164fbdd0a4cc60e3398a41cf561ecedc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| local_data_dir=valhalla_data | |
| mkdir $local_data_dir && pushd $local_data_dir | |
| wget https://s3.amazonaws.com/metro-extracts.mapzen.com/san-francisco_california.osm.pbf | |
| popd | |
| docker run -h valhalla -v ${PWD}/valhalla_data:/data/valhalla valhalla/docker:ppa-1.4.5 valhalla_build_tiles --config /conf/valhalla.json --input_files /data/valhalla/san-francisco_california.osm.pbf | |
| docker run -h valhalla -p 127.0.0.1:8002:8002 -v ${PWD}/valhalla_data:/data/valhalla valhalla/docker:ppa-1.4.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment