[GRASS-SVN] r66868 - grass/trunk/scripts/r.reclass.area
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 19 22:00:52 PST 2015
Author: neteler
Date: 2015-11-19 22:00:52 -0800 (Thu, 19 Nov 2015)
New Revision: 66868
Modified:
grass/trunk/scripts/r.reclass.area/r.reclass.area.html
Log:
r.reclass.area manual: update examples (trac #2802)
Modified: grass/trunk/scripts/r.reclass.area/r.reclass.area.html
===================================================================
--- grass/trunk/scripts/r.reclass.area/r.reclass.area.html 2015-11-20 05:36:19 UTC (rev 66867)
+++ grass/trunk/scripts/r.reclass.area/r.reclass.area.html 2015-11-20 06:00:52 UTC (rev 66868)
@@ -14,17 +14,22 @@
<div class="code"><pre>
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
+
+# 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
</pre></div>
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
+is filtered for smaller areas which are substituted with the value of the respective
adjacent area with largest shared boundary:
<div class="code"><pre>
-# reclass removing area minor of 1000 ha
-r.reclass.area input=zipcodes output=zipcodes_rmarea1000 lesser=1000 method=rmarea
+# reclass by substitutional removing of areas minor of 1000 ha
+r.reclass.area input=zipcodes output=zipcodes_minor1000ha \
+ mode=lesser value=1000 method=rmarea
</pre></div>
<h2>SEE ALSO</h2>
More information about the grass-commit
mailing list