Summary
Imports Aeronautical Information Exchange Model (AIXM) data into an Aeronautical Information System (AIS) geodatabase. This tool decodes the rules and relationships defined in an AIXM 5.1 XML message and re-creates them in the AIS data model. AIXM messages are XML documents that conform to the AIXM XML schema.
Usage
You can customize this tool. Right-click the tool in the ArcToolbox window and click Edit. The tool will open in the Data Interoperability Workbench.
This tool uses the Attribute Schema Mapper parameter to map AIXM elements to AIS attributes. Attribute Schema Mapper is a path to a .csv file that lists attribute mappings between the data models. You can use the AIXM51toESRI_Attribute.csv file provided with ArcGIS for Aviation: Charting. This file is installed in the <Aviation installation dir>\DataExchange\AIXM\SchemaMapper folder.
This tool requires an ArcSDE geodatabase with the AIS schema. Specify an enterprise geodatabase connection file in the Geodatabase Connection File parameter.
All feature classes in the Geodatabase Connection File must be registered as versioned. This tool starts an edit session and writes into the geodatabase.
This tool is memory intensive. Contact Esri If you experience difficulties importing large files (200 MB or more) using the ArcGIS Data Interoperability extension.
Syntax
ImportAIXM51ToAIS_aviationmanagement (source_aixm5, geodatabase_sde, attribute_schema_mapper, {destcoordsys}, {aixm5_in_srs_axis_order_aixm5})
Parameter | Explanation | Data Type |
source_aixm5 | The AIXM-XML data. | File |
geodatabase_sde | Connection file to the geodatabase that is going to store the AIXM data in the AIS data model. | File |
attribute_schema_mapper | The .csv file that contains the AIXM element to AIS attribute schema mapping rules. You can use AIXM51toESRI_Attribute.csv located in the Aviation Charting installation directory. | File |
destcoordsys (Optional) | Specifies a coordinate system for the data in the destination AIS geodatabase. The tool will reproject the data if necessary. | Spatial Reference |
aixm5_in_srs_axis_order_aixm5 (Optional) | Specifies the axis order of coordinates in the Source AIXM5 File. Axis order indicates the order of coordinate latitude, longitude, and elevation values.
| String |
Code Sample
ImportAIXM51ToAIS example (Python window)
The following Python window script demonstrates how to use the ImportAIXM51ToAIS function.
# source AIXM xml data
srcAIXM = "\\\\server_name/GNAV_Aero/AIXM_Update_Obstacles.xml"
# attribute schema map
attributeSchemaMap = "C:/Program Files/ArcGIS/ESRIAeronautical/Desktop10.1/DataExchange/AIXM/SchemaMapper/AIXMtoESRI_Attribute.csv"
# AIS workspace
aisWorkspace="c:/data/ais.sde"
# coordinate axis order
axisOrder="1,2"
# execute the import tool
arcpy.ImportAIXM51toAIS_aviationmanagement(srcAIXM, attributeSchemaMap, aisWorkspace,"", axisOrder)
Environments
Licensing Information
- ArcGIS for Desktop Basic: No
- ArcGIS for Desktop Standard: Requires Airports or Aviation Charting, and Data Interoperability
- ArcGIS for Desktop Advanced: Requires Airports or Aviation Charting, and Data Interoperability