Generate Airspace Lines (Aviation)

Disponible avec une licence Aviation Charting.

Résumé

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.

Utilisation

  • 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.

    Remarque :

    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.

  • Attention :

    Cet outil modifie les données en entrée. Pour plus d’informations et connaître les stratégies permettant d’empêcher les modifications de données indésirables, reportez-vous à la rubrique Outils qui modifient ou mettent à jour les données en entrée.

  • 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

    Remarque :

    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.

Syntaxe

arcpy.aviation.GenerateAirspaceLines(in_airspace_features, target_airspace_line_features, aoi_features, preference_table, preference)
ParamètreExplicationType de données
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

Sortie dérivée

NomExplicationType de données
updated_airspace_line_features

The updated target_airspace_line_features.

Feature Layer

Exemple de code

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")

Environnements

Cet outil n'utilise pas d’environnement de géotraitement.

Informations de licence

  • Basic: Non
  • Standard: Requiert ArcGIS Aviation Charting
  • Advanced: Requiert ArcGIS Aviation Charting

Rubriques connexes