With ArcGIS Runtime you can add the following utility network capabilities to your app:
- Display a utility network (section below)—Visualize assets on a map and see how assets are connected.
- Trace how resources (gas, water, electricity, and so on) flow through a utility system network. For details, see this guide’s trace a utility network topic. To perform traces, your app must be licensed with a Utility Network extension license.
- Get associated utility elements. Associations let you model connectivity between points that are not coincident, the structural support of assets, and features encased within other features. For details, see the association section in this guide’s Trace a utility network topic.
To create, edit, manage, and configure a utility network, use ArcGIS Pro. Create it within an enterprise geodatabase, configure it, and publish it as a feature service so that it can be used in your ArcGIS Runtime app. For more information on creating utility networks, see in the utility network creation and configuration in the ArcGIS Pro documentation.
Every utility network contains at least one domain network and may contain tiers, subnetworks, and subnetwork controllers. The properties of these components define the characteristics of the subnetworks and drive tracing operations. In your ArcGIS Runtime app, you can access schema information about these components from a utility network definition (object AGSUtilityNetworkDefinition) .
For more information about utility networks, see What is a utility network in ArcGIS Pro's help.
For information about the logical structure of a utility network, see Structure of a utility network in ArcGIS Pro's help. Note that feature classes in ArcGIS Pro are similar to feature tables in ArcGIS Runtime.
Display a utility network
You can display and share a complete utility network using a web map. You should include at most one feature layer for every feature table in the utility network, as described in Access the utility network.
As an alternative to using a web map, you can create your own map programmatically, making use of subtype feature layers (known as subtype group layers in ArcGIS Pro and in the web map). Subtype feature layers allow symbology and other layer properties to be set on a per-subtype basis. Utility networks make extensive use of subtypes (referred to as asset groups within a utility network). For example, a device feature table from an electric utility network would include subtypes for fuses, switches, transformers, and other kinds of equipment.