About repairing network connectivity
This topic applies to ArcEditor and ArcInfo only.
While network features can be both created and edited in ArcInfo and ArcEditor, they are read-only in ArcView.
There are two tools available for repairing network connectivity—the Rebuild Connectivity tool and the Repair Connectivity command.
Rebuild Connectivity tool
The Rebuild Connectivity
tool incrementally rebuilds the connectivity between edges and junctions in the logical network. It can be used to repair any local inconsistency between geometry and network connectivity within a small area. To rebuild connectivity, you must select a layer in the table of contents that participates in the geometric network.
You can locate features that have lost network connectivity using the Verify Connectivity tool or command. The Rebuild Connectivity tool works on a user-defined area. Any feature that intersects the defined area will have its connectivity rebuilt.
Repair Connectivity command
The Repair Connectivity
command repairs network connectivity errors in the logical network. In a file or personal geodatabase, Repair Connectivity will repair the full extent of a geometric network. In the versioned environment, network connectivity will be repaired within the version currently being edited. The Repair Connectivity command is intended for use on the default version of a database once all the child versions have been reconciled and posted to Default. Any future child versions created from Default will benefit from any network inconsistencies that were repaired. Users should be cautious when running the Repair Connectivity command on the default version while it has outstanding child versions or when running this command on a child version; both can result in large numbers of conflicts when merging outstanding versions. To repair connectivity, you must select a layer in the table of contents that participates in the geometric network.
Repair Connectivity will identify and repair several types of network connectivity errors. Types of network connectivity errors include the following:
- Network features missing element IDs
- Network features with more than one element ID
- An element ID referencing a feature that no longer exists in the geometric network
- Inconsistent connectivity
During the process of repairing network connectivity, Repair Connectivity may perform actions that require user review. If warnings are encountered during repair of the network, a message box listing the type of warning, feature class, and Object ID of the feature is displayed at the end of the process. Types of warnings include the following:
- The command create new orphan junctions at the endpoints of edges where junctions were missing
- Features with invalid geometries were encountered, such as closed or multipart polylines
- The pressence of coincident junctions along an edge where connectivity needs to be established; the command arbitrarily connected one of the junctions
- No connectivity is established between junctions that are coincident with multiple vertices on the same edge feature
Repairing network feature geometry
When a feature with illegal network geometry has been identified in the network, the feature can be either deleted or repaired. The steps necessary for repairing a feature's geometry vary depending on the type of illegal geometry.
Illegal features that have an empty geometry or zero length cannot be repaired through the user interface. They must be either deleted or repaired programmatically.
Features that have the same start–stop vertex have one end that is not connected to a junction. To correct the feature's geometry, the end of the feature must be snapped to an existing junction or have a new junction feature snapped to the end of the illegal feature.