Checking valency
When features are included in a network, such as roads, powerlines, pipelines, and so forth, the product specification may contain requirements for the way these features relate to points that connect them. This is referred to as valency. For instance, it may be required that all major intersections have four roads at a junction, or that a tee fitting on a water main has three pipe lines connected to it.
The Valency check allows you to specify the conditions to validate between line and point features in the data. The relationships can be defined for a point and line feature class or for two line feature classes. You can indicate that a point from Feature Class 1 should be connected to three lines in Feature Class 2 or identify two lines that are connected but have different sizes.
Some scenarios for using this check include the following:
- Identifying reducer fittings that are not connected to two pipes
- Identifying reducer fittings that are connected to two pipes with different diameters
- Identifying two adjacent lines with different sizes that are not connected to a reducer fitting
- Identifying two adjacent sewage lines that flow into the same manhole
Once you have defined the criteria for the check, you can configure the notes and a severity rating. The notes allow you to provide a more specific description for the feature that has been written to the Reviewer table and are copied to the Notes field in the Reviewer table. The severity rating allows you to indicate how important the results from a check are in terms of your quality assurance/quality control processes. The lower the number, the greater the priority the check's results have.
- Start ArcMap.
- On the main menu, click Customize > Toolbars > Data Reviewer.
- Click the Select Data Check drop-down arrow on the Data Reviewer toolbar, click the plus sign (+) next to Advanced Checks, then click Valency Check.
The Valency Check Properties dialog box appears.
- If necessary, type a unique name for the check in the Check Title text box.
Hinweis:
The check title can be used to describe the conditions you are looking for with the check. This is useful when you have multiple instances of the same check to validate the same feature classes or tables but with different validation parameters.
-
Click the Feature Class/Subtype drop-down arrow in the Feature Class 1 area and choose the feature class and subtype on which to run the check.
Hinweis:
If you choose a line feature class in the Feature Class 1 area, the Feature Class 2 area is disabled. This is because you can compare points to lines or lines to themselves.
- If you want to use attributes to check for valency, check the check boxes next to the attributes you want to compare in the Fields to Include for Feature Class 1 area.
- To run the check on the entire feature class and save this setting, check the Always Run on Full Database check box.
- To run the check on specific features in a feature class, click SQL to construct a SQL query.
- If necessary, repeat steps 5–8 in the Feature Class 2 area.
Hinweis:
If you want to run the check using selected features in feature class 1 and all the features in feature class 2, check the Always Run on Full Database check box.
-
Choose a validation method for the check in the Validation Method area.
Hinweis:
If you chose a line feature class in the Feature Class 1 area, these options are not available.
- If you want to check valency based on the number of lines connected to a point, choose the Valency at point location option.
- If you want to check for points that are missing where lines meet or intersect, choose the Valency at nonexistent point location option.
- Choose an option for defining the valency.
To find the number of lines connected to a point or number of lines that are connected
Choose the Operation option and proceed to step 12.
To use attributes to find the number of lines connected to a point or number of lines that are connected
Choose the Customize option and proceed to step 14.
- To define the number of lines that need to be connected to a point or included in a pattern, do the following:
- Click the Operation drop-down arrow and choose an option for defining the valid number of lines connected to a point.
- None—No operator is designated, so there is not a range or definite number of connections that can be found with the check.
- Less than—The number of lines that are connected to the point or the number of lines that are connected must be less than the number specified.
- Less than or equal—The number of lines that are connected to the point or the number of lines that are connected must be equal to or less than the number specified.
- Greater than—The number of lines that are connected to the point or the number of lines that are connected must be more than the number specified.
- Greater than or equal—The number of lines that are connected to the point or the number of lines that are connected must be equal to or more than the number specified.
- Equal to—The valid number of lines that can be connected to the point or the number of lines in a pattern must exactly match the number specified.
- In Between (Including Bounds)—The valid number of lines that can be connected to the point or the number of lines in a pattern is between or equal to the values specified in the Lower Bound and Upper Bound text boxes.
- In Between (Not Including Bounds)—The valid number of lines that can be connected to the point or the number of lines in a pattern is between the values specified in the Lower Bound and Upper Bound text boxes.
- Not Between (Including Bounds)—The valid number of lines that can be connected to the point or the number of lines in a pattern is not between or equal to the values specified in the Lower Bound and Upper Bound text boxes.
- Not Between (Not Including Bounds)—The valid number of lines that can be connected to the point or the number of lines in a pattern is not between the values specified in the Lower Bound and Upper Bound text boxes.
The operation text box appears. If you have chosen a operation with bounding values, the Lower Bound and Upper Bound text boxes appear.
- Type a value in the text box that appears.
- Click the Operation drop-down arrow and choose an option for defining the valid number of lines connected to a point.
- To create a query so you can compare attribute values, do the following:
- Click Table Query.
The Select Features Using a Query dialog box appears.
Hinweis:
If you choose the same field for both feature classes, the second instance of the field is appended with a number. For example, if you have two instances of the Diameter field, the second one is listed as Diameter_1 on the Select Features Using a Query dialog box.
- Build a query that compares the attribute values before valency is validated.
- Click Verify to validate the query.
- Click OK to close the Select Features Using a Query dialog box
- Click Table Query.
- If you want to check valency based on the direction in which features have been digitized, do the following:
- Check the Use flow (digitized) direction check box.
- Click the drop-down arrow next to the Use flow (digitized) direction check box and choose an option.
- Both—The check finds instances where all the lines that meet at a point have been digitized in an inward or outward direction; that is, the lines have all been digitized so they meet or move away from a central point.
- In—The check finds instances where all the lines have all been digitized in an inward direction; that is, the lines have all been digitized so the flow is toward the same point
- Out—The check finds instances in which the lines have all been digitized in an outward direction; that is, the lines have all been digitized so the flow moves away from the same point.
- If you want to use the database tolerance while validating the valency, check the Use XY tolerance check box.
The tolerance for the check is based on the tolerance configured for the geodatabase that contains the data you are validating.
- If you want to compare values, do the following:
- Check the Use comparison rules check box.
- Click Define Rules.
The Define Rules dialog box appears.
- Choose the field you want to compare in the Select field(s) to compare list.
- Click the Add button (>) to add it to the list on the right side of the dialog box.
- Click the Method drop-down arrow and choose an option for comparing the values.
- Specify values—Allows you to specify a pattern of values or specific values for the attribute
- All values are the same—Indicates that all the values for the field should be the same for all the lines that are connected to the point.
- All values are not the same—Indicates that all the values for the field should not be the same for all the lines that are connected to the point.
- Click OK.
The Valency Check Properties dialog box appears.
- If necessary, type descriptive text for the check results in the Notes text box in the Reviewer Remarks area.
- If necessary, click the Severity drop-down arrow and choose a value that indicates the priority of the check's results in the Reviewer Remarks area.
- Click OK.
-
Click the Run Data Check button
on the Data Reviewer toolbar.
The Features to Validate dialog box appears.
-
Choose an option in the Features to Validate area.
- Selection Set—The check is run on the features that are currently selected in the map.
- Current Extent—The check is run on the current map extent, which is controlled by the map scale.
- Definition Query—The check is run on the features that are displayed based on definition queries that have been created for the feature class.
- Full Database—The check is run on all the features in the feature class.
-
To run the check only on features that have been edited in a versioned workspace, check the Changed Features Only check box.
Hinweis:
The Changed Features Only option is available only for a versioned database.
- Click OK.