[GRASS-SVN] r61693 - grass/branches/develbranch_6/raster/r.clump
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 19 09:27:12 PDT 2014
Author: neteler
Date: 2014-08-19 09:27:12 -0700 (Tue, 19 Aug 2014)
New Revision: 61693
Modified:
grass/branches/develbranch_6/raster/r.clump/description.html
Log:
r.clump manual: example added
Modified: grass/branches/develbranch_6/raster/r.clump/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.clump/description.html 2014-08-19 16:26:31 UTC (rev 61692)
+++ grass/branches/develbranch_6/raster/r.clump/description.html 2014-08-19 16:27:12 UTC (rev 61693)
@@ -31,6 +31,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=h
+</pre></div>
+
<h2>SEE ALSO</h2>
<em>
More information about the grass-commit
mailing list