DESCRIPTION

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.

EXAMPLES

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 > 2000 ha, NULL otherwise:
r.reclass.area input=zipcodes output=zipcodes_larger2000ha greater=2000
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 removing area minor of 1000 ha
r.reclass.area input=zipcodes output=zipcodes_rmarea1000 lesser=1000 method=rmarea

SEE ALSO

r.reclass, r.clump, r.stats

AUTHORS

NRCS,
Markus Neteler

Last changed: $Date$