import InputQuantizationParameters from "@arcgis/core/rest/knowledgeGraph/InputQuantizationParameters.js";const InputQuantizationParameters = await $arcgis.import("@arcgis/core/rest/knowledgeGraph/InputQuantizationParameters.js");- Inheritance
- InputQuantizationParameters→
Accessor
- 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 boxconst 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
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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.
| Property | Type | Class |
|---|---|---|
| readonly inherited | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| |