ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Справка
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Картографическая платформа вашей организации

ArcGIS Desktop

Полноценная профессиональная ГИС

ArcGIS Enterprise

ГИС предприятия

ArcGIS Developers

Инструменты для встраивания приложений с местоположениями

ArcGIS Solutions

Бесплатные шаблоны карт и приложений для отрасли

ArcGIS Marketplace

Получение приложения и данных для вашей организации.

  • Документация
  • Поддержка
Esri
  • Войти
user
  • Мой профиль
  • Выход

ArcMap

  • На главную
  • Начало работы
  • Карта
  • Анализ
  • Управление данными
  • Инструменты
  • Дополнительные модули

GetAviationAOI

  • Сводка
  • Описание
  • Синтаксис
  • Пример кода

Сводка

Retrieves the map ID, reference scale, rotation angle, geometry, and extraction query information for an area of interest (AOI) feature.

Описание

This function can be used to retrieve the AOIs for different aeronautical charts stored in a product library. Once this information is retrieved, 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.

Синтаксис

GetAviationAOI (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

Значение отраженного сигнала

Тип данныхОбъяснение
Dictionary

A dictionary that contains the map ID, reference scale, rotation angle, spatial reference, and extraction query properties.

Пример кода

GetAviationAOI example

This sample retrieves information on several map IDs and prints them.

# Name: GetAviationAOI.py
# Description: Retrieves information about map AOIs and prints the map IDs
# Author: Esri
# Date: June 2014

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

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

# Set variables
prodLib = "c:/data/FAA_PL.sde"
aois = ["Aeronautical::IFR_Enroute::AK High::AK H-2::AK H-2::AK H-2 AOI","Aeronautical::IFR_Enroute::US High Even::H-12::H-12::H-12 AOI"]

# Get map IDs
mapIDs = arcpyproduction.aviation.charting.GetAviationAOI(prodLib,aois)

# Print map ID, reference scale, and rotation angle
for key in mapIDs.keys():
    print("MapId: {}\n Reference Scale: {}\n Rotation Angle: {}\n".format(mapIDs[key].mapid, mapIDs[key].referencescale, mapIDs[key].rotationangle))

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

Связанные разделы

  • Introduction to arcpyproduction.aviation.charting
  • Creating a Python script to perform cartographic tasks on aeronautical charts

ArcGIS Desktop

  • На главную
  • Документация
  • Поддержка

ArcGIS

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

Об Esri

  • О нас
  • Карьера
  • Блог Esri
  • Конференция пользователей
  • Саммит разработчиков
Esri
Расскажите нам, что вы думаете.
Copyright © 2022 Esri. | Конфиденциальность | Правовая информация