Checking for unique IDs

During data creation and import, it is possible to have duplicate values within an attribute field. These fields can include ObjectIDs, global feature identifiers (GFIDs), and other fields that should have completely unique values for each feature across a table or database.

The Unique ID check searches for duplicate values in a table or feature attribute table. The check searches the specified tables and feature classes that contain the field and ensure that the values are all unique. The check can be used with the entire feature class, a subtype, or a set of features selected using a SQL query. Features whose values are not unique are written to the Reviewer table.

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 Table Checks, then click Unique ID Check.

    The Unique ID Check Properties dialog box appears.

    Unique ID 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 Workspace drop-down arrow and choose the workspace you want to use with this check.

    The Feature Classes and Tables lists are automatically populated with the names of the feature classes and tables in the workspace.

  6. Check the check boxes next to the names of the feature classes for which you want to validate IDs.

    Optionally, you can choose all the feature classes by clicking Select All.

  7. Check the check boxes next to the names of the tables you want to validate with the check.

    Optionally, you can choose all the tables by clicking Select All.

    Common fields appear in the Unique ID Fields list. These are the common fields between the feature classes and tables you have chosen.

  8. Check the check boxes next to the names of fields you want to check for duplicate values.
  9. If necessary, type descriptive text for the check results in the Notes text box in the Reviewer Remarks area.
  10. 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.
  11. Click OK.
  12. Click the Run Data Check button Run Data Check on the Data Reviewer toolbar.

    The Features to Validate dialog box appears with the Full Database option chosen.

    注意注意:

    This check can only be run on the entire database.

  13. Click OK.

9/30/2010