Skip to content

Docs add deckgl raster tutorial#530

Open
aboydnw wants to merge 4 commits into
microsoft:developfrom
aboydnw:docs-add-deckgl-raster-tutorial
Open

Docs add deckgl raster tutorial#530
aboydnw wants to merge 4 commits into
microsoft:developfrom
aboydnw:docs-add-deckgl-raster-tutorial

Conversation

@aboydnw
Copy link
Copy Markdown
Contributor

@aboydnw aboydnw commented Jun 2, 2026

Based on the outline here

aboydnw and others added 4 commits May 30, 2026 00:11
Adds a tutorial walking through Cloud Optimized GeoTIFF rendering in
the browser with deck.gl-raster — for building standalone web apps
on Planetary Computer data. No companion notebook (TypeScript/React).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The tutorial scaffolded a Vite/React app around APIs that don't work as
written: COGLayer({url}) (the real prop is geotiff:), a backend signing
proxy (the PC sign endpoint is public/anonymous), and colormap/rescale
props COGLayer doesn't have. It also linked a deckgl-raster-example repo
that doesn't exist.

Replace it with a working, committed single index.html: an esm.sh import
map (no build), client-side anonymous signing, COGLayer with a
main-thread DecoderPool (size: 0) to dodge the cross-origin-worker block,
and a MapboxOverlay basemap. Add the rendered-app screenshot and a real
206 range-request log.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace em dashes with sentence splits, commas, and colons, and rename the
trailing-ellipsis section header to a plain statement.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Match the developmentseed/deck.gl-raster examples more closely: interleaved
MapboxOverlay with beforeId so basemap labels stay on top, and
onGeoTIFFLoad -> fitBounds to frame the scene from its own bounds instead
of a STAC bbox. Also make the control panel background solid (it was
slightly transparent and bled the imagery behind it) and refresh the
screenshot.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aboydnw aboydnw marked this pull request as ready for review June 2, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant