[GRASS-SVN] r66869 - grass/branches/releasebranch_7_0/scripts/r.reclass.area

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 19 22:01:25 PST 2015


Author: neteler
Date: 2015-11-19 22:01:25 -0800 (Thu, 19 Nov 2015)
New Revision: 66869

Modified:
   grass/branches/releasebranch_7_0/scripts/r.reclass.area/r.reclass.area.html
Log:
r.reclass.area manual: update examples (trac #2802)

Modified: grass/branches/releasebranch_7_0/scripts/r.reclass.area/r.reclass.area.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/r.reclass.area/r.reclass.area.html	2015-11-20 06:00:52 UTC (rev 66868)
+++ grass/branches/releasebranch_7_0/scripts/r.reclass.area/r.reclass.area.html	2015-11-20 06:01:25 UTC (rev 66869)
@@ -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