require(["esri/rest/networks/synthesizeAssociationGeometries"], (synthesizeAssociationGeometries) => { /* code goes here */ });
import * as synthesizeAssociationGeometries from "@arcgis/core/rest/networks/synthesizeAssociationGeometries.js";
esri/rest/networks/synthesizeAssociationGeometries
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.
- See also
Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Promise<AssociationGeometriesResult> | Given an extent, returns all associations within this extent and their synthesized geometries. | synthesizeAssociationGeometries |
Method Details
-
synthesizeAssociationGeometries
synthesizeAssociationGeometries(url, params, requestOptions){Promise<AssociationGeometriesResult>}
-
Given an extent, returns all associations within this extent and their synthesized geometries.
Parametersurl StringURL 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 RequestOptionsoptionalAdditional options to be used for the data request.
ReturnsType Description Promise<AssociationGeometriesResult> When resolved, the association geomtries result.