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

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

CreateAirspaceLines

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

Сводка

Generates line data from airspace features. You use this data to generate symbology and labels for both sides of the line features.

Описание

This function creates line data from airspace features that can be used for creating symbology and labeling both sides of coincident airspace features. The line features have attribute values from the source airspaces. Using visual specifications, you can symbolize and label the lines based on these attributes. This will depict the types of airspace line features you can create. The features are written to the AirspaceLine feature class.

Preferences are a configuration step. You must set them before running the tool. However, once they are set, you do not have to change them unless you want to. You can create multiple sets of preferences by assigning names to them and switching between them.

Синтаксис

CreateAirspaceLines (aoi_info, production_database, preference_name)
ПараметрОбъяснениеТип данных
aoi_info
[aoi_info,...]

A list of AviationChartInfo objects. The objects contain the information for map ID for the areas of interest to be processed. The map ID can be retrieved using the GetAviationAOI function and will be formatted as Solution Name::Product Class Name::Series Name::Product Name::Instance Name::AOI Name.

String
production_database

Path to the workspace containing the data used for production tasks or is referenced by maps and charts.

String
preference_name

The preference used to run the create airspace lines in ArcMap. The preferences define the airspace type, label fields, and cluster tolerance.

String

Пример кода

CreateAirspaceLines example

This script generates line data from airspace features.

# Name: CreateAirspaceLinesExample.py
# Description: Generates line data from airspace features
# 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"
production_database = "c:/data/FAA_PD.sde"
aoi_info = ["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"]
preference_name = "FIR"

# Get map IDs
mapIDs = arcpyproduction.aviation.charting.GetAviationAOI(product_library,aoi_info)

# Generate line data from airspace features
arcpyproduction.aviation.charting.CreateAirspaceLines(mapIDs.values(),production_database,preference_name)

# 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. | Конфиденциальность | Правовая информация