Import AIXM 4.5 To AIS (Aviation Data Management)

License Level:BasicStandardAdvanced

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 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

ImportAIXM45toAIS_aviationmanagement (SrcDataset_AIXM, AttributeSchemaMapper, SubtypeSchemaMapper, SDEDestDataset, SDEServer, SDEInstance, SDEUserName, SDEPassword, SDEVersion, {destcoordsys})
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 ArcGIS for Aviation 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 ArcGIS for Aviation 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 user name. This user must have SELECT, INSERT, UPDATE, and DELETE permission in the SDEDestDataset.

String
SDEPassword

Database password.

String
SDEVersion

The geodatabase version name.

String
destcoordsys
(Optional)

The spatial reference on the AIXM data in the Destination Enterprise Geodatabase.

Spatial Reference

Code Sample

ImportAIXM45toAIS example (Python window)

The following Python window script demonstrates how to use the ImportAIXM45toAIS 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"

# subtype schema map
subtypeSchemaMap = "C:/Program Files/ArcGIS/ESRIAeronautical/Desktop10.1/DataConversion/AIXM/SchemaMapper/AIXMtoESRI_Subtype.csv"

# destination dataset 
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"

# execute the import
arcpy.ImportAIXMtoAIS_aviationmanagement(srcAIXM,attributeSchemaMap,subtypeSchemaMap,sourceDataset,server,instance,user,pwd,version)

Environments

Related Topics

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
3/3/2014