r.reclass.area(1)
β¨ r.reclass.area β¨
okay bestie, welcome to the r.reclass.area page from the GRASS GIS User's Manual π this one's a whole vibe β it reclasses your raster based on how big the areas are, in hectares, no cap.
π NAME π
r.reclass.area β reclasses a raster map greater or less than a user specified area size (in hectares). periodt.
πΈ KEYWORDS πΈ
raster, statistics, aggregation
π¦ SYNOPSIS π¦
r.reclass.area
r.reclass.area --help
r.reclass.area [-cd] input=name output=name value=float mode=string
[method=string] [--overwrite] [--help] [--verbose] [--quiet]
[--ui]
π Flags:
-cβ the input map is clumped, like it already did the work-dβ clumps including diagonal neighbors (diagonal besties count too)--overwriteβ allow output files to overwrite existing files--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output--uiβ force launching GUI dialog
π Parameters:
input=name[required] β name of input raster mapoutput=name[required] β name for output raster mapvalue=float[required] β value option that sets the area size limit (in hectares)mode=string[required] β lesser or greater than specified value. Options:lesser,greatermethod=stringβ method used for reclassification. Options:reclass,rmarea. Default:reclass
π DESCRIPTION π
so r.reclass.area reclasses a raster map that's greater or less than a user specified area size (in hectares). that's the whole gig, and it eats. π₯
if you use the -c flag, r.reclass.area will skip the creation of a clumped raster and just assume the input raster is already clumped. it's giving "trust me, i already did this" energy. π
π EXAMPLES π
okay so in this example, the ZIP code map in the North Carolina sample dataset is filtered for large areas (removing smaller areas from the map). iconic dataset choice ngl.
g.region raster=zipcodes -p
r.report zipcodes unit=h
extract only areas greater than 2000 ha, NULL otherwise:
r.reclass.area input=zipcodes output=zipcodes_larger2000ha mode=greater value=2000
r.report zipcodes_larger2000ha unit=h
Figure: r.reclass.area method=reclass
in this example, the ZIP code map in the North Carolina sample dataset is filtered for smaller areas which are substituted with the value of the respective adjacent area with largest shared boundary. reclass by substitutional removing of areas minor of 1000 ha:
r.reclass.area input=zipcodes output=zipcodes_minor1000ha mode=lesser value=1000 method=rmarea
Figure: r.reclass.area method=rmarea
π SEE ALSO π
r.reclass, r.clump, r.stats
π«Ά AUTHORS π«Ά
NRCS, Markus Neteler
π SOURCE CODE π
available at: r.reclass.area source code (history)
accessed: Saturday Jan 17 05:41:52 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.reclass.area(1) straight out of GRASS 8.4.2 (the GRASS GIS User's Manual, obvi), and yes the copyright is giving Β© 2003-2025 GRASS Development Team main character energy. go reclass some areas, you got this π
πΈ
π¦ 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