Verifying your AML data
You can verify your AML data while in a Reviewer session using the Data Reviewer functionality that comes with your installation package. The Nautical Solution comes with prepackaged data checks that are used with the Reviewer Batch Validate tool. These data checks are included in a batch job for each AML product to check that all mandatory attributes are populated based on the V2.1 specification. In addition to the data checks, the Nautical Solution uses automatic validation, which is available through the Feature Manager. When you create a feature or modify existing feature attributes, the Attribute Batch Job runtime will automatically validate the attribute settings against the conditions held within the batch job files that are stored within the product library. Details for using the validation tools can be found in An overview of running data checks. The following steps can be used to validate data with the prepackaged data checks using the Reviewer Batch Validate tool.
- 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.
- If necessary, load data in the map.
- Choose one of the following methods to start a Reviewer session:
-
Click the Reviewer Batch Validate button on the Data Reviewer toolbar.
The Batch Validate dialog box appears.
-
Click Add from Product Library.
The Choose Batch Job(s) dialog box appears.
- In the Production Database area, click the Version drop-down arrow and choose the edit version created in the Creating an edit version from DEFAULT section (previous section).
- Click the Choose Product Class drop-down arrow and choose the appropriate AML product class.
The Choose Batch Job(s) list populates with the associated batch job for the AML product.
- In the Choose Batch Job(s) list, select the batch job listed.
-
Click OK.
The Batch Validate dialog box appears.
The checks in the batch job appear in the Batch Jobs area.
注意:If there are multiple workspaces referenced in the batch job, the Update to Single Workspace dialog box appears so you can choose the workspace you want to validate with the batch jobs.
注意:When there is only one workspace in ArcMap, the batch job's workspace is automatically updated to the current workspace.
注意:To remove a batch job group from the Batch Jobs area of the Batch Validate dialog box, click the batch job group and click Remove. If only one batch job group is listed in the Batch Jobs area, the default checks are also deleted.
注意:To quickly select and deselect checks, you can also use Select All Groups and Unselect All Groups by right-clicking in the Batch Jobs area.
-
Optionally, click Validate All to ensure all the feature classes that correspond with the checks are loaded in the map and to add any default checks.提示:
The default checks are selected on the Reviewer Session Manager dialog box on the Default Checks tab.
- Choose an extent to use in the Features to Validate area.
- Selection Sets—The currently selected features. If you have a definition query defined for any of the feature classes you are using with the check, it is applied to the feature class.
- Current Extent—The current extent in the map display. If you have a definition query defined for any of the feature classes you are using with the check, it is applied to the feature class.
- Definition Query—The extent defined by layer definition queries for each feature class. If you have a definition query defined for any of the feature classes you are using with the check, it is applied to the feature class.
- Full Database—The entire feature class.
-
Click Validate All.
All the checks are validated against the extent you have chosen. All checks with corresponding data loaded in the table of contents are enabled, and those that do not have the appropriate data loaded in the table of contents are disabled.
-
Click Run.
提示:
Once a batch job is added on the Batch Validate dialog box, you can minimize and maximize the groups in the batch job. This also minimizes and maximizes the default checks that are included.
The default checks and the checks included with the batch job are run against the extent you have chosen. When the batch job has finished running, a message appears to notify you of the number of records that have been written to the Reviewer table.
- Click OK.
Any errors that are found are written to the Reviewer table automatically.
- If errors are found, open the Reviewer table to see the mandatory attribute errors.