[GRASS-SVN] r59161 - grass/trunk/vector/v.to.3d

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 2 05:44:24 PST 2014


Author: martinl
Date: 2014-03-02 05:44:23 -0800 (Sun, 02 Mar 2014)
New Revision: 59161

Modified:
   grass/trunk/vector/v.to.3d/args.c
Log:
v.to.3d: default layer=1 (we expect that user usually wants to define attribute table with height)


Modified: grass/trunk/vector/v.to.3d/args.c
===================================================================
--- grass/trunk/vector/v.to.3d/args.c	2014-03-02 12:02:46 UTC (rev 59160)
+++ grass/trunk/vector/v.to.3d/args.c	2014-03-02 13:44:23 UTC (rev 59161)
@@ -11,12 +11,13 @@
 	_("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";



More information about the grass-commit mailing list