瀏覽代碼

v.to.3d: default layer=1 (we expect that user usually wants to define attribute table with height)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59161 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父節點
當前提交
18d4fa2196
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      vector/v.to.3d/args.c

+ 2 - 1
vector/v.to.3d/args.c

@@ -11,12 +11,13 @@ void parse_args(struct opts *opt)
 	_("Reverse transformation; 3D vector features to 2D");
 	_("Reverse transformation; 3D vector features to 2D");
 
 
     opt->table = G_define_standard_flag(G_FLG_V_TABLE);
     opt->table = G_define_standard_flag(G_FLG_V_TABLE);
-    opt->table->description = _("Do not copy table");
+    opt->table->description = _("Do not copy attribute table");
 
 
     opt->input = G_define_standard_option(G_OPT_V_INPUT);
     opt->input = G_define_standard_option(G_OPT_V_INPUT);
 
 
     opt->field = G_define_standard_option(G_OPT_V_FIELD_ALL);
     opt->field = G_define_standard_option(G_OPT_V_FIELD_ALL);
     opt->field->guisection = _("Selection");
     opt->field->guisection = _("Selection");
+    opt->field->answer = "1";
 
 
     opt->type = G_define_standard_option(G_OPT_V_TYPE);
     opt->type = G_define_standard_option(G_OPT_V_TYPE);
     opt->type->options = "point,line,boundary,centroid";
     opt->type->options = "point,line,boundary,centroid";