Export AIS to AIXM 4.5 (Aeronautical Data Management)
Summary
This tool creates an Aeronautical Information Exchange Model (AIXM) 4.5 XML message from your Aeronautical Information System (AIS) geodatabase. AIXM messages are XML documents that conform to the AIXM 4.5 XML schema. The tool creates data based on the rules and relationships defined by the Aeronautical Information Conceptual Model (AICM) and AIXM 4.5 standards. This tool allows you to share your AIS data as XML.
Usage
-
This tool requires the Data Interoperability extension. Activate the Data Interoperability extension through the ArcGIS Customize > Extensions dialog box.
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.
The tool uses the Attribute Schema Mapper parameter to map AIS attributes to AIXM 4.5 elements. Attribute Schema Mapper are *.csv files that list the attribute mapping. You can use *.csv files provided with the ArcGIS for Aviation: Charting. These files are installed in the ESRIAeronautical\Desktop10.1\DataExchange\AIXM\SchemaMapper folder.
This tool requires an ArcSDE geodatabase with the AIS schema. Use this geodatabase name in the Source Enterprise Geodatabase parameter.
Syntax
Parameter | Explanation | Data Type |
AttributeSchemaMapper | The .csv file that defines the mapping of AIS attributes to AIXM 4.5 elements. If exporting from an Oracle geodatabase, use ESRItoAIXM_Oracle_Attribute.csv. If exporting from an SQL Server geodatabase, use ESRItoAIXM_SQLServer_Attribute.csv. | File |
SourceDataset_GEODATABASE_SDE |
The name of the source geodatabase that contains the AIS schema. | String |
GEODBInServer_GEODATABASE_SDE |
The enterprise geodatabase server name. | String |
GEODBInInstance_GEODATABASE_SDE |
The port or instance number for the geodatabase. | String |
GEODBInUserName_GEODATABASE_SDE |
A database username. This account must have at least SELECT permission against the AIS schema in the source geodatabase. | String |
GEODBInPassword_GEODATABASE_SDE |
A database password. | String |
GEODBInVersion_GEODATABASE_SDE |
The geodatabase version name. | String |
DestDataset_AIXM |
The file that will contain the AIXM 4.5 XML. | File |
Code Sample
The following Python window script demonstrates how to use the ExportAIStoAIXM45 tool.
# schema mapper variable
attributeSchemaMap = "C:\\Program Files\\ArcGIS\\ESRIAeronautical\\Desktop10.1\\DataExchange\\AIXM\\SchemaMapper\\ESRItoAIXM_Oracle_Attribute.csv"
# source dataset that contains the AIS schema
sourceDataset = "ASP_PL"
# connection properties
server = "127.0.0.1"
instance = "sde:sqlserver:127.0.0.1\\sqlexpress"
user = "username"
pwd = "password"
version = "DBO.DataUpdates"
# output file
outAixmDataset = "C:\\Data\\Aero\\AIStoAIXM_Export.xml"
# execute the export
arcpy.ExportAIStoAIXM45_aeronauticalmanagement(attributeSchemaMap, sourceDataset, server, instance, user, pwd, version, outAixmDataset)