Skip to content

fix: Fix TileMatrixSetTileset projected bounds computation for each tile - #274

Merged
kylebarron merged 1 commit into
mainfrom
kyle/fix-projected-bounds
Feb 27, 2026
Merged

kylebarron merged 1 commit into
mainfrom
kyle/fix-projected-bounds

Conversation

@kylebarron

@kylebarron kylebarron commented Feb 27, 2026 •

Copy link
Copy Markdown
Member

We were unintentionally doubling the affine translation because we were applying image pixel coordinates to the tile's transform. It would've been correct if we were applying image pixel coordinates to the matrix's transform. But in the general case a TMS might not have a single transform for the entire matrix, so we prefer using the tile transform.

Before:

image

After:

image

@github-actions github-actions Bot added the fix label Feb 27, 2026
@kylebarron kylebarron changed the title fix: Fix projected bounds computation for each tile fix: Fix TileMatrixSetTileset projected bounds computation for each tile Feb 27, 2026
@kylebarron
kylebarron merged commit ce0bb09 into main Feb 27, 2026
5 checks passed
@kylebarron
kylebarron deleted the kyle/fix-projected-bounds branch February 27, 2026 23:11
@ds-release-bot ds-release-bot Bot mentioned this pull request Feb 27, 2026
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.

1 participant