synthesizeAssociationGeometries

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

The utility network associations model connectivity, containment, and structure relations between assets. Associations do not have a spatial presence, so this function synthesizes the associations by providing an extent, and returning all associations within the extent.

Method Overview

Name Return Type Summary Object

Given an extent, returns all associations within this extent and their synthesized geometries.

synthesizeAssociationGeometries

Method Details

synthesizeAssociationGeometries

Method
synthesizeAssociationGeometries(url, params, requestOptions){Promise<AssociationGeometriesResult>}

Given an extent, returns all associations within this extent and their synthesized geometries.

Parameters
url String

URL to the ArcGIS Server REST resource that represents a UttilityNetwork.

The parameters required by this functions include extent, what types of associations to return, spatial reference and more

requestOptions Object
optional

Additional options to be used for the data request.

Returns
Type Description
Promise<AssociationGeometriesResult> When resolved, the association geomtries result.

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