Available with Standard or Advanced license.
While network features can be both created and edited in ArcGIS Desktop Advanced and Desktop Standard, they are read-only in Desktop Basic.
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. When the Repair Connectivity command is run, the user is given the choice to run the command against the entire network or the current extent. The Repair Connectivity command can be used against any version in a geodatabase, including the Default version. The command is primarily intended for use on the default version of a database once all the child versions have been reconciled and posted to Default, so that any future child versions created from Default will benefit from any network inconsistencies that were repaired. To repair connectivity, you must select a layer in the table of contents that participates in the geometric network.
When run on the entire 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
In addition to the before mentioned checks, the Repair Network Connectivity command can also be run against the geometric network features within the current extent. These checks are limited to an extent since they take more time to complete since they compare the geometric coincidence of network features with the logical connectivity. The list of more exhaustive checks that are performed include:
- 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
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.