AOI Mask (Aeronautical)

汇总

Generates a new masking feature that can be used to hide features that fall outside specified polygon features. It allows you to choose specific AOI and erase polygon features from within a feature class, creates a masking feature that is the difference between the selected erase features and the AOI, and commits the AOI MapId and erase feature class name to the new mask feature.

注意注意:

After running the AOI Mask tool you can use the Feature Display Settings tool to control which feature classes will be masked by the AOI Mask output feature for final cartographic display.

用法

语法

AOIMask_Aeronautical (input_aoi_feature_class, input_aoi_feature_query, input_id_field, input_erase_feature_class, input_erase_features_query, output_feature_class)
参数说明数据类型
input_aoi_feature_class

The polygon feature class containing the area of interest feature.

Feature Layer
input_aoi_feature_query

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

SQL Expression
input_id_field

A field from the input AOI feature class used to identify which AOI was used to create the output feature.

Field
input_erase_feature_class

The feature class used to define the erase polygon features.

Feature Layer
input_erase_features_query

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

SQL Expression
output_feature_class

Feature class where the output mask polygon will be written.

Feature Class

代码示例

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\127.0.0.1_SQLEXPRESS.gds\ASPm(VERSION:dbo.DEFAULT)\ASPm.DBO.Airspace",
                           "Name_Txt = 'AWP NV E5 MINDEN'", "Name_Txt",
                           "Database Servers\127.0.0.1_SQLEXPRESS.gds\ASPm (VERSION:dbo.DEFAULT)\ASPm.DBO.ADHPSurfaceArea",
                           "OBJECTID = '12366' OR OBJECTID = '12367'",
                           "Database Servers\127.0.0.1_SQLEXPRESS.gds\ASPm (VERSION:dbo.DEFAULT)\ASPm.DBO.AOIMask")

环境

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

相关主题

许可信息

ArcView: 否
ArcEditor: 否
ArcInfo: 需要 Aeronautical Solution

9/30/2010