Jelajahi Sumber

r.out.vtk: sync option names

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@63243 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 tahun lalu
induk
melakukan
01911d399c
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 3 3
      raster/r.out.vtk/parameters.c
  2. 1 1
      raster/r.out.vtk/r.out.vtk.html

+ 3 - 3
raster/r.out.vtk/parameters.c

@@ -46,11 +46,11 @@ void set_params()
     param.null_val->answer = "-99999.99";
 
     param.elev = G_define_option();
-    param.elev->key = "elevation2d";
+    param.elev->key = "z";
     param.elev->type = TYPE_DOUBLE;
     param.elev->required = NO;
     param.elev->description =
-	_("Elevation (if no elevation map is specified)");
+	_("Constant elevation (if no elevation map is specified)");
     param.elev->answer = "0.0";
 
     param.point = G_define_flag();
@@ -79,7 +79,7 @@ void set_params()
 	_("Three (x,y,z) raster maps to create vector values [xmap,ymap,zmap]");
 
     param.elevscale = G_define_option();
-    param.elevscale->key = "zmultiplier";
+    param.elevscale->key = "zscale";
     param.elevscale->type = TYPE_DOUBLE;
     param.elevscale->required = NO;
     param.elevscale->description = _("Scale factor for elevation");

+ 1 - 1
raster/r.out.vtk/r.out.vtk.html

@@ -14,7 +14,7 @@ If the elevation values are in a different unit than meters, use
 the scale parameter to convert the units. 
 <p>
 
-If no elevation map is given, the user can set the hight of the map by one value. 
+If no elevation map is given, the user can set the height of the map by one value. 
 Point or cell data are available. Also scaling is supported for this elevation value. 
 The elevation value must be provided in meters.
 <p>