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

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

AviationChartInfo

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

描述

The AviationChartInfo object provides access to properties of the product library area of interest (AOI). This object is returned from the GetAviationAOI function. It is an object that contains the information for the map ID, reference scale, spatial reference, rotation angle, geometry, and extraction query properties.

讨论

The object is produced by running the GetAviationAOI function and is used by other tools. Once this information is retrieved by other tools, you can view specific details about an AOI feature, such as the map ID, reference scale, rotation angle, geometry, and extraction query. For instance, you can view the spatial reference and rotation angles for all the AOIs in the product library to ensure they are all consistent across products.

语法

AviationChartInfo (product_library, map_id)
参数说明数据类型
product_library

The path to a connection file or the database used as the product library workspace.

String
map_id

The path to the area of interest in the product library. The path information is formatted as Solution Name::Product Class Name::Series Name::Product Name::Instance Name::AOI Name.

String

属性

属性说明数据类型
extractionQuery
(只读)

Returns the SQL statement where clause that allows you to determine which features are extracted into areas of interest that are going to be included in your products.

Dictionary
spatialReference
(只读)

Returns the spatial reference of the AOI's primary coordinate system.

SpatialReference
aoiGeometry
(只读)

Returns the geometry that represents the area of the map.

Geometry
geographicExtent
(可读写)

Returns a True or False Boolean that states whether the AOI is using the geographic extent.

Boolean
mapid
(可读写)

Returns the path to the area of interest in the product library. The path information is formatted as Solution Name::Product Class Name::Series Name::Product Name::Instance Name::AOI Name.

String
rotationAngle
(可读写)

Returns the value of the angle of rotation for the AOI.

Double
referenceScale
(可读写)

Returns the denominator of the scale fraction corresponding to the intended display scale of input data.

Double

代码示例

AviationChartInfo example

This sample retrieves information about a map's AOI and prints it.

# Name: AviationChartInfoSample.py
# Description: Retrieves information about a map's AOI and prints it
# Author: Esri
# Date: March 2015

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

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

# Set variables
product_library = "c:/data/FAA_PL.sde"
map_id = "Aeronautical::IFR_Enroute::AK High::AK H-2::AK H-2::AK H-2 AOI"

# Get map IDs
aoi = arcpyproduction.aviation.charting.AviationChartInfo(product_library,map_id)

# Print map ID, reference scale, and rotation angle
print("MapId: {}\n Reference Scale: {}\n Rotation Angle: {}\n".format(aoi.mapid, aoi.referenceScale, aoi.rotationAngle))

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

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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