gis-ops / docker-valhalla

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

Download failed of elevation tile #110

Closed khamaileon closed 1 year ago

khamaileon commented 1 year ago
=================================
= Download the elevation tiles =
=================================
2023-06-12 08:10:43,336  INFO: Downloading tile N48E001.hgt
2023-06-12 08:10:43,337  INFO: Downloading tile N49E003.hgt
2023-06-12 08:10:43,337  INFO: Downloading tile N48E003.hgt
2023-06-12 08:10:43,337  INFO: Downloading tile N49E002.hgt
2023-06-12 08:10:43,338  INFO: Downloading tile N48E002.hgt
2023-06-12 08:10:43,338  INFO: Downloading tile N49E001.hgt
2023-06-12 08:10:43,541 CRITICAL: Download failed of elevation tile N48/N48E002.hgt: Forbidden
2023-06-12 08:10:43,542 CRITICAL: Download failed of elevation tile N48/N48E003.hgt: Forbidden
2023-06-12 08:10:43,544 CRITICAL: Download failed of elevation tile N48/N48E001.hgt: Forbidden
2023-06-12 08:10:43,546 CRITICAL: Download failed of elevation tile N49/N49E001.hgt: Forbidden
2023-06-12 08:10:43,550 CRITICAL: Download failed of elevation tile N49/N49E002.hgt: Forbidden
2023-06-12 08:10:43,550 CRITICAL: Download failed of elevation tile N49/N49E003.hgt: Forbidden
2023-06-12 08:10:43,551  INFO: Downloaded 0 tiles. Exiting.

I guess https://github.com/valhalla/valhalla/pull/4125 solved the problem and the image needs to be rebuilt?

nilsnolde commented 1 year ago

latest is built every Saturday. Tagged ones won't be rebuilt. What are you using?

khamaileon commented 1 year ago

ghcr.io/gis-ops/docker-valhalla/valhalla:latest

khamaileon commented 1 year ago

I use this command:

docker run -dt --name valhalla_gis-ops \
    -p 8002:8002 \
    -v $PWD/custom_files:/custom_files \
    -e tile_urls=https://download.geofabrik.de/europe/france/ile-de-france-latest.osm.pbf \
    -e server_threads=7 \
    -e build_elevation=True \
    -e build_admins=True \
    -e build_time_zones=True \
    -e build_transit=True \
    ghcr.io/gis-ops/docker-valhalla/valhalla:latest
nilsnolde commented 1 year ago

Hm ok strange, that’s should work.. In case you have a moment to try and debug, I’d appreciate it. Otherwise it’ll have to wait a bit.

khamaileon commented 1 year ago

I found it. An earlier version was cached on my computer 😅. I should have use --no-cache