Function: assembleTiles()
assembleTiles(
tiles,opts):RasterArray
Defined in: assemble.ts:39
Assemble multiple fetched tiles into a single RasterArray.
Handles both pixel-interleaved and band-separate layouts, preserving the
original typed array type (e.g. Float32Array, Uint16Array). Masks are
assembled alongside data when present.
The output array's transform, crs, and nodata are taken from the
top-left tile (the tile at (minCol, minRow)).
Parameters
tiles
Tile[]
Fetched tiles to assemble. Must form a contiguous rectangular grid and all share the same layout, band count, and typed array type.
opts
Describes the output grid dimensions and tile positions.
Returns
A single RasterArray containing the assembled data.