Generate Aviation Cartographic Features (Aviation)

获得 Aviation Charting 许可后可用。

摘要

Creates cartographic copies of features based on the area of interest they fall into.

Optionally, copies can also be created based on attribute queries that further refine the criteria for candidate features or manual inclusion or exclusion of features.

使用情况

  • The extraction query and the inclusion/exclusion table will be populated by separate ArcGIS Aviation tools.

  • The extraction query and the inclusion/exclusion table are included in the ArcGIS Aviation charting workspace schema.

参数

标注说明数据类型
Source and Target Cartographic Features

Associates source feature classes with the cartographic feature classes in which they will be generating features.

The first row is the source feature class to copy from, and the second row is the target cartographic feature class to copy features to.

Value Table
Area of Interest Features

A layer of area of interest (AOI) polygon features, that is used to spatially filter source features.

Feature Layer
Extraction Query Table
(可选)

A table of where clauses to further filter source features based on an attribute query.

Table View
Cartographic Exceptions Table
(可选)

A table identifying manually included or excluded source features.

Table View

派生输出

标注说明数据类型
Updated Cartographic Feature Classes

The updated cartographic feature classes.

Feature Class

arcpy.aviation.GenerateAviationCartographicFeatures(source_target_carto_features, aoi_features, {extraction_query_table}, {inclusion_exclusion_table})
名称说明数据类型
source_target_carto_features
[[source_features, target_features],...]

Associates source feature classes with the cartographic feature classes in which they will be generating features.

The first row is the source feature class to copy from, and the second row is the target cartographic feature class to copy features to.

Value Table
aoi_features

A layer of area of interest (AOI) polygon features, that is used to spatially filter source features.

Feature Layer
extraction_query_table
(可选)

A table of where clauses to further filter source features based on an attribute query.

Table View
inclusion_exclusion_table
(可选)

A table identifying manually included or excluded source features.

Table View

派生输出

名称说明数据类型
carto_feature_classes

The updated cartographic feature classes.

Feature Class

代码示例

GenerateAviationCartographicFeatures

The following Python window script demonstrates how to use the GenerateAviationCartographicFeatures tool:

import os
import arcpy

# set gp environment
arcpy.CheckOutExtension("Aeronautical")

db_join_func = lambda fc : os.path.join(r"C:\data\MyData.gdb", fc)

# source feature classes
sources = map(db_join_func, ["ADHP", "Airspace", "ATSRoute"])

# Target feature classes
targets = map(db_join_func, ["ADHP_C", "Airspace_C", "ATSRoute_C"])

value_table_string = ";".join(map(" ".join, zip(sources, targets)))

# create feature layer with aoi feature selection
aoi_layer = "aoi_layer"
arcpy.MakeFeatureLayer_management(r"C:\data\MyData.gdb\AOI", aoi_layer,
                                  "Tag LIKE '%AREA LOW%'")

# Running tool
arcpy.GenerateAviationCartographicFeatures_aviation(value_table_string,
                                                    aoi_layer)

arcpy.CheckInExtension("Aeronautical")

环境

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

许可信息

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

相关主题