- 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
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.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.Return type
A struct containing the result fields.
Example
Load the rasters with theraster data source, with tiling off so that each file is one raster:

