Import AIXM to AIS (Aeronautical)

Summary

Imports Aeronautical Information Exchange Model (AIXM) data into an Aeronautical Information System (AIS) geodatabase. The tool decodes the rules and relationships defined in an AIXM 4.5 XML message and re-creates them in the AIS data model. AIXM messages are XML documents that conform to the AIXM XML schema.

Usage

Syntax

ImportAIXMtoAIS_Aeronautical (SrcDataset_AIXM, AttributeSchemaMapper, SubtypeSchemaMapper, _SDEDestDataset, _SDEServer, _SDEInstance, _SDEUserName, _SDEPassword, _SDEVersion)
ParameterExplanationData Type
SrcDataset_AIXM

The AIXM-XML data.

File
AttributeSchemaMapper

The path to the .csv file that contains the AIXM element to AIS attribute schema mapping rules. You can use the AIXMtoESRI_Attribute.csv located in the ESRI Aeronautical Solution installation directory.

File
SubtypeSchemaMapper

The path to the .csv that contains the AICM feature to AIS subtype schema mapping rules. You can use the AIXMtoESRI_Subtype.csv file located in the ESRI Aeronautical Solution installation directory.

File
_SDEDestDataset

This is the name of the destination geodatabase that contains the AIS schema.

String
_SDEServer

The enterprise geodatabase server name.

String
_SDEInstance

The port or instance number for the geodatabase.

String
_SDEUserName

A valid database username. This user must have SELECT, INSERT, UPDATE, and DELETE permission in the _SDEDestDataset.

String
_SDEPassword

A valid database password.

String
_SDEVersion

The geodatabase version name.

String

Code Sample

ImportAIXMtoAIS example (Python window)

The following Python window script demonstrates how to use the ImportAIXtoAIS function.

# Load Toolbox - you may have to alter this path
arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Aeronautical Tools.tbx')

# UNC path to an aixm xml
AIXM_Update_Obstacles_xml = "\\\\server_name\\GNAV_Aero\\ASP\\ASP_Released10\\ASP\\Documents\\AIXM_Update_Obstacles.xml" 

# local path to the attribute map csv
AIXMtoESRI_Attribute_csv = "C:\\Program Files\\ESRIAeronautical\\Desktop10.0\\DataConversion\\AIXM\\SchemaMapper\\AIXMtoESRI_Attribute.csv"

# local path to the subtype csv
AIXMtoESRI_Subtype_csv = "C:\\Program Files\\ESRIAeronautical\\Desktop10.0\\DataConversion\\AIXM\\SchemaMapper\\AIXMtoESRI_Subtype.csv"

# Invoke Import AIXM to AIS
arcpy.ImportAIXMtoAIS__Aeronautical(AIXM_Update_Obstacles_xml, AIXMtoESRI_Attribute_csv, AIXMtoESRI_Subtype_csv "ASP_PL", "127.0.0.1", "sde:sqlserver:127.0.0.1\\sqlexpress", "username", "password", "DBO.DataUpdates")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires Aeronautical Solution and Data Interoperability

11/3/2011