Stack a given array of rasters into a single raster. The rasters are stacked in the order they are provided in the array. The function also explodes the stacked raster into multiple tiles. This function handles rasters that are not aligned and having different resolutions, data types and coordinate reference systems:Documentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
- The CRS and resolution of the output raster will be the same as the selected reference raster.
- The data type of the output raster will be the most precise data type among all stacked bands.
Signatures
Parameters
An array of rasters to be stacked.
The zero-based index of the reference raster in the array of rasters. The CRS and resolution of the output raster will be the same as the reference raster. If
refRasterIndex is -1, the last raster in the array will be used as the reference raster.The width of the tiles in the output raster.
The height of the tiles in the output raster.
A boolean flag to determine whether to pad the output raster with no data values. If
padWithNoData is true, the output raster will be padded with noDataValue.The no data value to use when padding the output raster.
Return type
A struct containing the result fields.

