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:

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.

步骤:
  1. Start ArcMap.
    提示提示:

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  2. On the main menu, click Customize > Toolbars > Data Reviewer.
  3. 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.

    Valency Check Properties dialog box
  4. If necessary, type a unique name for the check in the Check Title text box.
    注意注意:

    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.

  5. 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.
    注意注意:

    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.

  6. 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.
  7. To run the check on the entire feature class and save this setting, check the Always Run on Full Database check box.
  8. To run the check on specific features in a feature class, click SQL to construct a SQL query.
  9. If necessary, repeat steps 5–8 in the Feature Class 2 area.
    注意注意:

    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.

  10. Choose a validation method for the check in the Validation Method area.
    注意注意:

    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.
  11. 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.

  12. To define the number of lines that need to be connected to a point or included in a pattern, do the following:
    1. 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.

    2. Type a value in the text box that appears.
  13. To create a query so you can compare attribute values, do the following:
    1. Click Table Query.

      The Select Features Using a Query dialog box appears.

      注意注意:

      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.

    2. Build a query that compares the attribute values before valency is validated.
    3. Click Verify to validate the query.
    4. Click OK to close the Select Features Using a Query dialog box
  14. If you want to check valency based on the direction in which features have been digitized, do the following:
    1. Check the Use flow (digitized) direction check box.
    2. 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.
  15. 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.

  16. If you want to compare values, do the following:
    1. Check the Use comparison rules check box.
    2. Click Define Rules.

      The Define Rules dialog box appears.

      Define Rules dialog box
    3. Choose the field you want to compare in the Select field(s) to compare list.
    4. Click the Add button (>) to add it to the list on the right side of the dialog box.
    5. 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.
    6. Click OK.

      The Valency Check Properties dialog box appears.

  17. If necessary, type descriptive text for the check results in the Notes text box in the Reviewer Remarks area.
  18. 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.
  19. Click OK.
  20. Click the Run Data Check button Run Data Check on the Data Reviewer toolbar.

    The Features to Validate dialog box appears.

    Features to Validate dialog box
  21. 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.
  22. To run the check only on features that have been edited in a versioned workspace, check the Changed Features Only check box.
    注意注意:

    The Changed Features Only option is available only for a versioned database.

  23. Click OK.

9/30/2010