Generate Airspace Lines (Aviation)

获得 Aviation Charting 许可后可用。

描述

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.

    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

    注:

    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.

语法

arcpy.aviation.GenerateAirspaceLines(in_airspace_features, target_airspace_line_features, aoi_features, preference_table, preference)
参数说明数据类型
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

派生输出

名称说明数据类型
updated_airspace_line_features

The updated target_airspace_line_features.

Feature Layer

代码示例

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

环境

此工具不使用任何地理处理环境。

许可信息

  • Basic: 否
  • Standard: 需要 ArcGIS Aviation Charting
  • Advanced: 需要 ArcGIS Aviation Charting

相关主题