[GRASS-SVN] r32891 - grass/branches/develbranch_6/raster/r.cats

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 19 10:07:54 EDT 2008


Author: neteler
Date: 2008-08-19 10:07:54 -0400 (Tue, 19 Aug 2008)
New Revision: 32891

Modified:
   grass/branches/develbranch_6/raster/r.cats/description.html
Log:
category label set example added (merge from trunk, r32890)

Modified: grass/branches/develbranch_6/raster/r.cats/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.cats/description.html	2008-08-19 14:06:12 UTC (rev 32890)
+++ grass/branches/develbranch_6/raster/r.cats/description.html	2008-08-19 14:07:54 UTC (rev 32891)
@@ -153,6 +153,17 @@
 </pre></div>
 </dl>
 
+<dl>
+<dt>Example defining category labels:
+<dt><span class="code"><pre>
+r.category thresh_gt0_lst_${YEAR}${MONTH}_avg_filt cats=1 rules=- << EOF
+1:potential absence
+2:potential presence
+EOF
+</pre></span>
+<dd>
+sets the categoy values 1 and 2 to respective text labels.
+</dl>
 
 <h2>TODO</h2>
 



More information about the grass-commit mailing list