Ver código fonte

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 anos atrás
pai
commit
18d4fa2196
1 arquivos alterados com 2 adições e 1 exclusões
  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");
 
     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->field = G_define_standard_option(G_OPT_V_FIELD_ALL);
     opt->field->guisection = _("Selection");
+    opt->field->answer = "1";
 
     opt->type = G_define_standard_option(G_OPT_V_TYPE);
     opt->type->options = "point,line,boundary,centroid";