ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

ImportAmxm

  • 描述
  • 讨论
  • 语法
  • 代码示例

描述

Imports Aerodrome Mapping Exchange Model (AMXM) 2.0 schema data into an Airports geodatabase.

注:

This ArcPyProduction function imports data into the Airports 18C schema.

讨论

AMXM data can be imported into an ArcGIS Aviation Airports geodatabase with the Airports schema. ImportAmxm decodes the features and relationships defined in an AMXM 2.0 XML message and loads them into the Airports data model. AMXM messages are XML documents that conform to the AMXM XML schema.

语法

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

The path to the connection file for the geodatabase to which the AMXM 2.0 data will be imported. The geodatabase must include the Airports data model.

String
message_path

The path to the AMXM 2.0 XML message that has the feature and relationships that will be imported into the Airports data model.

String
log_path

The directory that will store the log file that reports any errors that have occurred during import.

String
table_list
[table_list,...]

The list of AMXM tables in the AIS datamodel that feature will be imported into. By default, all supported feature are imported.

String

代码示例

ImportAmxm example

This sample imports data from an AMXM 2.0 message file and imports it into a geodatabase.

# Name: ImportAmxm_example.py
# Description: Imports AMXM 2.0 data into a geodatabase
# Author: Esri
# Date: December 2016

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

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

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

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

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

相关主题

  • Introduction to arcpyproduction.aviation
  • Mapping information for AMXM and Airports datamodel

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

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