Mask


Identifies those cells within the analysis extent that will be considered when performing an operation or a function. Setting an analysis mask means that processing will only occur on selected locations and that all other locations will be assigned values of NoData.

Setting an analysis mask is a three-step process:

Illustration


Mask illustration

Usage tips

Command line syntax

An overview of the command line window

Mask <raster_dataset>


Parameters Explanation Datatype
<raster_dataset> A raster dataset in which all cells of interest have a value, and all other cells have a value of NoData. Raster Dataset

Data types for geoprocessing tool parameters

Command line example

Mask H:\Willamette\oldgrow_fir

Scripting syntax

An overview of scripting in geoprocessing

Mask (raster_dataset)


Parameters Explanation Datatype
raster_dataset (Required) A raster dataset in which all cells of interest have a value, and all other cells have a value of NoData. Raster Datatset

Data types for geoprocessing tool parameters

Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace"
gp.toolbox = "SA"
gp.Mask = "H:/Willamette/oldgrow_fir"

See Also