Import AIXM 4.5 To AIS (Aviation Data Management)

许可等级:BasicStandardAdvanced

摘要

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.

用法

语法

ImportAIXM45toAIS_aviationmanagement (SrcDataset_AIXM, AttributeSchemaMapper, SubtypeSchemaMapper, SDEDestDataset, SDEServer, SDEInstance, SDEUserName, SDEPassword, SDEVersion, {destcoordsys})
参数说明数据类型
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
(可选)

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

Spatial Reference

代码实例

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)

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 需要 Airports or Aviation Charting, and Data Interoperability
ArcGIS for Desktop Advanced: 需要 Airports or Aviation Charting, and Data Interoperability
4/27/2014