Voxel Layer

A voxel layer represents multidimensional spatial and temporal information in a 3D volumetric visualization. You can analyze the volume by slicing, creating sections or isosurfaces. For example, you can visualize atmospheric or oceanic data, a geological underground model, or space-time cubes as voxel layers.

Referenced by: operationalLayers

Properties

Property Details
customParameters A sequence of custom parameters appended to the URL of all requests related to a layer.
disablePopup disablePopups allows a client to ignore popups defined by the service item.
id A unique identifying string for the layer.
itemId Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
layerDefinition Additional properties that define drawing of a voxel layer.
layerType String indicating the layer type.
Valid value of this property Voxel
listMode To show or hide the layer in the layer list.
Valid values:
  • hide
  • show
showLegend Boolean value indicating whether to display the layer in the legend. Default value is true.
title A user-friendly string title for the layer that can be used in a table of contents. If this is not included, a title is derived from the service.
url The URL to the layer.
visibility Boolean property determining whether the layer is initially visible

voxelLayer Example

{
  "disablePopup": false,
  "id": "b8fd4a0871d4dc7822ac6d6bf233d46",
  "title": "ocean",
  "layerType": "Voxel",
  "url": "https://arcgis.com/tiles/0z60TleH1Y2qkUzY/arcgis/rest/services/ocean/SceneServer",
  "visibility": true,
  "layerDefinition": {
    "sections": [
      {
        "enabled": true,
        "id": 1,
        "href": "resources/sections/0ccc4cf611e1f0700111b066b939f366.bin.gz",
        "label": "Section 1",
        "point": [
          3,
          4,
          1
        ],
        "normal": [
          1,
          1,
          1
        ],
        "sizeInPixel": [
          32,
          32
        ],
        "variableId": 1
      }
    ],
    "style": {
      "currentVariableId": 0,
      "renderMode": "volume",
      "enableSections": true,
      "volumeStyles": [
        {
          "dynamicSections": [
            {
              "point": [
                10,
                5,
                2
              ],
              "normal": [
                -0.7808688094430305,
                -0.6246950475544243,
                0
              ],
              "label": "Section 1"
            }
          ],
          "volumeId": 0
        }
      ],
      "variableStyles": [
        {
          "variableId": 0,
          "transferFunction": {
            "alphaStops": [
              {
                "alpha": 0.5,
                "position": 0.25
              },
              {
                "alpha": 0.75,
                "position": 0.5
              }
            ],
            "interpolation": "nearest",
            "stretchRange": [
              327.131,
              2941.46
            ],
            "colorStops": [
              {
                "color": [
                  0,
                  48,
                  246,
                  255
                ],
                "position": 0
              },
              {
                "color": [
                  0,
                  52,
                  243,
                  255
                ],
                "position": 0.00392
              }
            ]
          }
        }
      ]
    }
  }
}

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