[GRASS-SVN] r32890 - grass/trunk/raster/r.category

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 19 10:06:12 EDT 2008


Author: neteler
Date: 2008-08-19 10:06:12 -0400 (Tue, 19 Aug 2008)
New Revision: 32890

Modified:
   grass/trunk/raster/r.category/r.category.html
Log:
category label set example added

Modified: grass/trunk/raster/r.category/r.category.html
===================================================================
--- grass/trunk/raster/r.category/r.category.html	2008-08-19 12:42:40 UTC (rev 32889)
+++ grass/trunk/raster/r.category/r.category.html	2008-08-19 14:06:12 UTC (rev 32890)
@@ -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