File: description.html

package info (click to toggle)
grass 6.0.2-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 40,044 kB
  • ctags: 31,303
  • sloc: ansic: 321,125; tcl: 25,676; sh: 11,176; cpp: 10,098; makefile: 5,025; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (49 lines) | stat: -rw-r--r-- 1,682 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<H2>DESCRIPTION</H2>

The function of <EM>r.null</EM> is to explicitly create the NULL-value
bitmap file. The intended usage is to fix "old" maps that don't have a
NULL-value bitmap file (i.e. to indicate if zero is valid value or is to be
converted to NULL). The module does not work with reclassified maps.

<P>

The design is flexible. Ranges of values can be set to NULL and/or the NULL
value can be eliminated and replace with a specified value.
<p>

The <b>setnull</b> parameter is used to specify values in the ranges to
be set to NULL.  A range is either a single value (e.g., 5.3), or a pair of
values (e.g., 4.76-34.56).  Existing NULL-values are left NULL, unless the
null argument is requested.
<P>

The <b>null</b> parameter eliminates the NULL value and replaces it with
value. This argument is applied only to existing NULL values, and not to the
NULLs created by the setnull argument.

<H2>NOTES</H2>

Note that value is restricted to integer if the map is an integer map. 
<p>
r.null and reclassified maps:<br>
The problem is, if r.null was run on the reclass raster it would alter the
original and any other reclass rasters of the original.  Therefore r.null 
doesn't allow to recode reclassified maps (products of r.reclass).
<br>
So, the way to recode such a map is: The user makes a raster out of the
reclass that isn't a reclass by copying it:<br>

<tt>r.mapcalc newmap = reclass</tt><br>
Then user recodes this copy.

<H2>SEE ALSO</H2>

<EM><A HREF="r.support.html">r.support</A></EM>
and
<EM><A HREF="r.quant.html">r.quant</A></EM>

<H2>AUTHOR</H2>

U.S.Army Construction Engineering Research Laboratory

<p><i>Last changed: $Date: 2003/05/06 14:12:50 $</i>