Evaluate features with attribute rules

Available with ArcGIS Pro Standard and Data Reviewer licenses.

Tutorial summary

After adding attribute rules to the data, the evaluation process runs the rules on the data to ensure rules are followed. The evaluation method used depends on the rule type and properties. Validation rules are evaluated manually or at the specified time you set, while constraint rules are evaluated immediately during an edit operation. In this exercise, you will use the Reviewer attribute rules from the previous exercises to identify features that do not meet quality requirements.

Note:

This exercise is preloaded with the Reviewer attribute rules in case you didn't complete the previous exercises.

You will use the errors found during data review to identify and correct features that do not meet quality requirements.

Estimated time

25 minutes

Software requirements

ArcGIS Pro 2.7 or later

Data requirements

The data for this tutorial is available from the Data Reviewer for ArcGIS Pro Tutorial page. This package contains an ArcGIS Pro project package and a subset of the Local Government sample data. To download the data, follow these steps:

  1. Go to the Data Reviewer for ArcGIS Pro Tutorial page.
  2. Click Download.
  3. Extract the files to a convenient location on your computer, such as C:\Data_Reviewer_for_ArcGIS_Pro_Tutorial.

Open the project

In this exercise, you will open a project package using ArcGIS Pro and verify its contents.

  1. Start ArcGIS Pro and sign in if necessary.
    Caution:

    If you have not already downloaded the Data Reviewer for ArcGIS Pro tutorial data, see the data requirements listed above.

  2. On the start page, under your recent projects, click Open another project.
    Note:

    If you already have a project open, click Open Open Project on the Quick Access Toolbar and go to step 4.

  3. On the Open page, under Open, click Computer and click Browse Browse.
  4. Browse to the folder where you downloaded and extracted the tutorial data: <extracted location>\DataReviewer_AttributeRules\Evaluating_features_with_Attribute_Rules.
  5. Click the file DataReviewer_AttributeRulesTutorial_EvaluatingFeaturesWithAttributeRules.aprx.
  6. Click OK.
  7. The project opens with a topographic basemap containing city data zoomed to Naperville, Illinois.

Evaluate attribute validation rules

The following table outlines a subset of data quality requirements that support address-finding workflows, for which attribute validation rules were created. You will use these attribute validation rules to ensure that all address-related features are compliant with these requirements.

IDRequirementCheckParticipating feature class/table

1

Road features must not contain duplicates.

Duplicate Feature

Road Centerline

2

Road vertices must not exist within one foot from each other.

Duplicate Vertex

Road Centerline

3

Road centerline Full Road Name attribute values must match the master street index.

Table to Table Attribute

Road Centerline, Master Road Name

Validate features with attribute validation rules

Validation rules are evaluated at the time you specify. In this exercise, you'll use the Error Inspector pane to run the rules on a file geodatabase.

  1. In the Contents pane, right-click any layer in the Site Addresses or Roads group, and click Add Error Layers.

    The error layers are added to the map.

  2. On the Map tab, click Bookmarks and choose Study Area to adjust your map extent.
  3. On the Edit tab, in the Manage Edits group, click Error Inspector Error Inspector.

    The Error Inspector pane appears.

  4. On the Edit tab, in the Manage Edits group, click Error Inspector Error Inspector.

    The Error Inspector pane appears.

  5. On the Error Inspector pane, on the Evaluate Rules button Validate Extent, click the drop-down arrow and uncheck the Batch Calculation option.
    Tip:

    Ensure that Visible Extent is checked to limit the evaluation area to your current map extent.

  6. Click the Evaluate Rules button Validate Extent.

Errors appear as rows in the Error Inspector pane.

Review and correct an error result

You will now review and fix an error in the Error Inspector pane.

  1. Click the menu button Menu on the Error Inspector toolbar and click Show Status.
  2. In the Filter group, click Fields Fields.
    Fields filter options
  3. In the Severity section, check the 1 check box to sort by severity of 1.

    One error remains with the rule name Road name missing from master street list.

  4. Double-click the empty column next to the error phase to highlight the feature that has the error.
  5. On the Edit tab, click the Attributes button Attributes to open the Attributes pane.
  6. Click the Select By Rectangle button Select By Rectangle and select the road with the error.

    The road appears in the Attributes pane.

  7. Click Summit Hills Lm to select it.
    Selected Summit Hills Lm
  8. In the attributes, scroll to Full Road Name and change Lm to Ln, and press Enter.
    Corrected road name
  9. Click Apply.
  10. Click the Save Edits button Save Edits on the Edit tab and click Yes to save your edit.
  11. Click the Clear Selected button Clear Selected to clear your selection.
  12. Click the Evaluate Rules button Validate Extent.

The error you corrected appears in the Error Inspector pane with the verified status.

Validate features with attribute constraint rules

In this exercise, you will edit data and introduce errors so that you can experience how the attribute constraint rules check that your edits meet the quality requirements.

The following table outlines a subset of data quality requirements that support address-finding workflows, for which attribute constraint rules were created. You will use requirement ID 3 where the road length must be greater than 20 feet to ensure that your edits are compliant.

IDRequirementCheckParticipating feature class/table

1

Road centerline must split at an intersection.

Feature on Feature

Road Centerline

2

Road centerline must not have sharp angles of 15 degrees or less.

Cutbacks

Road Centerline

3

Road length must be greater than 20 feet.

Evaluate Polyline Length

Road Centerline

  1. On the Edit tab, click the Create Features button Create Features.

    The Create Features pane appears.

  2. Click the Roads: Local Streets template in the Create Features pane.
  3. Draw a small road in the map.

    An error appears in the Create Features pane that details the requirements of the rule and informs you that the edit could not be completed.

    Constraint rule when creating an invalid feature
  4. Draw the road with a distance greater than 20 feet to correct the error.
  5. Click the Save Edits button Save Edits on the Edit tab and click Yes if asked to save your edits.

You have completed the quality assurance workflow by evaluating rules and error results to validate your data using configured checks implemented using Reviewer attribute rules.