One-way hiking route members (forward/backward roles) kept in their direction by maplibre-gl-lanes; raise Valhalla trace limits for the per-country route summary

This commit is contained in:
randy committed 2026-11-15 10:16:45 +01:00
1 parent 43119cfdae
commit db586c0166
4 files changed
+47 -7

No files matched your search

+4
View File
@@ -31,9 +31,13 @@ os.replace(path + ".tmp", path)
PY
}
# trace limits: maptool reads the per-country km of a whole route (up to
# 5000 km, like route's own auto limit) from /trace_attributes; the
# defaults (200 km, 16000 points) are meant for GPS traces.
config() { # dir
valhalla_build_config --mjolnir-tile-dir "$1/tiles" --mjolnir-tile-extract "$1/tiles.tar" \
--mjolnir-admin "$1/admins.sqlite" --mjolnir-concurrency "${BUILD_THREADS:-$(( $(nproc) / 2 ))}" \
--service-limits-trace-max-distance 5000000 --service-limits-trace-max-shape 500000 \
> "$1/valhalla.json"
}