r.quant(1grass)

r.quant1grass

Produces the quantization file for a floating-point map.

Usage

r.quant

r.quant --help

r.quant [-tr] input=string [,string, ...] [rules=name] [basemap=string] [fprange=dmin,dmax] [range=min,max] [--help] [--verbose] [--quiet] [--ui]

Keywords

raster, statistics, quantization

Overview

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 minimum and maximum of all the maps together, unless either basemap=map or fprange=min,max is specified.

Quant rules

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 and cat2 are integers. If cat2 is missing, it is taken to be equal to cat1. All values can be "*" which means infinity.

Note

It is an error to specify both basemap and fprange.

Source code

Available at: r.quant source code (history)

Accessed: Monday Feb 24 17:50:46 2025

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

Authors

Michael Shapiro, Olga Waupotitsch, U.S.Army Construction Engineering Research Laboratory

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.