[GRASS-SVN] r63276 - in grass/trunk: lib/gis raster/r.viewshed

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Nov 28 18:58:40 PST 2014


Author: annakrat
Date: 2014-11-28 18:58:40 -0800 (Fri, 28 Nov 2014)
New Revision: 63276

Modified:
   grass/trunk/lib/gis/renamed_options
   grass/trunk/raster/r.viewshed/main.cpp
Log:
r.viewshed: rename options

Modified: grass/trunk/lib/gis/renamed_options
===================================================================
--- grass/trunk/lib/gis/renamed_options	2014-11-28 22:40:22 UTC (rev 63275)
+++ grass/trunk/lib/gis/renamed_options	2014-11-29 02:58:40 UTC (rev 63276)
@@ -348,6 +348,10 @@
 r.terraflow|stream_dir:directory
 # r.out.vtk
 r.out.vtk|elevscale:zscale
+# r.viewshed
+r.viewshed|obs_elev:observer_elevation
+r.viewshed|tgt_elev:target_elevation
+r.viewshed|max_dist:max_distance
 ############################
 ### Raster 3D module changes
 ############################

Modified: grass/trunk/raster/r.viewshed/main.cpp
===================================================================
--- grass/trunk/raster/r.viewshed/main.cpp	2014-11-28 22:40:22 UTC (rev 63275)
+++ grass/trunk/raster/r.viewshed/main.cpp	2014-11-29 02:58:40 UTC (rev 63276)
@@ -493,7 +493,7 @@
     struct Option *obsElevOpt;
 
     obsElevOpt = G_define_option();
-    obsElevOpt->key = "obs_elev";
+    obsElevOpt->key = "observer_elevation";
     obsElevOpt->type = TYPE_DOUBLE;
     obsElevOpt->required = NO;
     obsElevOpt->key_desc = "value";
@@ -505,7 +505,7 @@
     struct Option *tgtElevOpt;
 
     tgtElevOpt = G_define_option();
-    tgtElevOpt->key = "tgt_elev";
+    tgtElevOpt->key = "target_elevation";
     tgtElevOpt->type = TYPE_DOUBLE;
     tgtElevOpt->required = NO;
     tgtElevOpt->key_desc = "value";
@@ -517,7 +517,7 @@
     struct Option *maxDistOpt;
 
     maxDistOpt = G_define_option();
-    maxDistOpt->key = "max_dist";
+    maxDistOpt->key = "max_distance";
     maxDistOpt->type = TYPE_DOUBLE;
     maxDistOpt->required = NO;
     maxDistOpt->key_desc = "value";



More information about the grass-commit mailing list