Generate Aviation Cartographic Features (Aviation)

Available with Aviation Charting license.

Summary

Creates cartographic copies of features based on the area of interest (AOI) in which they're located.

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

Usage

  • It is recommended that you set extraction queries for your chart's AOI before using this tool. Extraction queries limit cartographic feature creation based on a where clause. Extraction queries are applied when the tags of a saved extraction query match a subset or all tags that are stored on the Area of Interest Features parameter value.

    Extraction queries and the inclusion/exclusion table will be populated by other ArcGIS Aviation tools.

    Learn more about extraction queries

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

    Learn more about the Aeronautical Information System (AIS) schema

  • If the Source Features parameter value contains the MapId_Txt field, the value of that field will be used to restrict cartographic features that would be processed for the given AOI MapId value.

Parameters

LabelExplanationData Type
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 that features will be copied from, and the second row is the target cartographic feature class that features will be copied to.

Value Table
Area of Interest Features

A layer of AOI polygon features that will be used to spatially filter source features.

Feature Layer
Extraction Query Table
(Optional)

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

Table View
Cartographic Exceptions Table
(Optional)

A table identifying manually included or excluded source features.

Table View

Derived Output

LabelExplanationData Type
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})
NameExplanationData Type
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 that features will be copied from, and the second row is the target cartographic feature class that features will be copied to.

Value Table
aoi_features

A layer of AOI polygon features that will be used to spatially filter source features.

Feature Layer
extraction_query_table
(Optional)

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

Table View
inclusion_exclusion_table
(Optional)

A table identifying manually included or excluded source features.

Table View

Derived Output

NameExplanationData Type
carto_feature_classes

The updated cartographic feature classes.

Feature Class

Code sample

GenerateAviationCartographicFeatures example (stand-alone script)

The following Python script demonstrates how to use the GenerateAviationCartographicFeatures function.

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.management.MakeFeatureLayer(r"C:\data\MyData.gdb\AOI", aoi_layer,
                                  "Tag LIKE '%AREA LOW%'")

# Running tool
arcpy.aviation.GenerateAviationCartographicFeatures(value_table_string,
                                                    aoi_layer)

arcpy.CheckInExtension("Aeronautical")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Requires ArcGIS Aviation Charting
  • Advanced: Requires ArcGIS Aviation Charting

Related topics