1r.mask(1) Grass User's Manual r.mask(1)
2
3
4
6 r.mask - Create a MASK for limiting raster operation
7
9 raster, mask
10
12 r.mask
13 r.mask help
14 r.mask [-or] input=string [maskcats=string]
15
16 Flags:
17 -o Overwrite existing MASK
18
19 -r Remove existing MASK (overrides other options)
20
21 Parameters:
22 input=string
23 Raster map to use as MASK
24
25 maskcats=string
26 Category values to use for MASK (format: 1 2 3 thru 7 *) Default: *
27
29 r.mask - Facilitates creation of a raster "MASK" map to control raster
30 operations. r.mask uses r.reclass to create a reclassification of an
31 existing raster map and name it MASK. The user can select cat values to
32 use in the MASK.
33 As long as the file named MASK exists in the current mapset, most
34 raster operations will only take place in the grid cells specified by
35 the MASK. To restore raster operations to normal (i.e., all cells of
36 the current region), remove the MASK file by setting the remove MASK
37 flag (-r). A MASK also can be removed by using g.remove or by rename it
38 to any other name with g.rename.
39
40 (GRASS Shell Script)
41
43 r.reclass
44
46 Michael Barton, Arizona State University
47
48 Last changed: $Date: 2007/03/08 13:51:30 $
49
50
51
52GRASS 6.2.2 r.mask(1)