synthesizeAssociationGeometries

AMD: require(["esri/rest/networks/synthesizeAssociationGeometries"], (synthesizeAssociationGeometries) => { /* code goes here */ });
ESM: import * as synthesizeAssociationGeometries from "@arcgis/core/rest/networks/synthesizeAssociationGeometries";
Object: esri/rest/networks/synthesizeAssociationGeometries
Since: ArcGIS API 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 assocaitions by providing an extent, and returning all associations within the extent.

Method Overview

Name Return Type Summary Object
Promise<AssociationGeometriesResult>more details

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

more detailssynthesizeAssociationGeometries

Method Details

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 (will override requestOptions defined during construction).

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.