[GRASS-SVN] r58232 - grass/trunk/vector/v.out.postgis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 16 07:49:39 PST 2013
Author: martinl
Date: 2013-11-16 07:49:39 -0800 (Sat, 16 Nov 2013)
New Revision: 58232
Modified:
grass/trunk/vector/v.out.postgis/args.c
Log:
v.out.postgis: more guisections
Modified: grass/trunk/vector/v.out.postgis/args.c
===================================================================
--- grass/trunk/vector/v.out.postgis/args.c 2013-11-16 09:46:19 UTC (rev 58231)
+++ grass/trunk/vector/v.out.postgis/args.c 2013-11-16 15:49:39 UTC (rev 58232)
@@ -12,10 +12,12 @@
params->type->options =
"point,line,boundary,centroid,area,face,kernel,auto";
params->type->answer = "auto";
-
+ params->type->guisection = _("Selection");
+
params->layer = G_define_standard_option(G_OPT_V_FIELD);
params->layer->description = NULL;
-
+ params->layer->guisection = _("Selection");
+
params->dsn = G_define_option();
params->dsn->key = "dsn";
params->dsn->type = TYPE_STRING;
@@ -33,7 +35,7 @@
_("Name for output PostGIS layer");
params->olayer->description =
_("If not specified, input name is used");
- params->olayer->guisection = _("Output settings");
+ params->olayer->guisection = _("Creation");
params->olink = G_define_standard_option(G_OPT_V_OUTPUT);
params->olink->key = "olink";
@@ -55,25 +57,25 @@
params->opts->multiple = YES;
params->opts->type = TYPE_STRING;
params->opts->key_desc = "key=value";
- params->opts->guisection = _("Output settings");
+ params->opts->guisection = _("Creation");
flags->table = G_define_flag();
flags->table->key = 't';
flags->table->description =
_("Don't export attribute table");
- flags->table->guisection = _("Output settings");
+ flags->table->guisection = _("Creation");
flags->topo = G_define_flag();
flags->topo->key = 'l';
flags->topo->description =
_("Export PostGIS topology instead of simple features");
- flags->topo->guisection = _("Output settings");
+ flags->topo->guisection = _("Creation");
flags->force2d = G_define_flag();
flags->force2d->key = '2';
flags->force2d->label = _("Force 2D output even if input is 3D ");
flags->force2d->description = _("Useful if input is 3D but all z coordinates are identical");
- flags->force2d->guisection = _("Output settings");
+ flags->force2d->guisection = _("Creation");
}
More information about the grass-commit
mailing list