Repository navigation
fix: Render mesh from Web Mercator coordinates - #349
Merged
Merged
Conversation
Closed
yharby
added a commit
to walkthru-earth/objex
that referenced
this pull request
Mar 18, 2026
… patches Backport developmentseed/deck.gl-raster#349 which renders COG tile meshes in EPSG:3857 with COORDINATE_SYSTEM.CARTESIAN + model matrix instead of WGS84 linear interpolation. This eliminates per-vertex interpolation errors visible at high latitudes and improves rendering performance. Three pnpm patches applied until the next npm release: - @developmentseed/deck.gl-geotiff: PR #349 changes (CARTESIAN rendering, inverseFrom3857, NaN guards on projection functions, TileLayer prop forwarding) - @developmentseed/deck.gl-raster: clamp non-finite proj4 results in sampleReferencePointsInEPSG3857 to prevent "Invalid number null" crash when tile matrices extend beyond valid CRS domain - @developmentseed/raster-reproject: add 5000-iteration safety cap to Delatin mesh refinement loop to prevent browser hang on tiles with extreme Mercator non-linearity Also removes the old COGLayer.prototype.setState monkey-patch from CogViewer.svelte — NaN handling is now in the library patches.
2 of 3 tasks
aboydnw
added a commit
to developmentseed/cng-sandbox
that referenced
this pull request
Apr 21, 2026
…gl-geotiff 0.4 (#263) * chore(frontend): bump @developmentseed/deck.gl-geotiff to 0.4.0 Pulls in upstream mesh-from-Mercator rendering (developmentseed/deck.gl-raster#349) which projects source COGs to EPSG:3857 internally, eliminating per-vertex warping artifacts for non-Mercator sources. Also brings maxRequests, TileLayer refinement strategies, and a proj4 fix. Peer deps stay on deck.gl 9.2. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * feat(frontend): allow client COG rendering for any CRS v0.4 of @developmentseed/deck.gl-geotiff (deck.gl-raster PR #349) reprojects source COGs to EPSG:3857 internally and builds the mesh from Mercator coordinates, so non-Mercator sources (e.g. EPSG:4326) no longer warp visibly at zoom-out. Drops the CRS gate in evaluateClientRenderEligibility so geographic and other projected COGs can render client-side - which also unlocks the categorical hover tooltip for those datasets. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * docs: update project documentation Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.7 (1M context) <[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.
Change list
Closes #41, closes #153