Defines a raster renderer with associated associated information of multidimensional variable or raster function template.

Referenced by: Raster Layer Definition

Properties

PropertyDetails
bandIds[]An array of band ids that are visible.
methodThe method by which to apply the renderer.
Valid values:
  • none
  • rasterFunctionTemplate
  • variable
nameThe unique name of the renderer.
rendererThe renderer object that can be applied to the layer.
valueThe corresponding variable or raster function template name.

Example

{
"name": "Seatemperature",
"method": "variable",
"value": "water_temp",
"bandIds": [
0
],
"renderer": {
"colorRamp": {
"type": "multipart",
"colorRamps": [
{
"type": "algorithmic",
"algorithm": "esriHSVAlgorithm",
"fromColor": [
56,
168,
0,
255
],
"toColor": [
255,
255,
0,
255
]
},
{
"type": "algorithmic",
"algorithm": "esriHSVAlgorithm",
"fromColor": [
255,
255,
0,
255
],
"toColor": [
255,
0,
0,
255
]
}
]
},
"dra": false,
"gamma": [
1
],
"max": 255,
"min": 0,
"useGamma": false,
"stretchType": "minMax",
"type": "rasterStretch"
}
}