Import AIXM 5.1 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 5.1 XML message and re-creates them in the AIS data model. AIXM messages are XML documents that conform to the AIXM XML schema.

用法

语法

ImportAIXM51ToAIS_aviationmanagement (source_aixm5, geodatabase_sde, attribute_schema_mapper, {destcoordsys}, {aixm5_in_srs_axis_order_aixm5})
参数说明数据类型
source_aixm5

The AIXM-XML data.

File
geodatabase_sde

Connection file to the geodatabase that is going to store the AIXM data in the AIS data model.

File
attribute_schema_mapper

The .csv file that contains the AIXM element to AIS attribute schema mapping rules. You can use AIXM51toESRI_Attribute.csv located in the 航空制表 installation directory.

File
destcoordsys
(可选)

Specifies a coordinate system for the data in the destination AIS geodatabase. The tool will reproject the data if necessary.

Spatial Reference
aixm5_in_srs_axis_order_aixm5
(可选)

Specifies the axis order of coordinates in the Source AIXM5 File. Axis order indicates the order of coordinate latitude, longitude, and elevation values.

  • 1,2Coordinates are ordered as latitude, longitude.
  • 2,1Coordinates are ordered as longitude, latitude.
  • 1,2,3Coordinates are ordered as latitude, longitude, elevation.
  • 2,1,3Coordinates are ordered as longitude, latitude, elevation.
String

代码实例

ImportAIXM51ToAIS example (Python window)

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

# AIS workspace
aisWorkspace="c:/data/ais.sde"

# coordinate axis order
axisOrder="1,2"

# execute the import tool
arcpy.ImportAIXM51toAIS_aviationmanagement(srcAIXM, attributeSchemaMap, aisWorkspace,"", axisOrder)

环境

相关主题

许可信息

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