ArcGIS Desktop

  • Документация
  • Поддержка

  • My Profile
  • Справка
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Картографическая платформа вашей организации

ArcGIS Desktop

Полноценная профессиональная ГИС

ArcGIS Enterprise

ГИС предприятия

ArcGIS for Developers

Инструменты для встраивания приложений с местоположениями

ArcGIS Solutions

Бесплатные шаблоны карт и приложений для отрасли

ArcGIS Marketplace

Получение приложения и данных для вашей организации.

  • Документация
  • Поддержка
Esri
  • Войти
user
  • Мой профиль
  • Выход

Help

  • На главную
  • Начало работы
  • Карта
  • Анализ
  • Управление данными
  • Инструменты
  • Больше...

Validating attributes using a batch job

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. 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. Нажмите кнопку Применить (Apply).

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 Platform

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

Об Esri

  • О нас
  • Карьера
  • Блог сотрудников
  • Конференция пользователей
  • Саммит разработчиков
Esri
Расскажите нам, что вы думаете.
Copyright © 2017 Esri. | Конфиденциальность | Правовая информация