Skip To Content

Validate features using Reviewer rules in a batch job

Mit der Data Reviewer-Lizenz verfügbar.

Tutorial summary

In this exercise, you will use Reviewer rules stored in a Reviewer batch job to identify features which do not meet quality requirements. You will do this by validating features within the map extent and all feature in the geodatabase.

Estimated time

20 minutes

Software requirements

ArcGIS Pro 2.1 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 usingArcGIS Pro and verify its contents.

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

    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.
    Hinweis:

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

  3. On the Open page, under Open, click Computer and click Browse Durchsuchen.
  4. Browse to the Data_Reviewer\Exercise_4 folder on the Open Project dialog box.
    Hinweis:

    The Data_Reviewer\Exercise_4 folder is located in the directory where the Data Reviewer for ArcGIS Pro tutorial package was extracted.

  5. Click DataReviewerArcGISProTutorial_Exercise4.ppkx.
  6. On the Quick Access Toolbar, click Save Speichern to save the project.
  7. The project opens with a topographic basemap containing city data zoomed to Naperville, Illinois.

Add batch jobs to the project

A Reviewer batch job is a container for configured validation checks that enable you to validate your data to identify features that do not meet quality requirements. For example, you can have a batch job that validates attribute values and another that validates data based on spatial conditions. Batch jobs are created using tools found in ArcMap and are referenced in your project.

In this exercise, you will add two batch jobs that are part of the Data Reviewer for ArcGIS Pro tutorial package to the current project. The Addresses_AttributeValidation batch job has several Execute SQL checks that verify attribute values on Address Points, Road Centerline, and Facility Site features; the Addresses_SpatialRelationships batch job contains several checks that ensure there are no overlapping features for address ranges and that there are no duplicate features.

  1. Click the Insert tab.
  2. In the Project group, click the Connections drop-down arrow Verbindung hinzufügen and click Add Reviewer Batch Jobs Reviewer-Batch-Aufträge hinzufügen.

    The Select Reviewer Batch Job dialog box appears.

    Select Reviewer Workspace dialog box
  3. Browse to the Data_Reviewer\Exercise_4 folder.
    Hinweis:

    The Data_Reviewer\Exercise_4 folder is located in the directory where the Data Reviewer for ArcGIS Pro tutorial package was extracted.

  4. Press Shift and click Address_AttributeValidation.rbj and Addresses_SpatialRelationships.rbj.
    Tipp:

    You can choose multiple files by pressing the Shift key.

  5. Click OK.

    The Addresses_AttributeValidation.rbj and Addresses_SpatialRelationships.rbj files appear under the Reviewer Batch Jobs in the Catalog pane.

    Tipp:

    You can view information about the contents of a batch job by right-clicking the Batch Job item and clicking View Metadata Metadaten anzeigen. The item description information is useful in determining the number and type of checks configured in the batch job.

  6. On the Quick Access Toolbar, click Save Speichern to save the project.

Validate features using batch jobs

Now that batch jobs have been added to the project, you can use them to validate features in your project to establish a baseline understanding of their quality. These batch jobs include several checks that validate conditions such as road centerline values that are not zero, duplicate geometry for address points and centerlines, and that domain values are valid.

Validate features in the active map extent

In this exercise, you will use a batch job to validate features in the active map extent.

  1. Click the Map tab.
  2. In the Navigate group, click Bookmark Lesezeichen and click Spatial Relationships.

    The map zooms to the extent of the Spatial Relationships bookmark. This is the map extent that the Addresses_SpatialRelationships batch job will run on.

  3. In the Catalog pane, expand Reviewer Batch Jobs.
  4. Right-click Addresses_SpatialRelationships.rbj.
  5. Click Execute > Active Map Extent Aktive Kartenausdehnung.

    The Execute Reviewer Batch Job geoprocessing tool appears in the Geoprocessing pane. The Reviewer Workspace parameter is populated with the project's Reviewer workspace. The Session parameter is populated with the project's default Reviewer session. The Batch Job File parameter is populated with the name of the selected batch job. The Production Workspace parameter is populated with the path to the map's workspace source.

    Hinweis:

    Once a default Reviewer session has been configured, the Session parameter for the Execute Reviewer Batch Job geoprocessing tool will automatically be populated with the default session. If you already have a session open in the Reviewer Results pane, that session will take precedence over the default session.

  6. Click Run.

    Features within the current map extent that do not comply with the rules stored in the batch job are automatically written as error results to the default or active Reviewer session.

Validate features in the database

In this exercise, you will use a batch job to validate all features in the geodatabase.

  1. In the Catalog pane, expand Reviewer Batch Jobs.
  2. Right-click Addresses_AttributeValidation.rbj.
  3. Click Execute > Full Database Gesamte Datenbank.

    The Execute Reviewer Batch Job geoprocessing tool appears in the Geoprocessing pane. The Reviewer Workspace parameter is populated with the project's Reviewer workspace. The Session parameter is populated with the project's default Reviewer session. The Batch Job File parameter is populated with the name of the selected batch job. The Production Workspace parameter is populated with the path to the map's workspace source.

    Hinweis:

    Once a default Reviewer session has been configured, the Session parameter for the Execute Reviewer Batch Job geoprocessing tool will automatically be populated with the default session. If you already have a session open in the Reviewer Results pane, that session will take precedence over the default session.

  4. Click Run.

    Features within the current geodatabase that do not comply with the rules stored in the batch job are automatically written as error results to the default or active Reviewer session.

  5. On the Quick Access Toolbar, click Save Speichern to save the project.

In this exercise, you added Reviewer batch jobs authored in ArcMap to your ArcGIS Pro project and used the Execute Reviewer Batch Job geoprocessing tool to identify features that do not meet data quality requirements. Validation was run on both the current map extent and all features stored in a geodatabase.

After running Reviewer batch jobs to validate data created, edited, or referenced in your project, features that fail validation are written to a geodatabase to facilitate review and corrective workflows. Move on to the next exercise to work with the Reviewer Results pane to identify and correct features in error and update the life cycle error result to document your progress.

Verwandte Themen