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.

The developer dashboard has moved

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close