Available with Aviation Charting license.
Summary
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.
Note:
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.
Usage
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.
Note:
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.
Syntax
ImportAIXM51Message(in_message_file, target_gdb, {in_tables}, {update_existing_features})
Parameter | Explanation | Data Type |
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,...] (Optional) | The names of tables used to restrict the feature types that will be imported. | String |
update_existing_features (Optional) | Specifies whether existing features will be updated if they exist or new features will be inserted.
| Boolean |
Derived Output
Name | Explanation | Data Type |
updated_gdb | The updated workspace. | Workspace |
Code sample
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")
Environments
Licensing information
- Basic: No
- Standard: Requires ArcGIS Aviation Charting
- Advanced: Requires ArcGIS Aviation Charting