Skip to main content
Returns a combined multi-band raster from 2 or more input Rasters. The order of bands in the resultant raster will be in the order of the input rasters. For example if RS_Union is called on two 2-banded raster, raster1 and raster2, the first 2 bands of the resultant 4-banded raster will be from raster1 and the last 2 from raster 2.
If the provided input Rasters don’t have same shape an IllegalArgumentException will be thrown.
RS_Union

Signatures

Parameters

Raster
required
The raster1 value.
Raster
required
The raster2 value.
Raster
The raster3 value.
Raster
The raster4 value.
Raster
The raster5 value.
Raster
The raster6 value.
Raster
The raster7 value.

Return type

The resulting raster.

Example