Generate Airspace Lines (Aviation)

获得 Aviation Charting 许可后可用。

摘要

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

Polyline features can also be generated based on intersecting airspaces. 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 parameter value contains features that will be added, modified, or deleted based on the topological relationships between the Area of Interest Features parameter value and the Input Airspace Features parameter value. Features that share coincident edges will be processed.

  • The Area of Interest Features parameter value 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.

  • 警告:

    此工具会修改输入数据。 有关详细信息以及避免数据被意外更改的策略,请参阅修改或更新输入数据的工具

  • 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

  • For best results, sufficiently densify the airspace polygons before running this tool. Run the Geodesic Densify tool with the default parameter options on the airspaces; then run this tool. This results in the output having better alignment with the initial input airspace lines.

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

    Parameter nameRequired field

    Input Airspace Features

    TYPE_CODE

    Target Airspace Line Features

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

    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.

  • The cluster tolerance, also known as the x,y tolerance, refers to the minimum distance between coordinates before they are considered equal. It is used when processing the airspaces to determine which lines are sharing an edge. The default cluster tolerance refers to the x,y tolerance defined for a given feature class's properties. The tool uses the cluster tolerance specified in the selected preference. To run the tool with the default cluster tolerance of the Input Airspace Feature Class value, enter 0 in the Aviation Preferences's Cluster Tolerance text box, or type the complete default cluster tolerance value.

参数

标注说明数据类型
Input 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
Area of Interest Features

The polygon feature class containing the AOI data.

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

Feature Layer
Preference Table

The table of preferences that define how the airspace lines will be added, modified, or deleted.

Table View
Preference

The name of a preference in the Preference Table parameter value. The selected preference defines how the airspace lines will be added, modified, or deleted.

String
Label Airspaces
(可选)

Specifies whether the output line's left and right labels will aggregate and show the labels of the intersecting airspaces that the line is within. The lines with matching labels (RIGHTLABEL_TXT, LINESYMBOL_TXT, and LEFTLABEL_TXT) will be dissolved together.

  • Unchecked—The left and right labels of the output lines will contain the airspace labels of the coincident airspaces only. Intersecting airspaces will not be included. Only coincident airspaces that touch the airspace line within the preference cluster tolerance will be identified. This is the default.
  • Checked—The left and right labels of the output lines will contain airspace labels of intersecting airspaces and coincident airspaces. Only coincident airspaces that touch the airspace line within the preference cluster tolerance will be identified.
Boolean

派生输出

标注说明数据类型
Updated Airspace Line Features

The updated Target Airspace Line Features value.

Feature Layer

arcpy.aviation.GenerateAirspaceLines(in_airspace_features, target_airspace_line_features, aoi_features, preference_table, preference, {label_airspaces})
名称说明数据类型
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 AOI data.

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

Feature Layer
preference_table

The table of preferences that define how the airspace lines will be added, modified, or deleted.

Table View
preference
[preference,...]

The name of a selected preference in the preference_table parameter value. The selected preference defines how the airspace lines will be added, modified, or deleted.

String
label_airspaces
(可选)

Specifies whether the line output left and right labels will aggregate and show the labels of the intersecting airspaces that the line is within. The lines with matching labels (RIGHTLABEL_TXT, LINESYMBOL_TXT, and LEFTLABEL_TXT) will be dissolved together.

  • NO_INTERSECTING_AIRSPACESThe left and right labels of the output lines will contain the airspace labels of the coincident airspaces only. Intersecting airspaces will not be included. Only coincident airspaces that touch the airspace line within the preference cluster tolerance will be identified. This is the default.
  • INTERSECTING_AIRSPACESThe left and right labels of the output lines will contain airspace labels of intersecting airspaces and coincident airspaces. Only coincident airspaces that touch the airspace line within the preference cluster tolerance will be identified.
Boolean

派生输出

名称说明数据类型
updated_airspace_line_features

The updated target_airspace_line_features value.

Feature Layer

代码示例

GenerateAirspaceLines example (Python)

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', 'Class E']

label_airspaces = 'INTERSECTING_AIRSPACES'

# Execute GenerateAirspaceLines

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

# Check in Aviation license

arcpy.CheckInExtension("Aeronautical")

环境

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

许可信息

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

相关主题