Export AIS to AIXM (Aeronautical)

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

ExportAIStoAIXM_Aeronautical (DestDataset_AIXM, AttributeSchemaMapper, SourceDataset_GEODATABASE_SDE, _GEODBInServer_GEODATABASE_SDE, _GEODBInInstance_GEODATABASE_SDE, _GEODBInUserName_GEODATABASE_SDE, _GEODBInPassword_GEODATABASE_SDE, _GEODBInVersion_GEODATABASE_SDE)
ParameterExplanationData Type
DestDataset_AIXM

The file that will contain the AIXM 4.5 XML.

File
AttributeSchemaMapper

The *.csv file that defines the mapping of AIS attributes to AIXM 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 valid database username.

String
_GEODBInPassword_GEODATABASE_SDE

A valid database password.

String
_GEODBInVersion_GEODATABASE_SDE

The geodatabase version name.

String

Code Sample

ExportAIStoAIXM example (Python window)

The following Python window script shows a use of the ExportAIStoAIXM function.

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

# Local variables for the output xml and input csv
Destination_AIXM_Dataset = "C:\\Data\\Aero\\AIStoAIXM_Export.xml"
AIXMtoESRI_Attribute_csv = "C:\\Program Files\\ESRIAeronautical\\Desktop10.0\\DataConversion\\AIXM\\SchemaMapper\\ESRItoAIXM_Oracle_Attribute.csv" 

# Exec Export AIS to AIXM
arcpy.ExportAIStoAIXM_Aeronautical(Destination_AIXM_Dataset, AIXMtoESRI_Attribute_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