RS_Stack_Aggr expects the following input, if not satisfied then will throw an IllegalArgumentException:
- Indexes to be in an arithmetic sequence without any gaps.
- Indexes to be unique and not repeated.
- Rasters should be of the same shape.
RS_Stack_Aggr replaces RS_Union_Aggr. It stacks bands from rasters with matching shapes; it does not mosaic spatially adjacent raster grids. The old function name is removed. See Geometry and raster API migration.Signatures
Parameters
Raster
required
The raster column containing the input rasters to be combined.
Integer
required
The index column specifying the band order for stacking.
Return type
The resulting raster.

