feat(map): false-color SWIR smoke-piercing raster tile layer #130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/satellite-swir-layer"
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
Adds toggleable Sentinel-2 False Color Short-Wave Infrared (SWIR: B12, B8A, B4) smoke-piercing raster tile layer to MapLibre (
satellite-swir-layer.tsx) to pierce thick peatland haze and smoke, revealing active glowing thermal fire fronts and precise charred margins.Closes #73
Principles applied
principle-model-the-domain: Modelled color rendering tokens for active flames, fresh scars, and vegetation directly matching spectral reflectance physics without ambiguous heuristics.principle-boundary-discipline: Clamped opacity between 0.0 and 1.0 and ensured safe cleanup/replacement routines when switching satellite scene tiles.principle-subtract-before-you-add: Reused native MapLibre raster source and layer primitives without extraneous raster processing libraries.principle-test-behavior-not-implementation: Verified source creation, raster spec, visibility toggling, opacity clamping, dynamic source switching, and cleanup across 332 unit tests.principle-prove-it-works: Verified cleanvp check, 48/48 passing test suites (332 tests), and successful Next.js production build.Executed playbook:
skill://poteto-mode/playbooks/feature.mdImpact
Verification proof
pnpm exec vp check: Pass (0 errors, 0 warnings across 154 files).pnpm test: All 48 test suites and 332 unit tests passed.pnpm build: Next.js production build compiled in 6.9s.node scripts/verify-pr.mjs: Verified against PR quality and architectural gate.feat(ui): False-color SWIR smoke-piercing raster tile layer (#73)to feat(map): false-color SWIR smoke-piercing raster tile layerCode Review & Ponytail Audit Summary: False-Color SWIR Smoke-Piercing Raster Tile Layer
1. Mechanical Verification Gate (
scripts/verify-pr.mjs)Closes #73.2. Subsystem Boundary & Discipline
src/components/map/layers/satellite-swir-layer.tsx,src/components/controls/layer-toggles.tsx,src/components/dashboard/dashboard-client.tsx,src/components/map/map-view.tsx, and unit test suitesatellite-swir-layer.test.ts.3. Ponytail Audit & Implementation Quality
/api/satellite/sceneand mounting tiles.4. Verification Gates
vp check: All 323 files correctly formatted, 0 warnings or lint errors.pnpm test: All 332 tests passed across 48 test files.next build: Turbopack production build succeeded cleanly across all 15 routes.5. Acceptance Criteria
Decision: APPROVED for squash merge into
main.