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.

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.
If property is present, must be one of the following values:
  • none
  • lowFourBit
  • highFourBit
  • absoluteValue
  • moduloTen
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.
Value of this property must be pointCloudClassBreaksRenderer

pointSizeAlgorithm Example

{
  "renderer": {
    "type": "pointCloudClassBreaksRenderer",
    "pointSizeAlgorithm": {
      "type": "pointCloudSplatAlgorithm",
      "scaleFactor": 1,
      "minSize": 4
    },
    "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

{
  "renderer": {
    "type": "pointCloudClassBreaksRenderer",
    "pointsPerInch": 10.0,
    "field": "",
    "colorClassBreakInfos": [
      {
        "classMinValue": 0,
        "classMaxValue": 422.87,
        "label": "406.59 - 422.87",
        "description": "",
        "color": [
          87.0,
          0.0,
          252.0
        ]
      },
      {
        "classMinValue": 422.87,
        "classMaxValue": 438.81,
        "label": "422.87 - 438.81",
        "description": "",
        "color": [
          89.0,
          168.0,
          253.0
        ]
      },
      {
        "classMinValue": 438.81,
        "classMaxValue": 466.8,
        "label": "438.81 - 466.8",
        "description": "",
        "color": [
          109.0,
          253.0,
          219.0
        ]
      },
      {
        "classMinValue": 466.8,
        "classMaxValue": 507.05,
        "label": "466.8 - 507.05",
        "description": "",
        "color": [
          221.0,
          254.0,
          96.0
        ]
      },
      {
        "classMinValue": 507.05,
        "classMaxValue": 593.73,
        "label": "507.05 - 593.73",
        "description": "",
        "color": [
          254.0,
          185.0,
          5.0
        ]
      }
    ]
  }
}

Feedback on this topic?