Skip to content
import InputQuantizationParameters from "@arcgis/core/rest/knowledgeGraph/InputQuantizationParameters.js";
Inheritance:
InputQuantizationParametersAccessor
Since
ArcGIS Maps SDK for JavaScript 4.25

Custom quantization parameters for input geometry that compresses geometry for transfer to the server. Overrides the default lossless WGS84 quantization.

See also
Example
//sample implementation of an input quantization parameter
//query entities within a bounding box
const query = "MATCH (n) WHERE esri.graph.ST_Intersects($param_filter_geom, n.geometry) RETURN n"
KnowledgeGraphModule.executeQueryStreaming(
knowledgeGraph,
{
openCypherQuery: query,
bindParameters: {
param_filter_geom: new Polygon({
rings: [
[
[-89, -89],
[89, -89],
[89, 89],
[-89, 89],
[-89, -89],
],
],
}),
},
inputQuantizationParameters: {
xyResolution: 0.003,
xFalseOrigin: 25,
yFalseOrigin: 25,
zResolution: 1,
zFalseOrigin: 1,
mResolution: 1,
mFalseOrigin: 1,
},
}
}
);

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

mFalseOrigin

Property
Type
number | null | undefined

Origin of M-Values.

mResolution

Property
Type
number | null | undefined

Number of significant digits for M-Values.

xFalseOrigin

Property
Type
number | null | undefined

False origin of x values of the quantization grid.

xyResolution

Property
Type
number | null | undefined

Number of significant digits for the x and y coordinates.

yFalseOrigin

Property
Type
number | null | undefined

False origin for y-values of the quantization grid.

zFalseOrigin

Property
Type
number | null | undefined

The false origin of the Z-values.

zResolution

Property
Type
number | null | undefined

Number of significant digits of the Z-Values.