ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

ImportAixm45

获得 Production Mapping 许可后可用。

  • 摘要
  • 说明
  • 语法
  • 代码示例

摘要

Imports Aeronautical Information Exchange Model (AIXM) 4.5 schema data into an Aeronautical Information System (AIS) geodatabase.

说明

AIXM 4.5 data can be imported into an ArcGIS for Aviation: Charting enterprise geodatabase with the AIS schema. This function 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.

This tool requires an enterprise geodatabase with the AIS schema. Use this geodatabase as the workspace. This is the name of the geodatabase where the tool will create data.

语法

ImportAixm45 (workspace_path, message_path, {log_path}, {table_list})
参数说明数据类型
workspace_path

The path to the connection file for the geodatabase where the AIXM 4.5 data will be imported. This geodatabase must have the AIS data model.

String
message_path

The path to the AIXM XML message to be imported into the AIS database.

String
log_path

The directory that will store the log file.

String
table_list
[table_list,...]

The list of AIXM tables to import.

String

代码示例

ImportAixm45 example

This sample imports data from an AIXM 4.5 message file and imports it into an enterprise geodatabase.

# Name: ImportAixm45_example.py
# Description: Imports AIXM 4.5 data into a geodatabase
# Author: Esri
# Date: September 2014

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")

# Set variables
workspace = r'c:\data\10.3\Aviation\AIXM_Import.sde'
message = r'c:\data\10.3\Aviation\BD_2010-04-08.xml'
log = r'c:\data\10.3\Aviation\log.txt'

# Execute ImportAixm45
arcpyproduction.aviation.ImportAixm45(workspace, message, log)

# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")

相关主题

  • Introduction to arcpyproduction.aviation
  • AIXM 4.5 features supported by the arcpyproduction.aviation.ImportAixm45 function

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2020 Esri. | 隐私政策 | 法律声明