AOI Mask (Aeronautical)


Generates a masking feature by erasing an area from an input area of interest (AOI) polygon. The masking feature is the difference between the erase and the AOI features. The tool writes an ID value from the AOI polygon and the erase feature class name to a new mask feature in an output feature class. You can use the masking feature to hide parts of layers that render beneath it and outside the erase features.

After running the AOI Mask tool you can use the Feature Display Settings tool to configure layer masking in ArcMap.



AOIMask_Aeronautical (input_aoi_features, input_aoi_feature_query, input_id_field, input_erase_features, input_erase_features_query, output_features)
ParameterExplanationData Type

The polygon area of interest feature. This feature, minus the erase area, will form the output mask feature.

Feature Layer

Query that retrieves a single AOI feature. This is automatically populated if layer definition queries exist in ArcMap.

SQL Expression

A field from the Input AOI Features used to identify which AOI was used to create the output feature.


The features used to erase areas from input_aoi_features.

Feature Layer

Query that retrieves polygon features. This is automatically populated if layer definition queries exist in ArcMap.

SQL Expression

Feature class where the output mask polygon will be written.

Feature Class

Code Sample

AOIMask example (ArcGIS Python window)

This ArcGIS Python window script demonstrates a use of the AOIMask function.

import arcpy

# Load Toolbox
arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Aeronautical Tools.tbx')

# Process: AOI Mask
arcpy.AOIMask_Aeronautical("Database Servers\\ASPm(VERSION:dbo.DEFAULT)\ASPm.DBO.Airspace",
                           "Name_Txt = 'AWP NV E5 MINDEN'", "Name_Txt",
                           "Database Servers\\ASPm (VERSION:dbo.DEFAULT)\ASPm.DBO.ADHPSurfaceArea",
                           "OBJECTID = '12366' OR OBJECTID = '12367'",
                           "Database Servers\\ASPm (VERSION:dbo.DEFAULT)\ASPm.DBO.AOIMask")


This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires Aeronautical Solution