- 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.

