Creating feature-level metadata (Maritime Charting)

In a geodatabase, you may have fields on feature classes or tables that you want to automatically populate when a feature or table row is created or modified. For instance, all the feature classes could include a CREATE_DATE field that contains the date on which the feature was created and a MODIFY_DATE that contains the date on which the feature was modified. Ideally, both of these fields should be populated automatically based on the system date and time.

Using the Field Configuration dialog box, you can create feature-level metadata fields that can be populated with the current date, user name, a domain value, or a custom value that you define. These fields can be updated when a feature or table row is created or modified. For example, you can configure the CREATE_DATE field so it is populated with the current date only when a feature or table row is created. These fields can only be configured through the Edit Shared Fields dialog box. The metadata is applied to all the feature classes and tables that contain the same field across the geodatabase. A message appears in the Edit Shared Fields dialog box to inform you that the field is saved as feature-level metadata across the geodatabase.

Edit Shared Fields dialog box with the metadata settings message

When the feature-level metadata attributes are saved, they are then stored with the other field configurations.

Once the feature-level metadata has been configured in the Edit Shared Fields dialog box, you can create metadata favorites in the Feature Manager and customize certain metadata values. For example, if the field is going to be populated with a domain, you can choose the exact domain value that should be applied to the feature or table row when it is created or updated.

手順:
  1. Start ArcMap.
  2. On the main menu, click Customize Toolbars Production Editing.
  3. Click the Product Library button Product Library window on the Production Editing toolbar.

    A tree view of the product library appears.

    Product Library tree view
  4. If necessary, define the product library workspace.
  5. Ensure that the following have been completed:
    1. A data model has been created.
    2. A data model version has been created using the schema for which you want to create field configurations.
  6. Right-click the data model version you want to create field configurations for and click Manage Field Configurations.

    The Field Configuration dialog box appears.

  7. If field configurations have not been created for the data model version, click Create Configuration.

    If there are field configurations for the data model version, go to step 8.

  8. Click Tables to Edit.

    The Choose Product Class Tables to Edit dialog box appears with a list of feature classes and tables in the data model.

    Choose Product Class Tables to Edit dialog box

  9. Check the check boxes next to the feature classes and tables in the Choose Table(s) to Edit list whose filters you want to edit.
    ヒントヒント:

    You can right-click in the list and click Select All or Clear All to check or uncheck all the check boxes, respectively. You can also right-click in the list and click Expand All or Collapse All to respectively display or hide all the subtypes within the feature classes.

  10. Click OK.

    The Field Configuration dialog box appears with the selected feature classes and tables in the Current Fields Configuration list.

    Example of tables added to the Field Configuration pane
  11. Click Edit Shared Fields.

    The Edit Shared Fields dialog box appears.

    Edit Shared Fields dialog box

    ヒントヒント:

    You can also right-click in the Current Fields Configuration list and click Edit Shared Fields to open the Edit Shared Fields dialog box.

  12. Right-click the field you want to use as feature-level metadata and click Metadata Field.

    A message appears in the Choose Table(s) to Apply Shared Edits area indicating that the metadata settings are going to be applied to the entire geodatabase.

  13. Right-click the feature-level metadata field again and choose the metadata type that is appropriate for the field.

    To populate the field with the current date

    Click Metadata Type Date.

    To populate the field with a user name

    Click Metadata Type User Name.

    To populate the field based on domain values

    Click Metadata Type Domain and choose the domain you want to use as possible values for the field.

    To populate the field with any other type of data

    Click Metadata Type Other.

    注意注意:

    When you choose Other, you can specify the value that is going to populate the field in a text box. The value can be defined when you create a metadata favorite.

  14. Right-click the feature-level metadata field again and choose the event type that is going to cause the value to update.
    注意注意:

    By default, both the Create and Update events are selected.

    To update the field only when a feature or table row is created

    Click Metadata Events Update to uncheck the Update option.

    To update the field only when a feature or table row is modified

    Click Metadata Events Create to uncheck the Create option.

  15. Click OK when you are finished setting up the feature-level metadata.

    The Field Configuration dialog box appears.

  16. [OK] をクリックします。

関連トピック

4/26/2014