Import AIXM 5.1 Message (Aviation)

获得 Aviation Charting 许可后可用。

摘要

Imports Aeronautical Information Exchange Model (AIXM) version 5.1 data into an aviation geodatabase.

AIXM is a well-established information exchange format in the aviation domain, and importing data in this format is the first step in the creation of an ArcGIS Aviation Charting product.

注:

The AIXM format is commonly referred to by its acronym in the aviation industry rather than the full name of Aviation Information Exchange Model. Consequently, the tool name reflects the common usage of the acronym.

使用情况

  • An AIXM 5.1 file is commonly referred to as a message.

  • The optional Input Tables parameter will be populated by a list of existing tables and feature classes in the selected workspace for which an AIXM feature type exists. Selecting any of these will import only the selected feature types. Leaving all of them unselected will import the full message.

  • Optionally, a database can be updated using the Update Existing Features parameter.

    注:

    This functionality will allow you to import an AIXM 5.1 message into your existing database and will use that message as a data update. This will match features between the new file and your database using the Clientkey_Id field (which corresponds with the gml:identifier field in the AIXM message). If a match occurs, the feature will be updated based on the new message.

参数

标注说明数据类型
Input AIXM 5.1 Message File

The input AIXM 5.1 message.

File
Target Geodatabase

The ArcGIS Aviation Charting schema workspace to import into.

Workspace
Input Tables
(可选)

The names of tables used to restrict the feature types that will be imported.

String
Update Existing Features
(可选)

Specifies whether existing features will be updated if they exist or new features will be inserted.

  • Checked—Existing features will be updated.
  • Unchecked—New features will be inserted. This is default.

Boolean

派生输出

标注说明数据类型
Updated Geodatabase

The updated workspace.

Workspace

arcpy.aviation.ImportAIXM51Message(in_message_file, target_gdb, {in_tables}, {update_existing_features})
名称说明数据类型
in_message_file

The input AIXM 5.1 message.

File
target_gdb

The ArcGIS Aviation Charting schema workspace to import into.

Workspace
in_tables
[in_tables,...]
(可选)

The names of tables used to restrict the feature types that will be imported.

String
update_existing_features
(可选)

Specifies whether existing features will be updated if they exist or new features will be inserted.

  • UPDATE_EXISTINGExisting features will be updated.
  • CREATE_NEWNew features will be inserted. This is default.
Boolean

派生输出

名称说明数据类型
updated_gdb

The updated workspace.

Workspace

代码示例

ImportAIXM51Message example (Python window)

The following Python window script demonstrates how to use the ImportAIXM51Message tool.

import arcpy

# set gp environment
arcpy.CheckOutExtension("Aeronautical")

# AIXM 5.1 message to import
message = r"C:\data\AIXM51message.xml"

# Target Aviation schema database to import data to
target_gdb = r"C:\data\MyData.gdb"

# Running tool
arcpy.ImportAIXM51Message_aviation(message, target_gdb)

arcpy.CheckInExtension("Aeronautical")

环境

此工具不使用任何地理处理环境。

许可信息

  • Basic: 否
  • Standard: 需要 ArcGIS Aviation Charting
  • Advanced: 否

相关主题