ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

ArcMap

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

Running a GAIT session in Defense Mapping

To validate certain types of data used with ArcGIS Defense Mapping, it may be required that a GAIT session be used. The GAIT Session tool allows you to configure and run a GAIT session through Defense Mapping based on two methods: on editable layers or the entire workspace.

When you use the tool on editable layers, you run the session on all the features loaded in the map or a selection set. To do this, the data must first be exported to shapefiles in the project directory in a subfolder named exported_data. Once the checks in the inspection profile are run, the results of the checks are consolidated into line and point shapefiles.

When you use the tool on the entire workspace, you don't have to export the data to another workspace; however, the workspace should be a shapefile workspace or a file geodatabase. The path to the workspace is passed to GAIT and GAIT runs on the data in place. This option does not support selection sets or definition expressions.

The tool can be used with MGCP, GIFD, TFDM, and VMap data and with GAIT version 14 or higher. If the edit workspace is a file geodatabase, you must be using GAIT 19 or a later version.

To configure a GAIT session, you need to specify the following:

  • Location of the GAIT executable file—The path to the GAIT executable file.
    注:

    This only needs to be defined the first time you use the GAIT Session tool, if the path is no longer valid, or if you want to use a new file.

  • GAIT projects directory—The directory where your GAIT project will be written. This parameter will not be enabled if the GAIT_PROJECTS environment variable is defined.
  • Attribution schema being used—The data model that corresponds to the data.
  • GAIT project name—The name of the project, which contains the validation information, such as the checks run on the data and the results.
  • Inspection profile—The set of checks that is going to be run on the data. This is specific to the data model that corresponds with the data.
  • Metadata mapping table—The metadata mapping table that matches the data model.
  • Custom inspection file—Custom inspection file that defines custom checks. This parameter is optional and only available for GAIT version 19 or greater.
  • Input data options—Options that define which data is validated: Run on editable layers and Run on edit workspace.

After the process is complete, you are asked whether you want to add the results of the GAIT checks to the map or write them to the Reviewer table.

If a Reviewer session has been started when the tool is run, you can write the check results to the Reviewer table. Each feature in the consolidated shapefile is added as a record in the Reviewer table. The ORIGINTABLE field contains the name of the shapefile initially created based on the feature subtypes. The name of the GAIT check is written to the ORIGINCHECK field, and the NOTES field contains a description of the feature's error condition.

Reviewer table with GAIT check results

When you interact with the records in the Reviewer table, there are two types of geometry that are referenced: feature and Reviewer. Feature geometry has a direct association with the shapefiles that are created based on the features in the map. Reviewer geometry is associated with the consolidated line and point shapefiles generated by the GAIT Session tool.

  1. 启动 ArcMap。
  2. 如有必要,可在地图中加载数据。
  3. 在主菜单上,单击自定义 > 工具条 > 生产编辑。
  4. On the main menu, click Customize > Toolbars > Defense Mapping.
  5. 单击生产编辑工具条上的启动生产编辑按钮 Production Start Editing。

    注:

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

    提示:

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

  6. If you only want to run the GAIT Session tool on a selected set of features, select the features.
  7. Click the GAIT Session button GAIT Session on the Defense Mapping toolbar.

    The GAIT Session dialog box appears.

    GAIT Session dialog box

  8. Click the ellipsis (...) next to the Select GAIT executable text box.

    The Browse to GAIT Executable dialog box appears.

  9. Navigate to the gait.exe file.
  10. Click Open.

    The GAIT Session dialog box appears.

  11. Click the ellipsis (...) next to the Select GAIT projects directory text box.

    The Browse For Folder dialog box appears.

  12. Navigate to the directory in which you want to store the shapefiles that are initially created based on the features in your map.
  13. Click OK.

    The GAIT Session dialog box appears.

  14. Click the Select attribution schema drop-down arrow and choose the schema that corresponds with the map or selected set.
  15. Type a name for the GAIT project in the Specify project name to create text box.
  16. Click the Select inspection profile drop-down arrow and choose the set of checks that corresponds with the map or selected set.
  17. Click the Select metadata mapping table drop-down arrow and choose the metadata mapping table that corresponds with the map or selected set.
  18. If you are using GAIT version 19 or higher, you can choose the custom inspection file that defines custom checks.
  19. Choose the input data to run the session.
    • Run on editable layers (requires data export)—Input data is based on the editable layers. Selection sets and definition expressions are honored. If there is no map selection, all editable features intersecting the data frame are used as the input data. This option requires an export of the editable data.
    • Run on edit workspace—The entire edit workspace will be validated. To use this option, the edit workspace must be either a shapefile workspace or a file geodatabase.
  20. Click OK.

    Once the process is complete, the GAIT Summary dialog box appears with all the check boxes checked.

    注:

    The Write results to the current Reviewer session item does not appear if you have not started a Reviewer session.

  21. Do one or more of the following if you do not want an action to occur once the GAIT Summary dialog box is closed:

    To not add the results of the GAIT session to the table of contents and map

    Uncheck the Add results to map check box.

    To not view the project summary files

    Uncheck the View project summary files check box.

    To not write the results to the Reviewer table

    Uncheck the Write results to the current Reviewer session check box.

  22. 单击确定。
注:

You can find the results of the tool process in two log files: GAITStdError.txt and GAITStdOutput.txt. The log files are located at C:\Users\<user_name>\AppData\Roaming\ESRI\Production10.9.1\Desktop.

相关主题

  • Adding schemas, profiles, or mapping tables

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

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