Skip to content

feat: Generic TileMatrixSet support in tileset#208

Draft
kylebarron wants to merge 7 commits intomainfrom
kyle/generic-tms
Draft

feat: Generic TileMatrixSet support in tileset#208
kylebarron wants to merge 7 commits intomainfrom
kyle/generic-tms

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Jan 28, 2026

I want to make the Tileset2D generic over a TileMatrixSet, and I want it to be able to handle most tileset definitions that conform to the spec.

This should make it easier for Lonboard to generate a TMS from async-geotiff, pass the TMS definition to JS, and then have it auto-fetch tiles from Python according to that tiling system.

Change list

  • projection functions like projectToWgs84 should not be a part of the TileMatrixSet definition. The definition should be data-only.
  • It would be nice for the @developmentseed/deck.gl-raster package to remain without a dependency on proj4.js

Todo

  • Rename tileset class tile TMSTileset?
  • We need to generate a WGS84 bounding box given the TileMatrixSet input
  • Switch to auto-generated types defined in https://github.com/developmentseed/morecantile-ts
  • Later: move any morecantile-related utilities to morecantile-ts

Closes #216

@github-actions github-actions bot added the feat label Jan 28, 2026
@kylebarron kylebarron marked this pull request as draft January 28, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use exact TileMatrixSet specification

1 participant