You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started migrating to docker-valhalla from a stand-alone deployment. When comparing the results I don't see the date_time field in the response. I'm creating a custom Docker image based off ghcr.io/gis-ops/docker-valhalla/valhalla:latest as I need to include the tiles in the image. What could cause of date_time being missing in the response?
ARG VALHALLA_BUILDER_IMAGE=ghcr.io/gis-ops/docker-valhalla/valhalla:latest
ENV CUSTOM_FILES="/custom_files"
ENV serve_tiles=False
ENV do_timezones=True
ENV build_tar=True
ENV MERGED_FILE="merged.osm.pbf"
ADD ./entrypoint.sh /
RUN sudo apt-get update && \
sudo apt-get -y upgrade && \
sudo apt-get -y install osmium-tool wget jq
ADD ./custom_files/merged.osm.pbf ${CUSTOM_FILES}/merged.osm.pbf
RUN /valhalla/scripts/run.sh build_tiles
RUN sudo valhalla_build_admins --config ${CUSTOM_FILES}/valhalla.json ${CUSTOM_FILES}/${MERGED_FILE}
RUN sudo mkdir ${CUSTOM_FILES}/timezone_data && \
sudo sh -c "valhalla_build_timezones > ${CUSTOM_FILES}/timezone_data/timezones.sqlite"
RUN sudo sh -c "jq .'service_limits.auto.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.auto.max_matrix_location_pairs=14400' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.bicycle.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.bikeshare.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.bus.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.motorcycle.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.pedestrian.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.taxi.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json" && \
sudo sh -c "jq .'service_limits.truck.max_locations=120' ${CUSTOM_FILES}/valhalla.json | sponge ${CUSTOM_FILES}/valhalla.json"
RUN sudo rm ${CUSTOM_FILES}/*.osm.pbf
RUN sudo chown -R valhalla:valhalla ${CUSTOM_FILES}/
USER valhalla
EXPOSE 8002
ENTRYPOINT ["/entrypoint.sh"]
2024/11/20 19:35:02.732663 [INFO] Tile extract successfully loaded with tile count: 44
2024/11/20 19:35:02.737118 [INFO] Tile extract successfully loaded with tile count: 44
2024/11/20 19:35:02.754757 [WARN] (stat): /custom_files/traffic.tar No such file or directory
2024/11/20 19:35:02.754759 [WARN] (stat): /custom_files/traffic.tar No such file or directory
2024/11/20 19:35:02.754787 [WARN] Traffic tile extract could not be loaded
2024/11/20 19:35:02.754800 [WARN] Traffic tile extract could not be loaded
The text was updated successfully, but these errors were encountered:
Hello,
I've started migrating to docker-valhalla from a stand-alone deployment. When comparing the results I don't see the date_time field in the response. I'm creating a custom Docker image based off
ghcr.io/gis-ops/docker-valhalla/valhalla:latest
as I need to include the tiles in the image. What could cause ofdate_time
being missing in the response?Request:
Response snippets:
Old server:
Docker valhalla instance:
Docker valhalla startup:
The text was updated successfully, but these errors were encountered: