Produces the quantization file for a floating-point map.
raster, quantization
r.quant
r.quant help
r.quant [-tr] [basemap=string] input=string[,string,...] fprange=dmin,dmax range=min,max [--verbose] [--quiet]
Truncate floating point data
Round floating point data
Verbose module output
Quiet module output
Base map to take quant rules from
Default: NONE
Raster map(s) to be quantized
Floating point range: dmin,dmax
Default:
Integer range: min,max
Default: 1,255
r.quant produces the quantization file for a floating-point map.
The map parameter defines the map for which the rules are to be created. If more than one map is specified, then this implies that the floating-point range is the miniumum and maximum of all the maps together, unless either basemap=map or fprange=min,max is specified.
The quant rules have to be entered interactively.
If rules is specified, the input has the form:
value1:value2:cat1:[cat2]
where value1 and value2 are floating point values and cat1 cand cat2 are integers. If cat2 is missing, it is taken to be equal to cat1. All values can be "*" which means infinity.
It is an error for both basemap and fprange to be specified.
r.support, r.null
Michael Shapiro, Olga Waupotitsch, U.S.Army Construction Engineering Research Laboratory
Last changed: $Date: 2010-02-28 02:56:22 +0100 (Sun, 28 Feb 2010) $
Full index
� 2003-2014 GRASS Development Team