Skip to content

feat(dggs): consolidate decoders into one module - #59

Open
ibgreen-openai wants to merge 2 commits into
masterfrom
ib/dggs-improvs
Open

feat(dggs): consolidate decoders into one module#59
ibgreen-openai wants to merge 2 commits into
masterfrom
ib/dggs-improvs

Conversation

@ibgreen-openai

@ibgreen-openai ibgreen-openai commented May 13, 2025

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the experimental @math.gl/dggs-geohash, @math.gl/dggs-quadkey, and @math.gl/dggs-s2 packages with one @math.gl/dggs package.
  • Export GeohashDecoder, QuadkeyDecoder, and S2Decoder objects that implement the shared DGGSDecoder API.
  • Migrate @math.gl/expressions to the consolidated package and preserve its existing DGGS function-library names.
  • Add migration guidance and consolidated API documentation.

Review focus

  1. feat(dggs): consolidate decoders into one module — package/source migration, expressions integration, lockfile, and decoder tests.
  2. docs(dggs): document consolidated decoder API — documentation moves, API reference, and upgrade guidance.

Most of the file count is package/document relocation. The functional changes are concentrated in the decoder objects, S2 Hilbert conversion, and expressions adapter.

Split decision

Kept as one PR because package removal, replacement exports, consumer migration, and lockfile updates must land atomically. The history is split into implementation and documentation commits for review.

Validation

  • yarn lint
  • yarn test node: 2,765 passing
  • yarn test browser-headless: 2,765 passing
  • yarn build

@ibgreen-openai ibgreen-openai changed the title feat: DGGS module now expoert interchangeable decoder objects feat: DGGS module now export interchangeable decoder objects May 13, 2025
@ibgreen ibgreen changed the title feat: DGGS module now export interchangeable decoder objects feat(dggs): consolidate decoders into one module Jul 29, 2026
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