Export AIS to AIXM (Aeronautical)

汇总

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.

用法

语法

ExportAIStoAIXM_Aeronautical (DestDataset_AIXM, AttributeSchemaMapper, SourceDataset_GEODATABASE_SDE, _GEODBInServer_GEODATABASE_SDE, _GEODBInInstance_GEODATABASE_SDE, _GEODBInUserName_GEODATABASE_SDE, _GEODBInPassword_GEODATABASE_SDE, _GEODBInVersion_GEODATABASE_SDE)
参数说明数据类型
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

代码示例

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

环境

此工具不使用任何地理处理环境

相关主题

许可信息

ArcView: 否
ArcEditor: 否
ArcInfo: 需要 Aeronautical Solution and Data Interoperability

9/30/2010