[GRASS-SVN] r61694 - grass/branches/releasebranch_6_4/raster/r.clump

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


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

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

Modified: grass/branches/releasebranch_6_4/raster/r.clump/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.clump/description.html	2014-08-19 16:27:12 UTC (rev 61693)
+++ grass/branches/releasebranch_6_4/raster/r.clump/description.html	2014-08-19 16:27:27 UTC (rev 61694)
@@ -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