The RGB composite operator computes pixel-wise rgba values on three raster sources, referred to as red, green, and blue. They fill the red, green, and blue parts of the output, which are U32 pixels, respectively. Internally, the four bytes of the (unitless) U32 are filled with red, green, blue and alpha information. The special rgba colorizer symbology treats the values "as is" and maps them to the RGB output.
RGB
U32
rgba
redMin
number
0
redMax
255
redScale
[0, 1]
1
greenMax
greenMin
greenScale
0.5
blueMin
blueMax
blueScale
0.75
The RGB composite operator expects three raster inputs.
red
SingleRasterSource
green
blue
The parsing of the parameters can fail if, e.g., scale values are not in the range [0, 1].
{ "type": "Rgb", "params": { "redMin": 0, "redMax": 2000, "redScale": 1, "greenMin": 0, "greenMax": 2000, "greenScale": 1, "blueMin": 0, "blueMax": 2000, "blueScale": 1 }, "sources": { "red": { "type": "GdalSource", "params": { "data": "sentinel2-b2" } }, "green": { "type": "GdalSource", "params": { "data": "sentinel2-b3" } }, "blue": { "type": "GdalSource", "params": { "data": "sentinel2-b4" } } } }