A simple server that turns Terrain DEM tiles into slope angle tiles.
docker run -p 8080:8080 \
-e UPSTREAM_TILEJSON="https://tiles.mapterhorn.com/tilejson.json" \
-e OUTPUT_TILE_URL_BASE="https://example.com" \
ghcr.io/dzfranklin/slope-server:latestRunning locally
RUST_LOG=slope_server=debug \
UPSTREAM_TILEJSON="https://tiles.mapterhorn.com/tilejson.json" \
BIND_ADDR="0.0.0.0:8080" \
OUTPUT_TILE_URL_BASE="https://example.com" \
CACHE_MAX_TILES=1024 \
CACHE_TTL_SECS=3600 \
cargo rundocker build -t slope-server .
docker run -p 8080:8080 slope-serverVisit http://localhost:8080/demo
git config core.hooksPath .githooks