浏览代码

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 年之前
父节点
当前提交
01911d399c
共有 2 个文件被更改,包括 4 次插入4 次删除
  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.null_val->answer = "-99999.99";
 
 
     param.elev = G_define_option();
     param.elev = G_define_option();
-    param.elev->key = "elevation2d";
+    param.elev->key = "z";
     param.elev->type = TYPE_DOUBLE;
     param.elev->type = TYPE_DOUBLE;
     param.elev->required = NO;
     param.elev->required = NO;
     param.elev->description =
     param.elev->description =
-	_("Elevation (if no elevation map is specified)");
+	_("Constant elevation (if no elevation map is specified)");
     param.elev->answer = "0.0";
     param.elev->answer = "0.0";
 
 
     param.point = G_define_flag();
     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]");
 	_("Three (x,y,z) raster maps to create vector values [xmap,ymap,zmap]");
 
 
     param.elevscale = G_define_option();
     param.elevscale = G_define_option();
-    param.elevscale->key = "zmultiplier";
+    param.elevscale->key = "zscale";
     param.elevscale->type = TYPE_DOUBLE;
     param.elevscale->type = TYPE_DOUBLE;
     param.elevscale->required = NO;
     param.elevscale->required = NO;
     param.elevscale->description = _("Scale factor for elevation");
     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. 
 the scale parameter to convert the units. 
 <p>
 <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. 
 Point or cell data are available. Also scaling is supported for this elevation value. 
 The elevation value must be provided in meters.
 The elevation value must be provided in meters.
 <p>
 <p>