PointCloud ClassBreaks Renderer

PointCloudClassBreaksRenderer defines the color of each point in a PointCloudLayer based on the value of a numeric attribute. Colors are assigned based on classes or ranges of data. Each point is assigned a symbol based on the class break in which the value of the attribute falls.

Referenced by: PointCloud Renderers

Properties

Property Details
colorClassBreakInfos[] Each element in the array is an object that provides information about a class break associated with the renderer.
colorModulation Indicates whether modulation should be used to render the point.
field The name of the field that is used for the renderer.
fieldTransformType A transform that is applied to the field value before evaluating the renderer.
Valid values:
  • absoluteValue
  • highFourBit
  • lowFourBit
  • moduloTen
  • none
legendOptions A legend containing one title, which is a string describing the renderer in the legend.
pointSizeAlgorithm Size algorithms for point cloud performance.
pointsPerInch Number of point to draw per display inch.
type Specifies the type of renderer used.
Valid value of this property pointCloudClassBreaksRenderer

pointSizeAlgorithm Example

{
  "type": "pointCloudClassBreaksRenderer",
  "pointSizeAlgorithm": {
    "type": "pointCloudSplatAlgorithm",
    "scaleFactor": 1
  },
  "pointsPerInch": 10,
  "field": "ELEVATION",
  "colorClassBreakInfos": [
    {
      "classMinValue": 0,
      "classMaxValue": 422.87,
      "label": "406.59 - 422.87",
      "description": "",
      "color": [
        87,
        0,
        252
      ]
    },
    {
      "classMinValue": 422.87,
      "classMaxValue": 438.81,
      "label": "422.87 - 438.81",
      "description": "",
      "color": [
        89,
        168,
        253
      ]
    },
    {
      "classMinValue": 438.81,
      "classMaxValue": 466.8,
      "label": "438.81 - 466.8",
      "description": "",
      "color": [
        109,
        253,
        219
      ]
    },
    {
      "classMinValue": 466.8,
      "classMaxValue": 507.05,
      "label": "466.8 - 507.05",
      "description": "",
      "color": [
        221,
        254,
        96
      ]
    },
    {
      "classMinValue": 507.05,
      "classMaxValue": 593.73,
      "label": "507.05 - 593.73",
      "description": "",
      "color": [
        254,
        185,
        5
      ]
    }
  ]
}

Example

{
  "type": "pointCloudClassBreaksRenderer",
  "pointsPerInch": 10,
  "field": "",
  "colorClassBreakInfos": [
    {
      "classMinValue": 0,
      "classMaxValue": 422.87,
      "label": "406.59 - 422.87",
      "description": "",
      "color": [
        87,
        0,
        252
      ]
    },
    {
      "classMinValue": 422.87,
      "classMaxValue": 438.81,
      "label": "422.87 - 438.81",
      "description": "",
      "color": [
        89,
        168,
        253
      ]
    },
    {
      "classMinValue": 438.81,
      "classMaxValue": 466.8,
      "label": "438.81 - 466.8",
      "description": "",
      "color": [
        109,
        253,
        219
      ]
    },
    {
      "classMinValue": 466.8,
      "classMaxValue": 507.05,
      "label": "466.8 - 507.05",
      "description": "",
      "color": [
        221,
        254,
        96
      ]
    },
    {
      "classMinValue": 507.05,
      "classMaxValue": 593.73,
      "label": "507.05 - 593.73",
      "description": "",
      "color": [
        254,
        185,
        5
      ]
    }
  ]
}

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