Skip to content

feat(geotiff): Support multi-tile fetching#406

Merged
kylebarron merged 2 commits intomainfrom
kyle/geotiff-fetch-tiles
Apr 9, 2026
Merged

feat(geotiff): Support multi-tile fetching#406
kylebarron merged 2 commits intomainfrom
kyle/geotiff-fetch-tiles

Conversation

@kylebarron
Copy link
Copy Markdown
Member

Change list

  • Adds new GeoTIFF.fetchTiles and Overview.fetchTiles to fetch multiple tiles at once from a GeoTIFF. For now this just makes multiple requests, but in the future we'll coalesce tile requests.
  • Adds a new assembleTiles helper to stitch multiple contiguous tiles into a single RasterArray.

kylebarron and others added 2 commits April 9, 2026 17:58
fetchTiles: fetches multiple tiles in parallel, mirroring the Python
async-geotiff API. Designed for future I/O coalescing.

assembleTiles: stitches multiple fetched tiles into a single RasterArray,
preserving the original typed array type. Handles both pixel-interleaved
and band-separate layouts, plus mask assembly. Validates that input tiles
form a contiguous rectangular grid.

Both methods added to GeoTIFF and Overview classes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added the feat label Apr 9, 2026
@kylebarron kylebarron enabled auto-merge (squash) April 9, 2026 22:14
@kylebarron kylebarron merged commit 47afad5 into main Apr 9, 2026
3 checks passed
@kylebarron kylebarron deleted the kyle/geotiff-fetch-tiles branch April 9, 2026 22:14
@ds-release-bot ds-release-bot bot mentioned this pull request Apr 7, 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