[GRASS-SVN] r64713 - grass/branches/releasebranch_7_0/vector/v.surf.bspline

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 21 02:01:10 PST 2015


Author: martinl
Date: 2015-02-21 02:01:10 -0800 (Sat, 21 Feb 2015)
New Revision: 64713

Modified:
   grass/branches/releasebranch_7_0/vector/v.surf.bspline/main.c
Log:
 v.surf.bspline: more guisections
     logical order of parameters
     (merge r64675 from trunk)


Modified: grass/branches/releasebranch_7_0/vector/v.surf.bspline/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.surf.bspline/main.c	2015-02-21 08:55:32 UTC (rev 64712)
+++ grass/branches/releasebranch_7_0/vector/v.surf.bspline/main.c	2015-02-21 10:01:10 UTC (rev 64713)
@@ -110,7 +110,15 @@
     in_opt->label = _("Name of input vector point map");
     
     dfield_opt = G_define_standard_option(G_OPT_V_FIELD);
+    dfield_opt->guisection = _("Settings");
 
+    col_opt = G_define_standard_option(G_OPT_DB_COLUMN);
+    col_opt->required = NO;
+    col_opt->label =
+	_("Name of the attribute column with values to be used for approximation");
+    col_opt->description = _("If not given and input is 3D vector map then z-coordinates are used.");
+    col_opt->guisection = _("Settings");
+
     in_ext_opt = G_define_standard_option(G_OPT_V_INPUT);
     in_ext_opt->key = "sparse_input";
     in_ext_opt->required = NO;
@@ -119,17 +127,19 @@
 
     out_opt = G_define_standard_option(G_OPT_V_OUTPUT);
     out_opt->required = NO;
-
+    out_opt->guisection = _("Outputs");
+    
     out_map_opt = G_define_standard_option(G_OPT_R_OUTPUT);
     out_map_opt->key = "raster_output";
     out_map_opt->required = NO;
-
+    out_map_opt->guisection = _("Outputs");
+ 
     mask_opt = G_define_standard_option(G_OPT_R_INPUT);
     mask_opt->key = "mask";
     mask_opt->label = _("Raster map to use for masking (applies to raster output only)");
     mask_opt->description = _("Only cells that are not NULL and not zero are interpolated");
     mask_opt->required = NO;
-
+ 
     stepE_opt = G_define_option();
     stepE_opt->key = "ew_step";
     stepE_opt->type = TYPE_DOUBLE;
@@ -168,13 +178,6 @@
     lambda_f_opt->answer = "0.01";
     lambda_f_opt->guisection = _("Settings");
 
-    col_opt = G_define_standard_option(G_OPT_DB_COLUMN);
-    col_opt->required = NO;
-    col_opt->label =
-	_("Name of the attribute column with values to be used for approximation");
-    col_opt->description = _("If not given and input is 3D vector map then z-coordinates are used.");
-    col_opt->guisection = _("Settings");
-
     solver = N_define_standard_option(N_OPT_SOLVER_SYMM);
     solver->options = "cholesky,cg";
     solver->answer = "cholesky";



More information about the grass-commit mailing list