[GRASS-SVN] r36077 - grass-addons/raster/r.univar2.zonal

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 24 04:30:04 EST 2009


Author: mmetz
Date: 2009-02-24 04:30:03 -0500 (Tue, 24 Feb 2009)
New Revision: 36077

Modified:
   grass-addons/raster/r.univar2.zonal/r.univar.html
   grass-addons/raster/r.univar2.zonal/r.univar_main.c
Log:
manual updated

Modified: grass-addons/raster/r.univar2.zonal/r.univar.html
===================================================================
--- grass-addons/raster/r.univar2.zonal/r.univar.html	2009-02-24 08:01:43 UTC (rev 36076)
+++ grass-addons/raster/r.univar2.zonal/r.univar.html	2009-02-24 09:30:03 UTC (rev 36077)
@@ -10,13 +10,13 @@
 If the <b>-g</b> flag is given the results are presented in a format suitable
 for use in a shell script.
 If the <b>-t</b> flag is given the results are presented in tabular format
-with ";" as field separator. The table can immediately be converted to a
+with "|" as field separator. The table can immediately be converted to a
 proper attribute table which can then be linked to a vector, e.g. the vector
 that was rasterized to create the <b>zones</b> input raster.
 
 <h2>NOTES</h2>
 
-As with most GRASS raster modules, <em>r.univar</em> operates on the cell
+As with most GRASS raster modules, <em>r.univar.zonal</em> operates on the cell
 array defined by the current region settings, not the original extent and
 resolution of the input map. See <em><a href="g.region.html">g.region</a></em>.
 <p>
@@ -28,7 +28,7 @@
 <h2>EXAMPLE</h2>
 
 Calculate the raster statistics for zones within a vector map coverage
-and upload the results back to the vector map.
+and upload the results for mean, min and max back to the vector map.
 
 <div class="code"><pre>
 #### set the raster region to match the map
@@ -101,6 +101,8 @@
 <h2>TODO</h2>
 
 <i>mode, skewness, kurtosis</i>
+<br>
+<i>3D zonal statistics</i>
 
 
 <h2>SEE ALSO</h2>

Modified: grass-addons/raster/r.univar2.zonal/r.univar_main.c
===================================================================
--- grass-addons/raster/r.univar2.zonal/r.univar_main.c	2009-02-24 08:01:43 UTC (rev 36076)
+++ grass-addons/raster/r.univar2.zonal/r.univar_main.c	2009-02-24 09:30:03 UTC (rev 36077)
@@ -27,7 +27,7 @@
 /* ************************************************************************* */
 void set_params()
 {
-    param.inputfile = G_define_standard_option(G_OPT_R_INPUT);
+    param.inputfile = G_define_standard_option(G_OPT_R_MAP);
 
     param.zonefile = G_define_standard_option(G_OPT_R_MAP);
     param.zonefile->key = "zones";



More information about the grass-commit mailing list