Skip to content

Compare native deck.gl rendering in Centered Oblique Mercator - #525

Draft
ibgreen wants to merge 1 commit into
masterfrom
codex/centered-omerc-deck-view
Draft

ibgreen wants to merge 1 commit into
masterfrom
codex/centered-omerc-deck-view

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Replace the standalone deck.gl projection demo with a renderer selector in the existing Centered Oblique Mercator example. Prepared paths and native _CustomProjectionView rendering share the qualified geographic samples and prepared math.gl descriptor, retaining the selected math.gl or proj4js converter, local bounds, and execution identity. Switching renderers recreates Deck on the same canvas; engine changes retain the instance.

Upstream and release dependency

Depends on visgl/deck.gl#11106. Passing only a PROJ string would make deck.gl resolve the CRS with its own engine and lose the proj4js comparison. The upstream API accepts the prepared descriptor and distinguishes execution identities in view equality and projection caches.

Keep this PR in draft: the pinned deck.gl 10.0.0-alpha.1 does not support prepared descriptors. Before marking ready, merge and publish the upstream change, update the deck.gl packages together to a release containing it, regenerate the lockfile, and rerun the renderer comparison from a clean install. A successful static build is not evidence of runtime compatibility. No patched dependency files or local deck.gl paths are committed. Repository math.gl source resolution is retained.

Verification

The example build, repository lint, and all four Centered Oblique Mercator recipe tests passed. Local Chromium parity used an unpublished build of the upstream PR: at Fiji (180°E, 17°S, orientation 35°), all 3,281 orange boundary pixels matched within two pixels in both directions for each backend. Viewport coordinates matched prepared coordinates within 3.3e-10 meters after unit conversion. This verifies the qualified local patch, not general global domains.

The broader pre-commit Node suite reported a timeout in the unrelated regional littrow: clipped geometry test and was stopped; the commit bypassed that hook after lint and focused validation. The complete CI workflow subsequently passed on this head, including Node tests, browser coverage, browser examples, and projection qualification/performance checks. These green checks do not remove the unpublished API dependency.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 43525076559

Coverage remained the same at 92.728%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 41562
Covered Lines: 39524
Line Coverage: 95.1%
Relevant Branches: 29977
Covered Branches: 26813
Branch Coverage: 89.45%
Branches in Coverage %: Yes
Coverage Strength: 100765.39 hits per line

💛 - Coveralls

This branch has not been deployed

No deployments
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.

2 participants