r.quant(1)
π r.quant β the manual page, bestie edition π
okay so this is r.quant, straight out of the GRASS GIS User's Manual (manual section 1, iykyk). She makes quantization files for floating-point maps and honestly? she eats every time. β¨
πΈ NAME πΈ
r.quant β produces the quantization file for a floating-point map. no cap, that's the whole job description. π
π KEYWORDS π
raster, statistics, quantization β the lil trio of tags that describe her whole vibe.
β¨ SYNOPSIS β¨
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]
π© Flags π©
-tβ truncate floating point data. just chop it. βοΈ-rβ round floating point data. polite little numbers. π§--helpβ print usage summary--verboseβ verbose module output (she'll tell you everything)--quietβ quiet module output (she'll tell you nothing, respectfully π€«)--uiβ force launching GUI dialog
π¦ Parameters π¦
input=string[,string,...][required] β raster map(s) to be quantized. mandatory bestie, you can't skip it.rules=nameβ path to rules file ("-"to read from stdin)basemap=stringβ base map to take quant rules fromfprange=dmin,dmaxβ floating point range:dmin,dmaxrange=min,maxβ integer range:min,max
π DESCRIPTION π
so r.quant produces the quantization file for a floating-point map. that's it, that's her whole thing, and she's iconic for it. π
the map parameter defines the map for which the rules are to be created. and like, if you specify more than one map? 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. girl math, but make it geographic. π
π Quant rules π
the quant rules have to be entered interactively. yes bestie, you literally type them in. live your truth.
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. so dramatic. so valid. π«
π«Ά NOTE π«Ά
it is an error to specify bothbasemapandfprange. pick a lane, bestie. π she will not do both.
π SEE ALSO π
r.support, r.null β go read those too, they're in the group chat.
π AUTHORS π
Michael Shapiro, Olga Waupotitsch, U.S.Army Construction Engineering Research Laboratory
(three icons, one lab, no notes π )
π SOURCE CODE π
available at: r.quant source code (history)
Accessed: Saturday Jan 17 05:40:55 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page, bestie π this was r.quant(1) from the GRASS GIS User's Manual, living her best life in GRASS 8.4.2, copyright GRASS Development Team 2003-2025, last accessed Saturday Jan 17 05:40:55 2026. periodt. β¨ππ¦
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms