Преглед на файлове

r.univar and r3.univar: move short description to label, include list of statistics into description (for example, now you can find r.univar in Search module in wxGUI by searching for 'sum')

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62186 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras преди 10 години
родител
ревизия
3ce73e8680
променени са 2 файла, в които са добавени 11 реда и са изтрити 2 реда
  1. 6 1
      raster/r.univar/r.univar_main.c
  2. 5 1
      raster/r.univar/r3.univar_main.c

+ 6 - 1
raster/r.univar/r.univar_main.c

@@ -101,8 +101,13 @@ int main(int argc, char *argv[])
     G_add_keyword(_("statistics"));
     G_add_keyword(_("univariate statistics"));
     G_add_keyword(_("zonal statistics"));
-    module->description =
+
+    module->label =
 	_("Calculates univariate statistics from the non-null cells of a raster map.");
+    module->description =
+	_("Statistics include number of cells counted, minimum and maximum cell"
+	    " values, range, arithmetic mean, population variance, standard deviation,"
+	    " coefficient of variation, and sum.");
 
     /* Define the different options */
     set_params();

+ 5 - 1
raster/r.univar/r3.univar_main.c

@@ -99,8 +99,12 @@ int main(int argc, char *argv[])
     G_add_keyword(_("statistics"));
     G_add_keyword(_("univariate statistics"));
 
-    module->description =
+    module->label =
 	_("Calculates univariate statistics from the non-null cells of a 3D raster map.");
+    module->description =
+	_("Statistics include number of cells counted, minimum and maximum cell"
+	    " values, range, arithmetic mean, population variance, standard deviation,"
+	    " coefficient of variation, and sum.");
 
     /* Define the different options */
     set_params();