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 preconfigured with the Reviewer attribute rules if 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

Complete the following steps to open the 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 EvaluatingAttributeRules.aprx file.
  6. Click OK.

A topographic basemap opens with 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 check box.
    Tip:

    Ensure that the Visible Extent check box 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 a 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 1 check box to only display features with a severity value of 1 in the Error Inspector pane.

    The Road name missing from master street list error remains.

  4. Click the numbered column next to the error phase column 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 drag a rectangle across the road with the error to select it.
    Selection of the Summit Hills Lm error layer

    The road appears in the Attributes pane.

  7. Click Summit Hills Lm to select it.
    The Summit Hills Lm layer selected in the attributes pane
  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 Clear Selected to clear your selection.
  12. Click the Evaluate Rules button Validate Extent.
The layer in the Error Inspector pane with the verified 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 to check that your edits meet the quality requirements with the constraint attribute rules.

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.
    A drawn road feature that is less than 20 feet

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

    A constraint rule error message describing 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 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.