[GRASS-SVN] r55689 - grass/branches/releasebranch_6_4/raster/r.quantile

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 10 08:52:38 PDT 2013


Author: neteler
Date: 2013-04-10 08:52:37 -0700 (Wed, 10 Apr 2013)
New Revision: 55689

Modified:
   grass/branches/releasebranch_6_4/raster/r.quantile/description.html
Log:
r.quantile: quantile classification example added

Modified: grass/branches/releasebranch_6_4/raster/r.quantile/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.quantile/description.html	2013-04-10 15:51:51 UTC (rev 55688)
+++ grass/branches/releasebranch_6_4/raster/r.quantile/description.html	2013-04-10 15:52:37 UTC (rev 55689)
@@ -5,13 +5,21 @@
 
 <h2>EXAMPLE</h2>
 
-Calculation of elevation quantiles:
+Calculation of elevation quantiles (printed to standard-out):
 
 <div class="code"><pre>
-g.region rast=elevation.dem -p
-r.quantile input=elevation.dem percentiles=0.1,1,10,25,50,75,90,99,99.9
+g.region rast=elevation -p
+r.quantile input=elevation percentiles=0.1,1,10,25,50,75,90,99,99.9
 </pre></div>
 
+The output of <em>r.quantile</em> can be used for quantile classification:
+
+<div class="code"><pre>
+g.region rast=elevation -p
+r.quantile elevation quantiles=5 -r --quiet | r.recode elevation \
+           out=elev_quant5 rules=-
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>
@@ -21,6 +29,6 @@
 
 <h2>AUTHOR</h2>
 
-Glynn Clements <glynn gclements.plus.com>
+Glynn Clements
 <p>
 <i>Last changed: $Date$</i>



More information about the grass-commit mailing list