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 in the file geodatabase 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. Complete these steps to download the data:

  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.

Overview

Play Video

  • Video length: 5:17
  • This video was created with ArcGIS Pro 3.1.

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, beside your recent projects, click Open another project.
    Note:

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

  3. On the Open Project page, click Computer.
  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 DataReviewer_AttributeRulesTutorial_EvaluatingFeaturesWithAttributeRules.aprx file.
  6. Click OK.
  7. The project opens with a topographic basemap containing city data zoomed to Naperville, Illinois.

Evaluate validation attribute rules

The following table outlines a subset of data quality requirements that support address-finding workflows for which validation attribute rules were created. You will use these validation attribute 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 validation attribute 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. In the Error Inspector pane, click the Evaluate Rules drop-down arrow Validate Extent and uncheck the Batch Calculation option.
    Tip:

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

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

    The Data Reviewer error life cycle columns are added to the Error Inspector pane.

  2. In the Filter group, click Fields Fields to display the list of error properties that can be used to filter the errors displayed in the Error Inspector pane.
    Fields filter options
  3. In the Severity section, check the check box to display only features with a severity value of 1 in the Error Inspector pane.

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

  4. Click the numbered column next to the error phase to highlight the feature that has the error.
  5. On the Edit tab, click Attributes Attributes to open the Attributes pane.
  6. Click Select By Rectangle 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 Save Edits Save Edits on the Edit tab and click Yes to save your edit.
  11. Click Clear Selected Clear Selected to clear your selection.
  12. Click the Evaluate Rules button Validate Extent.

Error Inspector pane with verification status

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

Validate features with constraint attribute rules

In this exercise, you will edit data and introduce errors so that you can experience how the constraint attribute 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 constraint attribute 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 Create Features 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.
    Road feature that is less than 20 feet

    An error appears in the Create Features pane that lists 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 Save Edits 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.