[GRASS-dev] MASK seems to be ignored
Martin Landa
landa.martin at gmail.com
Tue Feb 5 11:42:57 EST 2008
Hi,
[snip]
2008/2/5, Michael Barton <michael.barton at asu.edu>:
> The way I understand it is that a MASK will affect all subsequent
> *read* operations for processing a raster map. That is...
>
> r.mapcalc 'newmap=oldmap'
>
> ...will just produce an unaltered copy of oldmap without a MASK; with
> a MASK it will produce a copy of oldmap only in the area of MASK.
>
> MASK will not affect the display. It is for map processing.
I was always thinking that masking *is* affecting the display...
g.region rast=elevation.dem;
r.mapcalc 'MASK=if(elevation.dem>1500,0,1)';
d.mon x0;
d.rast elevation.dem
Martin
--
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev
mailing list