feat(terrain): configure Anycast CDN DEMNAS 3D elevation terrain tiles replacing demo source #100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/demnas-terrain-tiles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replaces external third-party demonstration terrain tiles with configurable Anycast CDN and local DEMNAS 3D elevation endpoints.
Closes #97
Principles applied
principle-boundary-discipline: Eliminates third-party runtime dependency ondemotiles.maplibre.orgby binding elevation raster delivery to Anycast CDN and local endpoints.principle-build-the-lever: Addedscripts/generate-demnas-terrain.pywith verified Mapbox Terrain-RGB encoder/decoder formulas for DEMNAS rasters.principle-test-behavior-not-implementation: Asserted that terrain tile sources point to production CDN raster endpoints without referencing third-party demo servers.ponytail-review: Maintained standard Mapbox Terrain-RGB encoding compatible with MapLibre GL JS native raster-dem without adding extra shader plugins.Impact
NEXT_PUBLIC_TERRAIN_TILES_URLand reusable Terrain-RGB processing utility.Anti-Overengineering Audit (ponytail-review)
Verification proof
pnpm exec vp check: Passed cleanly with zero formatting or lint errors across 241 files.pnpm test: 14 test suites and 84 unit tests passed in 359ms.pnpm build: Next.js Turbopack production build completed cleanly with all 12 routes generated.