ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Verify And Repair Geometric Network Connectivity

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

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

Usage

  • The types of inconsistent network connectivity this tool will find include the following:

    • A network with no corresponding network elements
    • A network feature with one or more missing network elements
    • A network feature with duplicate network elements
    • A network feature associated with inconsistent or invalid network elements
    • A network feature associated with or connected to a nonexistent network feature

  • Unlike the Verify Connectivity and Repair Connectivity commands within ArcMap, the Verify And Repair Geometric Network Connectivity tool will not produce a selected set of features. Features with inconsistent connectivity are written to the Output Log File.

  • Any warnings generated by this tool that you need to be aware of are written to the progress dialog window, the Results window, and the Output Log File.

  • When running this tool with the Repair network after verify completes option unchecked (verify_or_repair set to VERIFY_ONLY in Python), if any network inconsistencies are discovered, the tool should be re-run with the Repair network after verify completes parameter checked (verify_or_repair set to VERIFY_AND_REPAIR in Python).

  • When running this tool with the Perform exhaustive check within extent option checked (exhaustive_check set to EXHAUSTIVE_CHECK in Python), additional checks are performed against the network features within the specified extent. The types of additional checks this tool will perform include the following:

    • A network junction that is not coincident with edges to which it is connected
    • A network element associated with a zero length edge
    • A network edge with invalid edge element order

  • This tool outputs a Boolean value to be used when the tool is run in verify only mode. A value of True indicates network inconsistencies were found and the tool should be re-run in repair mode. A value of False indicates no inconsistencies were found and no further action is required. When run in repair mode, this value can be ignored. This value can be used in ModelBuilder as a precondition for executing other tools.

  • When using this tool in Python scripts, the result object returned from tool execution has the following outputs:

    PositionDescriptionData Type

    0

    Log File

    File

    1

    Issues Found

    Boolean

  • Note:

    This tool is available in version 10.2.1 and later.

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_REPAIR —After 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_CHECK —Do not perform the exhaustive check. This is the default.
  • EXHAUSTIVE_CHECK —Perform 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

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

Licensing information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the Geometric Network toolset

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal