Using predefined expressions to validate metadata elements

You can use the Metadata check to validate metadata element values stored within your item's metadata record using a series of predefined expressions. A single Metadata check can be configured to validate the entire contents of your geodatabase or shapefile workspace, and for each workspace item, multiple metadata element values can be validated to ensure that element values are correct and adhere to your organization's metadata requirements.

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.

AttentionAttention :

Before running the Metadata check, the metadata on your data must be updated using one of the following to ensure that the check results are complete.

  • The Description tab in ArcCatalog
  • The Description tab on the Item Description dialog box, which can be opened through the Catalog window in ArcMap
  • The Upgrade Metadata geoprocessing tool

Etapes :
  1. Start ArcMap.
  2. On the main menu, click Customize > Toolbars > Data Reviewer.
  3. Click the Reviewer Batch Job Manager button Reviewer Batch Job Manager on the Data Reviewer toolbar.

    The Reviewer Batch Job Manager dialog box appears.

  4. Create a batch job.
  5. Right-click a group in the batch job, then click Add Check > Advanced Checks > Metadata Check.

    The Metadata Check Properties dialog box appears.

    The Metadata Check Properties dialog box with a workspace selected
  6. If necessary, type a unique name for the check in the Check Title text box.
    RemarqueRemarque :

    The check title can be used to describe the type, metadata standard, and conditions you are evaluating with the check. This is useful when you have a combination of mandatory and optional metadata elements and resources to be evaluated.

  7. In the Metadata Location Type area, choose the Workspace option.
  8. Click the Workspace drop-down arrow and choose the data workspace that contains the item metadata resources you want to validate.
    RemarqueRemarque :

    Only one workspace (geodatabase or shapefile) can be evaluated per check. To evaluate multiple data workspaces, you need to configure a Metadata check for each workspace.

  9. In the tree view in the Metadata Sources area, check the check box next to each workspace item you want to validate.
    The Metadata Check Properties dialog box with workspace items checked
    AstuceAstuce:

    You can click Select All or Clear All to check or uncheck all the workspace items at once.

  10. Click the Metadata Standard drop-down arrow and choose the metadata standard you want to use when identifying the metadata element.

    The standard you select should match the Metadata Style setting you configured in ArcCatalog when authoring item metadata.

    RemarqueRemarque :

    The standard selected in this step will determine the element identifier results that are captured in the Reviewer table's IDENTIFIER field during execution of the check.

  11. In the Check Options area, check the Validate Metadata Content check box then click Configure to configure the metadata element expression.

    The Metadata Content Validation dialog box appears.

  12. In the Element Expressions area, click the Pre-Defined Expression drop-down arrow and choose the expression you want to use when evaluating metadata element content.
    Metadata Content Validation dialog box
  13. In the Element Expressions area, expand the Metadata Element tree view and check the check box next to the metadata elements that you want to evaluate with the predefined expression.
    AstuceAstuce:

    To expedite check configuration, you can select multiple metadata elements for evaluation against the currently selected predefined expression.

    RemarqueRemarque :

    The Metadata Element drop-down list remains disabled until you choose a predefined expression.

    The Metadata Content Validation dialog box with the Metadata Element tree view
  14. In the Element Expressions area, click Add Expression to add the metadata element/expression pair to the list in the Configured Expressions area.
    RemarqueRemarque :

    Each metadata element configured for content evaluation is represented as a single row in the list in the Configured Expressions area.

  15. If necessary, configured element/expression pairs can be removed individually or in groups from the check by doing the following:
    1. Individually selecting checks or selecting groups of checks with the SHIFT or CTRL keys in the Configured Expressions list.
    2. Right-click a selected row and click Remove Selected to remove the selected expressions.
    Removing expressions for the Metadata check
  16. Click OK to close the Metadata Content Validation dialog box.
  17. If necessary, type descriptive text for the check results in the Notes text box in the Reviewer Remarks area.
  18. 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.

    The severity indicates the importance of the check result. The values range from 1 to 5, with 1 being the highest priority and 5 being the lowest.

  19. Cliquez sur OK.
  20. Save the batch job.
  21. Cliquez sur OK.

Thèmes connexes

4/26/2014