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

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

ExportAmxm

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

描述

Exports data from an Airports geodatabase to an Aerodrome Mapping Exchange Model (AMXM) 2.0 schema data message.

注:

This ArcPyProduction function exports data from the Airports 18C schema.

讨论

AMXM data can be exported from an ArcGIS Aviation Airports enterprise geodatabase with the Airports (18C) schema. This feature retrieves the data and relationships from an Airports schema geodatabase and generates an AMXM XML message representing that data. AMXM messages are XML documents that conform to the AMXM 2.0 XML schema and DO-272D standard.

This tool requires an enterprise geodatabase with the Airports schema. Use this geodatabase as the workspace. This is the name of the geodatabase from which the tool will export data.

语法

ExportAmxm (workspace_path, message_path, export_properties, {log_path})
参数说明数据类型
workspace_path

The path to the connection file for the geodatabase from which the AMXM data is going to be exported. This geodatabase must have the AIS data model.

String
message_path

The path of the AMXM XML message that will be created.

String
export_properties

The AmxmExportInfo object containing the tables to be exported along with SQL queries for those tables and the type of message to export.

Object
log_path

The directory that will store the full path for the log file.

String

代码示例

ExportAmxm example

This sample exports data from an enterprise geodatabase to an AMXM message file.

# Name: ExportAmxm_example.py
# Description: Exports data from an Airports database to an AMXM message
# Author: Esri
# Date: November 2016

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

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

# Create AmxmExportInfo object
export_settings = arcpyproduction.aviation.AmxmExportInfo()

# Set and access export_settings
export_settings.queries["TAXIWAYELEMENT"] = "OPERATIONALSTATUSCODE = 'ACTIVE'"
export_settings.queries["RUNWAYELEMENT"] = "IDARPT = 'KHPN'"
export_settings.queries["STRUCTUREPOLYGON"] = "" # empty query will export everything

gdb = "/Examples/Airports.gdb"
message = "/Examples/AMXM_export.xml"

# export data
arcpyproduction.aviation.ExportAmxm(gdb, message, export_settings)

# 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. | 隐私政策 | 法律声明