[GRASS-SVN] r64675 - grass/trunk/vector/v.surf.bspline

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 17 15:08:39 PST 2015


Author: martinl
Date: 2015-02-17 15:08:39 -0800 (Tue, 17 Feb 2015)
New Revision: 64675

Modified:
   grass/trunk/vector/v.surf.bspline/main.c
Log:
v.surf.bspline: more guisections
                logical order of parameters


Modified: grass/trunk/vector/v.surf.bspline/main.c
===================================================================
--- grass/trunk/vector/v.surf.bspline/main.c	2015-02-17 23:08:30 UTC (rev 64674)
+++ grass/trunk/vector/v.surf.bspline/main.c	2015-02-17 23:08:39 UTC (rev 64675)
@@ -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