DOKK / manpages / debian 10 / grass-doc / r.reclass.area.1grass.en
r.reclass.area(1grass) Grass User's Manual r.reclass.area(1grass)

r.reclass.area - Reclasses a raster map greater or less than user specified area size (in hectares).

raster, statistics, aggregation

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]


Input map is clumped

Clumps including diagonal neighbors

Allow output files to overwrite existing files

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of input raster map

Name for output raster map

Value option that sets the area size limit (in hectares)

Lesser or greater than specified value
Options: lesser, greater

Method used for reclassification
Options: reclass, rmarea
Default: reclass

r.reclass.area reclasses a raster map greater or less than a user specified area size (in hectares).

If the -c flag is used, r.reclass.area will skip the creation of a clumped raster and assume that the input raster is already clumped.

In this example, the ZIP code map in the North Carolina sample dataset location is filtered for large areas (removing smaller areas from the map).

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 location 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

r.reclass, r.clump, r.stats

NRCS,
Markus Neteler

Last changed: $Date: 2018-12-16 17:58:23 +0100 (Sun, 16 Dec 2018) $

Available at: r.reclass.area source code (history)

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

© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual

GRASS 7.6.0