gis-ops / docker-valhalla

This is our flexible Docker repository for the Valhalla routing engine
MIT License
240 stars 70 forks source link

Adding a gotcha in "Run Valhalla with pre-built tiles" #17

Closed tsuz closed 3 years ago

tsuz commented 3 years ago

What

I ran the Run Valhalla with pre-built tilesguide but it did not use the tiles (valhalla_tiles.tar file) provided. Instead, it built the whole tar file from planet data. I realized I was missing the .file_hashes.txt which is the md5 of the file. I added that and the below command was able to use that to start up an instance.

docker run -dt -v $PWD/custom_files:/custom_files -p 8002:8002 --name valhalla_1 valhalla

So?

nilsnolde commented 3 years ago

That's also true for use_tiles_ignore_pbf=True? I often change the tiles.tar without having the md5 in the hashes. Though that's a good point really.

tsuz commented 3 years ago

@nilsnolde

Interesting. It used to give me an error like there are no edges around your location when I ran this without the hash file. Somehow, I cannot reproduce that anymore... I will close this for now. Thanks for your response.