摘要
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.
用法
You can customize this tool. Right-click the tool in the ArcToolbox window and click Edit. The tool will open in the Data Interoperability Workbench.
This tool uses the Attribute Schema Mapper parameter to map AIXM elements to AIS attributes. Attribute Schema Mapper is a path to a .csv file that lists attribute mappings between the data models. You can use the AIXM51toESRI_Attribute.csv file provided with ArcGIS for Aviation:Charting. This file is installed in the <Aviation installation dir>\DataExchange\AIXM\SchemaMapper folder.
This tool requires an ArcSDE geodatabase with the AIS schema. Specify an enterprise geodatabase connection file in the Geodatabase Connection File parameter.
All feature classes in the Geodatabase Connection File must be registered as versioned. This tool starts an edit session and writes into the geodatabase.
此工具为内存密集型。如果你在使用 ArcGIS Data Interoperability 扩展模块导入大型文件(200 MB 或更大)时遇到困难,请联系 Esri。
语法
ImportAIXM51ToAIS_aviationmanagement (source_aixm5, geodatabase_sde, attribute_schema_mapper, {destcoordsys}, {aixm5_in_srs_axis_order_aixm5})
参数 | 说明 | 数据类型 |
source_aixm5 | AIXM-XML 数据。 | 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 Aviation Charting 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.
| 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