获得 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.
语法
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.
| Boolean |
派生输出
名称 | 说明 | 数据类型 |
updated_gdb | The updated workspace. | Workspace |
代码示例
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: 需要 ArcGIS Aviation Charting