ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Validating attributes using a batch job

获得 Production Mapping 许可后可用。

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:

  • Regular Expression check
  • Execute SQL check
  • Domain check
  • Subtype check

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. 启动 ArcMap。
  2. 如有必要,可在地图中加载数据。
  3. 在主菜单上,单击自定义 > 工具条 > 生产编辑。
  4. 单击生产编辑工具条上的启动生产编辑按钮 Production Start Editing。

    注:

    使用启动生产编辑工具开始编辑会话时,系统将自动显示管理要素和创建属性、更新属性或元数据属性窗口。

    提示:

    如果开始编辑会话时未显示创建属性、更新属性或元数据属性窗口,请单击管理要素窗口上的显示/隐藏属性按钮 Show/Hide Attributes。

  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.

相关主题

  • Disabling attribute validation
  • Associating batch jobs with a data model version
  • 批处理作业和产品库

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2020 Esri. | 隐私政策 | 法律声明