Skip to content

feat: Debug view for MultiCOGLayer#410

Merged
kylebarron merged 7 commits intomainfrom
kyle/multi-cog-debug-view
Apr 10, 2026
Merged

feat: Debug view for MultiCOGLayer#410
kylebarron merged 7 commits intomainfrom
kyle/multi-cog-debug-view

Conversation

@kylebarron
Copy link
Copy Markdown
Member

@kylebarron kylebarron commented Apr 10, 2026

For #142, related to #147

Change list

  • Introduce UvTransform named tuple type (readonly [offsetX, offsetY, scaleX, scaleY]) as a shared type in deck.gl-raster
    • This replaces the bare [number, number, number, number] type, which makes it hard to know what each item is doing.
  • Add debug, debugOpacity, and debugLevel props to MultiCOGLayer
  • Preserve secondary tile CRS corners and metadata during fetch when debug: true
  • Render color-coded tile boundary outlines per tileset (red for primary, cyan/yellow/magenta/lime for secondaries) using PathLayer
  • Render tiered text labels at tile centers using TextLayer, with 3 verbosity levels:
    • Level 1: tile index + resolution
    • Level 2: + UV transform + tile count
    • Level 3: + stitched dimensions + meters/pixel
  • Forward debug/debugOpacity to RasterLayer for reprojection mesh overlay
  • Add debug toggle checkbox, detail level selector, and opacity slider to Sentinel-2 example app

Future work

  • UV transform sub-region visualizer
  • Interactive toggling of individual tileset overlays
image image image image image

kylebarron and others added 7 commits April 10, 2026 12:27
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ayer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…l-2 example

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant