[GRASS-SVN] r61689 - grass/trunk/raster/r.clump
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 19 09:09:01 PDT 2014
Author: neteler
Date: 2014-08-19 09:09:01 -0700 (Tue, 19 Aug 2014)
New Revision: 61689
Modified:
grass/trunk/raster/r.clump/r.clump.html
Log:
r.clump manual: example added
Modified: grass/trunk/raster/r.clump/r.clump.html
===================================================================
--- grass/trunk/raster/r.clump/r.clump.html 2014-08-19 15:59:34 UTC (rev 61688)
+++ grass/trunk/raster/r.clump/r.clump.html 2014-08-19 16:09:01 UTC (rev 61689)
@@ -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