[GRASS-SVN] r29801 - grass/trunk/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 22 23:25:23 EST 2008
Author: hamish
Date: 2008-01-22 23:25:23 -0500 (Tue, 22 Jan 2008)
New Revision: 29801
Modified:
grass/trunk/raster/rasterintro.html
Log:
hint about MASK quant from Glynn
Modified: grass/trunk/raster/rasterintro.html
===================================================================
--- grass/trunk/raster/rasterintro.html 2008-01-22 22:54:18 UTC (rev 29800)
+++ grass/trunk/raster/rasterintro.html 2008-01-23 04:25:23 UTC (rev 29801)
@@ -87,12 +87,20 @@
performed (nearest neighbor resampling). If this is not desired, the
input map(s) has/have to be resampled beforehand with one of the dedicated
modules.
-<P>
+
+<h4>Raster MASKs</h4>
If a raster map named "MASK" exists, most GRASS raster modules will operate
only on data falling inside the masked area, and treat any data falling
outside of the mask as if its value were NULL. The mask is only applied
when <em>reading</em> an existing GRASS raster map, for example when used
-in a module as an input map. (see <a href="r.mask.html">r.mask</a>)
+in a module as an input map.
+<P>
+The mask is read as an integer map. If MASK is actually a
+floating-point map, the values will be converted to integers using the
+map's quantisation rules (this defaults to round-to-nearest, but can
+be changed with r.quant).
+<P>
+(see <a href="r.mask.html">r.mask</a>)
<h3>Raster map statistics</h3>
More information about the grass-commit
mailing list