Generate Airspace Lines (Aviation)

Available with Aviation Charting license.

Summary

Adds, modifies, or deletes polyline features from coincident edges of airspace polygons.

The AirspaceLine polyline feature class included in the ArcGIS Aviation Charting AIS geodatabase schema has similar attributes to the Airspace polygon feature class. Using Arcade expressions, you can symbolize and label the lines based on these attributes. The Generate Airspace Lines tool uses settings, known as preferences, to define how it will process polyline features. These preferences are configured using a separate user interface and should be established before running the tool.

Usage

  • The Target Airspace Line Features polyline feature class contains features that will be added, modified, or deleted by this tool based on the topological relationships between the Area of Interest Features polygon feature class and the Input Airspace Features polygon feature class. Features that share coincident edges will be processed.

  • The Area of Interest Features polygon feature class is used to set a boundary within which airspace polygon features will be processed. Airspace polygon features that wholly or partially overlap the area of interest (AOI) will be processed.

    Note:

    The tool will only honor Area of Interest Features parameter values that are currently selected on a feature layer. If no AOI is selected, the tool will run using all features in the Area of Interest Features parameter.

  • Caution:

    This tool modifies the input data. See Tools that modify or update the input data for more information and strategies to avoid undesired data changes.

  • You must populate the Preference Table parameter before running this tool. These preferences will define how the tool generates airspace lines. After a preference is created, you can update the attributes as necessary. You can also create multiple preferences by assigning unique names to each preference in the table.

    Learn more about creating preferences

  • The following fields are required for this tool's input feature classes:

    Parameter nameRequired field
    Input Airspace Features

    LINESYMBOL_TXT, LEFTLABEL_TXT, RIGHTLABEL_TXT, GFID, LASTMOD_DATE, PREFERENCE_TXT, and MAPID_TXT

    Target Airspace Line Features

    TYPE_CODE

    Area of Interest Features

    MAPID

    Preference Table

    NAME and JSON

    Note:

    If you are using the AIS database schema included in the ArcGIS Aviation Charting product files, these required fields will be included in that schema's feature classes.

  • The tool will display messages summarizing the number of airspace polyline features that were added, updated, or deleted for each processed AOI feature.

Syntax

arcpy.aviation.GenerateAirspaceLines(in_airspace_features, target_airspace_line_features, aoi_features, preference_table, preference)
ParameterExplanationData Type
in_airspace_features

The polygon feature class containing the airspace boundaries.

Feature Layer
target_airspace_line_features

The polyline feature class containing the airspace line data.

Feature Layer
aoi_features

The polygon feature class containing the area of interest (AOI) data.

The tool will use the selected polygon features to filter which airspace lines will be added, modified, or deleted.

Feature Layer
preference_table

The table of preferences that controls how the airspace lines are added, modified, or deleted.

Table View
preference

The name of a selected preference in the preference_table parameter. The selected preference controls how the airspace lines are added, modified, or deleted.

String

Derived Output

NameExplanationData Type
updated_airspace_line_features

The updated target_airspace_line_features.

Feature Layer

Code sample

GenerateAirspaceLines example (Python window)

The following code sample demonstrates how to use the GenerateAirspaceLines function.

# Name: GenerateAirspaceLines_example.py
# Description: Adds, deletes, and/or updates airspace line features based on the coincident
# boundaries of airspace polygon features.

import arcpy

# Check out Aviation license

arcpy.CheckOutExtension("Aeronautical")

# Set variables

airspace_lines = r'c:\data\AIS.gdb\AirspaceLines'

airspace = r'c:\data\AIS.gdb\Airspace'

aoi = r'c:\data\AIS.gdb\AOI'

preference_table = r'c:\data\AIS.gdb\Preferences'

preference = 'Enroute_Low'

# Execute GenerateAirspaceLines

arcpy.aviation.GenerateAirspaceLines(
    airspace, airspace_lines, aoi, preference_table, preference)

# Check in Aviation license

arcpy.CheckInExtension("Aeronautical")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Requires ArcGIS Aviation Charting
  • Advanced: Requires ArcGIS Aviation Charting

Related topics