Available with Aviation Charting license.
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.
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.
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.
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.
The following fields are required for this tool's input feature classes:
Parameter name Required field Input Airspace Features
LINESYMBOL_TXT, LEFTLABEL_TXT, RIGHTLABEL_TXT, GFID, LASTMOD_DATE, PREFERENCE_TXT, and MAPID_TXT
Target Airspace Line Features
Area of Interest Features
NAME and JSON
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.
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.
arcpy.aviation.GenerateAirspaceLines(in_airspace_features, target_airspace_line_features, aoi_features, preference_table, preference)
The polygon feature class containing the airspace boundaries.
The polyline feature class containing the airspace line data.
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.
The table of preferences that controls how the airspace lines are added, modified, or deleted.
The name of a selected preference in the preference_table parameter. The selected preference controls how the airspace lines are added, modified, or deleted.
The updated target_airspace_line_features.
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")
- Basic: No
- Standard: Requires ArcGIS Aviation Charting
- Advanced: Requires ArcGIS Aviation Charting