Validate Network Topology (Utility Network)

Summary

Validates the network topology of a utility network after there have been edits to features in the network.

Usage

  • Inconsistencies between feature spatial edits and the network topology are marked with dirty areas.

  • When working with a utility network in an enterprise geodatabase it is important to understand the validate operation is handled differently depending on the method used. The Validate command on the ribbon uses synchronous processing, while the Validate Network Topology geoprocessing tool takes advantage of asynchronous processing.

    Dive-in:
    The asynchronous validation process uses the UtilityNetworkTools geoprocessing service. The UtilityNetworkTools service is preconfigured in the System folder for feature services that include a utility network. It has a longer time-out setting and is reserved for utility network geoprocessing tasks.

  • The network topology must be enabled.

  • When working with an enterprise geodatabase, the input utility network must be a utility network service.

  • When working with an enterprise geodatabase, only a single session can execute the validate operation at a time in the default version.

Parameters

LabelExplanationData Type
Input Utility Network

The utility network for which the network topology will be validated.

Utility Network; Utility Network Layer
Extent
(Optional)

The geographical extent used to validate the network topology.

  • Default—The extent will be based on the maximum extent of all participating inputs. This is the default.
  • Union of Inputs—The extent will be based on the maximum extent of all inputs.
  • Intersection of Inputs—The extent will be based on the minimum area common to all inputs.
  • Current Display Extent—The extent is equal to the visible display. The option is not available when there is no active map.
  • As Specified Below—The extent will be based on the minimum and maximum extent values specified.
  • Browse—The extent will be based on an existing dataset.
Extent

Derived Output

LabelExplanationData Type
Validated Network Topology

The validated utility network.

Utility Network

arcpy.un.ValidateNetworkTopology(in_utility_network, {extent})
NameExplanationData Type
in_utility_network

The utility network for which the network topology will be validated.

Utility Network; Utility Network Layer
extent
(Optional)

The geographical area for which to validate the network topology. This parameter is similar to the extent geoprocessing environment.

  • MAXOF—The maximum extent of all inputs will be used.
  • MINOF—The minimum area common to all inputs will be used.
  • DISPLAY—The extent is equal to the visible display.
  • Layer name—The extent of the specified layer will be used.
  • Extent object—The extent of the specified object will be used.
  • Space delimited string of coordinates—The extent of the specified string will be used. Coordinates are expressed in the order of x-min, y-min, x-max, y-max.
Extent

Derived Output

NameExplanationData Type
out_utility_network

The validated utility network.

Utility Network

Code sample

ValidateNetworkTopology example (Python window)

Validate a network topology for the entire extent of a utility network named GridNetwork.

import arcpy
arcpy.ValidateNetworkTopology_un('GridNetwork', 'Default')

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics