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

Aixm51ExportInfo

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

摘要

The Aixm51ExportInfo object provides access to export settings used by the AIXM 5.1 exporter. This object contains a dictionary of tables and matching queries to export, as well as an export_type property determining the type of AIXM 5.1 message to export.

说明

The object is used by the ExportAixm51 function. Once created, the queries dictionary may be populated using the tables to export as keys and SQL where clauses as values. The type of export message can be accessed and modified via the export_type property.

语法

Aixm51ExportInfo (export_type)
参数说明数据类型
export_type

The type of AIXM 5.1 message to export. Valid values are BASELINE and PERM_DELTA.

String

属性

属性说明数据类型
queries
(可读写)

A dictionary mapping table names to SQL queries. Any table that is a dictionary key will be exported. If the query associated with the table is empty, the entire table will be exported. If no entries are added to the queries dictionary, the entire geodatabase will be exported.

Dictionary
export_type
(可读写)

The type of AIXM 5.1 message to be created. Valid values are BASELINE and PERM_DELTA.

String
from_time
(可读写)

The starting time from which to measure a delta export. Only valid for PERM_DELTA export types. An export type of BASELINE will ignore this property.

DateTime

代码示例

Aixm51ExportInfo

This sample creates an Aixm51ExportInfo object and accesses its properties.

# Name: Aixm51ExportInfo_example.py
# Description: Creates an AIXM 5.1 export settings object
# Author: Esri
# Date: November 2015

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction
import datetime

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

# Create Aixm51ExportInfo object
export_settings = arcpyproduction.aviation.Aixm51ExportInfo("PERMDELTA")

# Set and access export_settings
export_settings.queries["ADHP"] = "TYPE_CODE = 'AH'"
export_settings.queries["Airspace"] = "TYPE_CODE = 'FIR'"
export_settings.queries["OrgAuth"] = "" # empty query will export everything

export_settings.from_time = datetime.datetime(2015, 11, 18) # set features valid starting from Nov. 18, 2015

# print export_type property
print "Export type: " + export_settings.export_type

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

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

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

关于 Esri

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