-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
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
Reactions are currently unavailable