Raster Preset Renderer Definition

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

Referenced by: Raster Layer Definition

Properties

Property Details
bandIds[] An array of band ids that are visible.
method The method by which to apply the renderer.
Valid values:
  • none
  • rasterFunctionTemplate
  • variable
name The unique name of the renderer.
renderer The renderer object that can be applied to the layer.
value The 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"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close