integrateOperator

AMD: require(["esri/geometry/operators/integrateOperator"], (integrateOperator) => { /* code goes here */ });
ESM: import * as integrateOperator from "@arcgis/core/geometry/operators/integrateOperator.js";
Object: esri/geometry/operators/integrateOperator
Since: ArcGIS Maps SDK for JavaScript 4.31

Performs an Integration operation on a set of 2D geometries. This operator cleans up topological inconsistencies in the set. It inserts vertices where segments intersect other segments or points. It removes slivers and collapses close vertices. As a result of the operation, the geometries in the integrated set intersect only at vertices and there are no points that are closer than spatial reference tolerance in the XY plane.

Property Overview

Name Type Summary Object

Indicates if the operator supports input geometries that contain curves.

integrateOperator

Property Details

supportsCurves

Property
supportsCurves Booleanreadonly

Indicates if the operator supports input geometries that contain curves.

Default Value:true

Method Overview

Name Return Type Summary Object

Performs the topological integration of the geometry set in the XY plane.

integrateOperator

Method Details

executeMany

Method
executeMany(geometries){GeometryUnion[]}

Performs the topological integration of the geometry set in the XY plane.

Parameter
geometries GeometryUnion[]

The set of geometries to integrate. All the geometries must have the same spatial reference.

Returns
Type Description
GeometryUnion[] Returns the result of the subtraction. The operation filters out degenerate segments. The result geometry will not contain any segments with the 2D projection that are shorter than the XY tolerance.
Example
// Integrate a set of geometries
const result = integrateOperator.executeMany(geometries);

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