[GRASS-SVN] r63143 - grass/trunk/vector/v.to.db

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 09:02:44 PST 2014


Author: martinl
Date: 2014-11-26 09:02:44 -0800 (Wed, 26 Nov 2014)
New Revision: 63143

Modified:
   grass/trunk/vector/v.to.db/parse.c
Log:
v.to.db: use standardized options (#2409)

Modified: grass/trunk/vector/v.to.db/parse.c
===================================================================
--- grass/trunk/vector/v.to.db/parse.c	2014-11-26 17:01:34 UTC (rev 63142)
+++ grass/trunk/vector/v.to.db/parse.c	2014-11-26 17:02:44 UTC (rev 63143)
@@ -82,9 +82,9 @@
 	       _("line/boundary starting point coordinates, X,Y or X,Y,Z"),
 	       _("line/boundary end point coordinates, X,Y or X,Y,Z"),
 	       _("categories of areas on the left and right side of the boundary, "
-		 "'qlayer' is used for area category"),
+		 "'query_layer' is used for area category"),
 	       _("result of a database query for all records of the geometry"
-		 "(or geometries) from table specified by 'qlayer' option"),
+		 "(or geometries) from table specified by 'query_layer' option"),
 	       _("slope steepness of vector line or boundary"),
 	       _("line sinuousity, calculated as line length / distance between end points"),
 	       _("line azimuth, calculated as angle between North direction and endnode direction at startnode"));
@@ -99,13 +99,13 @@
 	"miles,feet,meters,kilometers,acres,hectares,radians,degrees";
     
     parms.qfield = G_define_standard_option(G_OPT_V_FIELD);
-    parms.qfield->key = "qlayer";
+    parms.qfield->key = "query_layer";
     parms.qfield->label = _("Query layer number or name (read from)");
     parms.qfield->guisection = _("Query");
     parms.qfield->required = NO;
     
     parms.qcol = G_define_standard_option(G_OPT_DB_COLUMN);
-    parms.qcol->key = "qcolumn";
+    parms.qcol->key = "query_column";
     parms.qcol->label = _("Name of attribute column used for 'query' option");
     parms.qcol->description = _("E.g. 'cat', 'count(*)', 'sum(val)'");
     parms.qcol->required = NO;



More information about the grass-commit mailing list