[GRASS-SVN] r43623 -
grass/branches/releasebranch_6_4/vector/v.surf.idw
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 22 12:23:02 EDT 2010
Author: neteler
Date: 2010-09-22 16:23:02 +0000 (Wed, 22 Sep 2010)
New Revision: 43623
Modified:
grass/branches/releasebranch_6_4/vector/v.surf.idw/main.c
Log:
backport: guisection cosmetics
Modified: grass/branches/releasebranch_6_4/vector/v.surf.idw/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.surf.idw/main.c 2010-09-22 16:22:21 UTC (rev 43622)
+++ grass/branches/releasebranch_6_4/vector/v.surf.idw/main.c 2010-09-22 16:23:02 UTC (rev 43623)
@@ -90,6 +90,21 @@
parm.output = G_define_standard_option(G_OPT_R_OUTPUT);
+ parm.dfield = G_define_standard_option(G_OPT_V_FIELD);
+ parm.dfield->description =
+ _("If set to 0, z coordinates are used (3D vector only)");
+ parm.dfield->answer = "1";
+ parm.dfield->gisprompt = "old_layer,layer,layer_zero";
+ parm.dfield->guisection = _("Values");
+
+ parm.col = G_define_option();
+ parm.col->key = "column";
+ parm.col->type = TYPE_STRING;
+ parm.col->required = NO;
+ parm.col->label = _("Attribute table column with values to interpolate");
+ parm.col->description = _("Required if layer > 0");
+ parm.col->guisection = _("Values");
+
parm.npoints = G_define_option();
parm.npoints->key = "npoints";
parm.npoints->key_desc = "count";
@@ -97,6 +112,7 @@
parm.npoints->required = NO;
parm.npoints->description = _("Number of interpolation points");
parm.npoints->answer = "12";
+ parm.npoints->guisection = _("Settings");
parm.power = G_define_option();
parm.power->key = "power";
@@ -104,26 +120,15 @@
parm.power->answer = "2.0";
parm.power->description =
_("Power parameter; greater values assign greater influence to closer points");
+ parm.power->guisection = _("Settings");
- parm.dfield = G_define_standard_option(G_OPT_V_FIELD);
- parm.dfield->description =
- _("If set to 0, z coordinates are used (3D vector only)");
- parm.dfield->answer = "1";
- parm.dfield->gisprompt = "old_layer,layer,layer_zero";
-
- parm.col = G_define_option();
- parm.col->key = "column";
- parm.col->type = TYPE_STRING;
- parm.col->required = NO;
- parm.col->label = _("Attribute table column with values to interpolate");
- parm.col->description = _("Required if layer > 0");
-
noindex = G_define_flag();
noindex->key = 'n';
noindex->label = _("Don't index points by raster cell");
noindex->description = _("Slower but uses"
" less memory and includes points from outside region"
" in the interpolation");
+ noindex->guisection = _("Settings");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list