[GRASS-SVN] r57411 - grass/trunk/raster/r.stream.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 4 14:31:14 PDT 2013


Author: martinl
Date: 2013-08-04 14:31:13 -0700 (Sun, 04 Aug 2013)
New Revision: 57411

Modified:
   grass/trunk/raster/r.stream.extract/main.c
Log:
r.stream.extract: description cosmetics


Modified: grass/trunk/raster/r.stream.extract/main.c
===================================================================
--- grass/trunk/raster/r.stream.extract/main.c	2013-08-04 21:22:52 UTC (rev 57410)
+++ grass/trunk/raster/r.stream.extract/main.c	2013-08-04 21:31:13 UTC (rev 57411)
@@ -75,26 +75,26 @@
     module = G_define_module();
     G_add_keyword(_("raster"));
     G_add_keyword(_("hydrology"));
-    module->description = _("Stream network extraction");
+    G_add_keyword(_("stream network"));
+    module->description = _("Performs stream network extraction.");
 
-    input.ele = G_define_standard_option(G_OPT_R_INPUT);
-    input.ele->key = "elevation";
-    input.ele->label = _("Elevation map");
-    input.ele->description = _("Elevation on which entire analysis is based");
+    input.ele = G_define_standard_option(G_OPT_R_ELEV);
 
     input.acc = G_define_standard_option(G_OPT_R_INPUT);
     input.acc->key = "accumulation";
-    input.acc->label = _("Accumulation map");
+    input.acc->label = _("Name of input accumulation raster map");
     input.acc->required = NO;
     input.acc->description =
-	_("Stream extraction will use provided accumulation instead of calculating it anew");
+	_("Stream extraction will use provided accumulation instead of calculating it a new");
+    input.acc->guisection = _("Input options");
 
     input.depression = G_define_standard_option(G_OPT_R_INPUT);
     input.depression->key = "depression";
-    input.depression->label = _("Map with real depressions");
+    input.depression->label = _("Name of raster map with real depressions");
     input.depression->required = NO;
     input.depression->description =
 	_("Streams will not be routed out of real depressions");
+    input.depression->guisection = _("Input options");
 
     input.threshold = G_define_option();
     input.threshold->key = "threshold";
@@ -143,21 +143,21 @@
     output.stream_rast = G_define_standard_option(G_OPT_R_OUTPUT);
     output.stream_rast->key = "stream_rast";
     output.stream_rast->description =
-	_("Output raster map with unique stream ids");
+	_("Name for output raster map with unique stream ids");
     output.stream_rast->required = NO;
     output.stream_rast->guisection = _("Output options");
 
     output.stream_vect = G_define_standard_option(G_OPT_V_OUTPUT);
     output.stream_vect->key = "stream_vect";
     output.stream_vect->description =
-	_("Output vector with unique stream ids");
+	_("Name for output vector map with unique stream ids");
     output.stream_vect->required = NO;
     output.stream_vect->guisection = _("Output options");
 
     output.dir_rast = G_define_standard_option(G_OPT_R_OUTPUT);
     output.dir_rast->key = "direction";
     output.dir_rast->description =
-	_("Output raster map with flow direction");
+	_("Name for output raster map with flow direction");
     output.dir_rast->required = NO;
     output.dir_rast->guisection = _("Output options");
 



More information about the grass-commit mailing list