Export AIS to AIXM 4.5 (Aeronautical Data Management)

License Level:BasicStandardAdvanced

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

Syntax

ExportAIStoAIXM45_aeronauticalmanagement (AttributeSchemaMapper, SourceDataset_GEODATABASE_SDE, GEODBInServer_GEODATABASE_SDE, GEODBInInstance_GEODATABASE_SDE, GEODBInUserName_GEODATABASE_SDE, GEODBInPassword_GEODATABASE_SDE, GEODBInVersion_GEODATABASE_SDE, DestDataset_AIXM)
ParameterExplanationData 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

ExportAIStoAIXM45 example (Python window)

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)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requires Airports or Aeronautical, and Data Interoperability
ArcGIS for Desktop Advanced: Requires Airports or Aeronautical, and Data Interoperability
10/29/2012