Repository navigation
refactor(examples): rename usgs-topo-cutline to usgs-topo and use the default pipeline - #741
Merged
Merged
Conversation
… default pipeline The example's custom tile loader and render pipeline only padded RGB to RGBA and uploaded a texture, which COGLayer's inferred pipeline already does for these JPEG-compressed RGB sheets. Since #739 the collar is cut with ClipExtension rather than a render-pipeline module, so nothing in the example needs a custom pipeline any more. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kylebarron
added a commit
that referenced
this pull request
Oct 21, 2026
> [!NOTE] > This PR was written by Claude (Claude Code), not by @kylebarron. Adds a "USGS Historical Topo Maps" card to the COG section of the examples page. It links to the `usgs-topo` example (renamed in #741), and its description points to deck.gl's `ClipExtension`, which cuts away each sheet's collar. The card image is a Mount St Helens (1919) screenshot by @kylebarron at 2488x1404 (about 16:9, the same size as the COG on Terrain card). 🤖 Written by [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR was written by Claude (Claude Code), not by @kylebarron.
Renames the
usgs-topo-cutlineexample tousgs-topoand removes its custom tile pipeline.getTileDatapadded RGB to RGBA and uploaded a texture, and itsrenderTilereturned onlyCreateTexture.COGLayer's inferred pipeline does the same for these JPEG-compressed RGB sheets and destroys its own textures, so the customgetTileData,renderTile,onTileUnload, thergbToRgbahelper and the../../../packages/deck.gl-geotiff/disttype import are gone. Since refactor(deck.gl-raster)!: remove CutlineBbox in favor of deck.gl's ClipExtension #739 the collar is cut withClipExtension, which doesn't need a render-pipeline module.deck.gl-usgs-topo-example), thepublishscript, the vitebase, the page title and the control panel's source link.@developmentseed/deck.gl-rasterand@developmentseed/geotiff, which the example no longer imports. What's left matchescog-basic.The deployed URL moves from
/examples/usgs-topo-cutline/to/examples/usgs-topo/. The old URL will 404. Nothing on the docs site links to it.I checked the example in Chrome. With the default pipeline, the Emigrant Gap (1955) and Moab (1885) sheets render with the same colours as before, and the cutline on/off toggle still works.
Closes #740
🤖 Written by Claude Code