Validating attributes using a batch job (Maritime Charting)

With the Feature Manager, it is possible to validate the values you assign to attributes for selected features or a feature template. This allows you to ensure that there are no invalid combinations of values assigned to a template or a selected feature before applying the values to the database.

Attribute validation using a Reviewer batch job runs a series of data checks on the features when you change an attribute value on the Create Attributes or Update Attributes window. Any combination of the following checks can be included in the batch job:

To use a batch job to validate attributes, an attribute batch job must be associated with the data being edited. This is usually based on the product specification, or data model version, to which your data conforms.

When you associate an attribute batch job with a data model version, you can select the severity of the checks that will be returned as an error. When an error is returned, you must fix the error before the change will be committed to the feature or used by the template. If a warning is returned, the change will be committed, but it is recommended that you correct the issue if you can.

Learn more about batch jobs

When you run validation, you can choose when batch jobs are run. While you may have multiple batch jobs defined for your data, you can choose to run only a subset of these batch jobs as you are editing features. This can be done through the shortcut menu on the Create Attribute or Update Attributes window.

Learn more about associating a batch job with a data model version

If you do not have a batch job configured for validation, the attribute combination displayed on the Create Attributes or Update Attributes window is validated against your geodatabase rules.

步骤:
  1. Start ArcMap.
  2. If necessary, load data in the map.
  3. On the main menu, click Customize > Toolbars > Production Editing.
  4. Click the Production Start Editing button Production Start Editing on the Production Editing toolbar.
    注注:

    The Manage Features and Create Attributes, Update Attributes, or Metadata Attributes windows automatically appear when you start an edit session using the Production Start Editing tool.

    提示提示:

    If the Create Attributes, Update Attributes, or Metadata Attributes window does not appear when you start an edit session, click the Show/Hide Attributes button Show/Hide Attributes on the Manage Features window.

  5. Right-click in the Create Attributes or Update Attributes, window, then point to Enable Validation and ensure that a check mark appears next to Enable.
  6. Right-click in the Create Attributes or Update Attributes, window, then click Enable Validation > Select Batch Jobs.

    The Select Batch Job(s) dialog box appears with any batch jobs you have associated with the data model version that have a type of Attribute.

    By default, all the batch jobs are checked.

  7. If necessary, uncheck the check box next to the name of the batch job you do not want to run when attributes are changed.
  8. 单击确定
  9. Change attributes for a template or selected feature.
  10. 单击应用

The new attributes are validated using the specified Reviewer batch jobs.

相关主题

4/27/2014