Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easier valhalla setup #268

Open
nilsnolde opened this issue Aug 3, 2022 · 0 comments
Open

easier valhalla setup #268

nilsnolde opened this issue Aug 3, 2022 · 0 comments
Assignees

Comments

@nilsnolde
Copy link

just wanted to share 2-3 lines for generating polylines, in case you wanna include it in your wiki:

# first create the graph
docker run --rm -dt --name valhalla_pelias -v $PWD/data:/custom_files --user $(id -u):$(id -g) -e build_tar=False -e path_extension=openstreetmap -e serve_tiles=False -e tile_urls=https://download.geofabrik.de/europe/germany-latest.osm.pbf gisops/valhalla:latest
# then export the edges from there
mkdir data/polylines
docker run --rm -it --name valhalla_pelias -v $PWD/data:/custom_files --user $(id -u):$(id -g) --entrypoint /bin/bash gisops/valhalla:latest -c "valhalla_export_edges /custom_files/openstreetmap/valhalla.json > /custom_files/polylines/germany_polylines.sv0"

docs for the image: https://github.com/gis-ops/docker-valhalla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants