pyvalhalla icon indicating copy to clipboard operation
pyvalhalla copied to clipboard

Question: Graphs for multiple countries

Open thomthom opened this issue 1 year ago • 0 comments

Apologies if this isn't the place to ask questions. I'll happily repost in a forum or discord if there is one.

I'm completely new to OSM and Valhalla. I just got a simple POC setup using the instructions in the readme here, fetching graph data for a country:

docker run --rm --name valhalla_gis-ops -p 8002:8002 -v $PWD/custom_files:/custom_files -e tile_urls=https://download.geofabrik.de/europe/andorra-latest.osm.pbf gisops/valhalla:latest

However, it's not clear to me what one would have to do to obtain data for multiple countries and use them for routing across them.

config = get_config(tile_extract='./custom_files/valhalla_tiles.tar', verbose=True)

This line where the config it setup, seems to take a single tar from from what the docker command fetched? Would I somehow need to merge multiple tile data into one tar file?

thomthom avatar May 09 '24 19:05 thomthom