[GRASS-SVN] r59426 - grass-addons/grass7/raster/r.stream.slope

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 27 07:55:10 PDT 2014


Author: hellik
Date: 2014-03-27 07:55:08 -0700 (Thu, 27 Mar 2014)
New Revision: 59426

Modified:
   grass-addons/grass7/raster/r.stream.slope/main.c
   grass-addons/grass7/raster/r.stream.slope/r.stream.slope.html
Log:
r.stream.slope - unify keywords, options

Modified: grass-addons/grass7/raster/r.stream.slope/main.c
===================================================================
--- grass-addons/grass7/raster/r.stream.slope/main.c	2014-03-27 14:48:13 UTC (rev 59425)
+++ grass-addons/grass7/raster/r.stream.slope/main.c	2014-03-27 14:55:08 UTC (rev 59426)
@@ -76,8 +76,8 @@
     module->description = _("Calculates local parameters for slope subsystem.");
 
     in_dir_opt = G_define_standard_option(G_OPT_R_INPUT);
-    in_dir_opt->key = "dir";
-    in_dir_opt->description = _("Name of input flow direction raster map");
+    in_dir_opt->key = "direction";
+    in_dir_opt->description = _("Name for input raster map with flow direction");
 
     in_elev_opt = G_define_standard_option(G_OPT_R_INPUT);
 

Modified: grass-addons/grass7/raster/r.stream.slope/r.stream.slope.html
===================================================================
--- grass-addons/grass7/raster/r.stream.slope/r.stream.slope.html	2014-03-27 14:48:13 UTC (rev 59425)
+++ grass-addons/grass7/raster/r.stream.slope/r.stream.slope.html	2014-03-27 14:55:08 UTC (rev 59426)
@@ -2,7 +2,7 @@
 
 <h2>OPTIONS</h2>
 <dl>
-<dt><b>dirs</b></dt>
+<dt><b>direction</b></dt>
 <dd>Flow direction: name of input direction map produced by r.watershed or
 r.stream.extract. If r.stream.extract output map is used, it only has non-NULL
 values in places where streams occur. NULL (nodata) cells are ignored, zero and
@@ -32,7 +32,7 @@
 <dd>Maximum linear curvature along watercourse. Calculated along watercourse
 between highest upstream cell, current cell and downstream cell (there can be
 only one or no downstream cell but more than on upstream)</dd>
-<dt><b>maxcurv</b></dt>
+<dt><b>mincurv</b></dt>
 <dd>Calculated along watercourse between lowest upstream cell, current cell and
 downstream cell (there can be only one or no downstream cell but more than on
 upstream)</dd>



More information about the grass-commit mailing list