Verify And Repair Geometric Network Connectivity (Data Management)

License Level:BasicStandardAdvanced

Summary

Detects and optionally repairs a variety of connectivity and geometry problems within geometric networks.

Usage

Syntax

VerifyAndRepairGeometricNetworkConnectivity_management (geometric_network, out_log, {verify_or_repair}, {exhaustive_check}, {extent})
ParameterExplanationData Type
geometric_network

The geometric network to verify.

Geometric Network
out_log

A log file containing details about the progress of the tool.

File
verify_or_repair
(Optional)

Indicates whether connectivity errors will be repaired or not.

  • VERIFY_ONLY Run verification checks for the geometric network for connectivity errors but do not perform repair. This is the default.
  • VERIFY_AND_REPAIRAfter completion of the verification checks, perform repair of the connectivity errors.
Boolean
exhaustive_check
(Optional)

Indicates whether an exhaustive check will be performed against the geometric network. The exhaustive check will increase the time the tool will take to complete. Therefore, it is recommended that it be run over a subset of the geometric network such as the extent of edits made within a version.

  • NO_EXHAUSTIVE_CHECKDo not perform the exhaustive check. This is the default.
  • EXHAUSTIVE_CHECKPerform the exhaustive check over the extent provided.
Boolean
extent
(Optional)

The four coordinates defining the extent over which the exhaustive check will be run. The extent is specified as X-Minimum, Y-Minimum, X-Maximum, Y-Maximum.

Extent

Code Sample

VerifyAndRepairGeometricNetworkConnectivity example (stand-alone Python script)

The following stand-alone Python script demonstrates how to use VerifyandRepairGeometricNetworkConnectivity in a Python script to verify a geometric network and use the exhaustive check over a subset of the features.

# Import arcpy module
import arcpy

# Local variables:
Water_Net = "C:\\testing\\GeometricNetworks\\Montgomery.gdb\\Water\\Water_Net"

# Process: Remove Feature Class From Geometric Network
arcpy.VerifyAndRepairGeometricNetworkConnectivity_management("Water_Net”, r"c:\temp\Water_Net.log", "VERIFY_ONLY", "EXHAUSTIVE_CHECK", “1952602 294196 1953546 296176")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015