ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

CreateAirspaceAreas

  • Summary
  • Discussion
  • Syntax
  • Code sample

Summary

Associates vertical (flight level) information from an airspace to two-dimensional features. Labeling these features with vertical information allows the display of three-dimensional information on a two-dimensional chart.

Discussion

This function creates new AirspaceArea features from Airspace features. A geometric union of overlapping airspace is performed. The geometric union creates features with identical horizontal extents but different vertical information (flight levels). These features can be stacked on top of each other. A new two-dimensional geometry is created from each group of stacked features. It writes that geometry and all vertical information from each group into a new feature in the AirspaceArea feature class. You can display the vertical information as annotation on a chart by using Custom Callouts with a VST expression. This allows you to show three-dimensional information on a two-dimensional chart.

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.

Syntax

CreateAirspaceAreas (aoi_info, production_database, preference_name)
ParameterExplanationData Type
aoi_info

An AviationChartInfo object that contains the information for the 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.

AviationChartInfo
production_database

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

String
preference_name

The preference used to run the create airspace areas in ArcMap. The preferences define the filter, airspace type, and spatial selection.

String

Code sample

CreateAirspaceAreas example

This script associates vertical (flight level) information from an airspace to two-dimensional features.

# Name: CreateAirspaceAreasExample.py
# Description: Associates vertical (flight level) information from an airspace to two-dimensional 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 = "Low Airspace"

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

# Associates vertical (flight level) information
for aoi in mapIDs.values():
    arcpyproduction.aviation.charting.CreateAirspaceAreas(aoi_info,production_database,preference_name)

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

Related topics

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

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2020 Esri. | Privacy | Legal