[GRASS-SVN] r61690 - grass/branches/releasebranch_7_0/raster/r.clump

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 19 09:09:10 PDT 2014


Author: neteler
Date: 2014-08-19 09:09:10 -0700 (Tue, 19 Aug 2014)
New Revision: 61690

Modified:
   grass/branches/releasebranch_7_0/raster/r.clump/r.clump.html
Log:
r.clump manual: example added

Modified: grass/branches/releasebranch_7_0/raster/r.clump/r.clump.html
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.clump/r.clump.html	2014-08-19 16:09:01 UTC (rev 61689)
+++ grass/branches/releasebranch_7_0/raster/r.clump/r.clump.html	2014-08-19 16:09:10 UTC (rev 61690)
@@ -32,6 +32,24 @@
 A random color table and other support files are generated for the
 output raster map.
 
+<h2>EXAMPLES</h2>
+
+Perform clumping on "lakes" map (North Carolina sample dataset) and
+report area sizes for each lake individually rather by waterbody type:
+
+<div class="code"><pre>
+g.region rast=lakes -p
+
+# report sizes by waterbody type
+r.report lakes units=h
+
+# clump per raster polygon
+r.clump lakes out=lakes_individual
+
+# report sizes by individual waterbody
+r.report lakes_individual units=a
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list