Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Class: DimensionalDefinition

dojo.require("esri.layers.DimensionalDefinition")

Description

(Added at v3.11)
A dimensional definition defines a filter based on one variable and one dimension. There can be one or multiple dimensional slices filtered.

Samples

Search for samples that use this class.

Constructors

NameSummary
new esri.layers.DimensionalDefinition(json)Create a new dimensional definition object from an existing json object.

Properties

NameTypeSummary
dimensionNameString(Optional) The dimension associated with the variable.
isSliceBooleanIndicates whether the values indicate slices (rather than ranges).
valuesObject[]An array of tuples (min, max) each defining a range of valid values along the specified dimension.
variableNameStringThe variable name by which to filter.

Methods

NameReturn typeSummary
toJson()ObjectConverts object to its ArcGIS Server JSON representation.
Constructor Details

new esri.layers.DimensionalDefinition(json)

Create a new dimensional definition object from an existing json object.
Parameters:
<Object> json Required The REST JSON representation for Dimensional Definition.
Options:
<String> dimensionName Optional The dimension associated with the variable.
<Boolean> isSlice Optional Needed if using special data.
<Object[]> values Required Each element can be a single value, or an array of two values (lower and upper bound). The type of these values are based on dimensionName.
<String> variableName Required The name of the variable.
Property Details

<String> dimensionName

(Optional) The dimension associated with the variable.

<Boolean> isSlice

Indicates whether the values indicate slices (rather than ranges).
Known values: true | false
Default value: false

<Object[]> values

An array of tuples (min, max) each defining a range of valid values along the specified dimension.

<String> variableName

The variable name by which to filter.
Method Details

toJson()

Converts object to its ArcGIS Server JSON representation.
Return type: Object
Show Modal