[GRASS-SVN] r44186 - in grass/trunk: raster/r.proj vector/v.proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 6 10:53:43 EDT 2010
Author: martinl
Date: 2010-11-06 07:53:43 -0700 (Sat, 06 Nov 2010)
New Revision: 44186
Modified:
grass/trunk/raster/r.proj/main.c
grass/trunk/vector/v.proj/main.c
Log:
r.proj/v.proj: more guisections
Modified: grass/trunk/raster/r.proj/main.c
===================================================================
--- grass/trunk/raster/r.proj/main.c 2010-11-06 14:44:46 UTC (rev 44185)
+++ grass/trunk/raster/r.proj/main.c 2010-11-06 14:53:43 UTC (rev 44186)
@@ -151,7 +151,7 @@
inmap = G_define_standard_option(G_OPT_R_INPUT);
inmap->description = _("Name of input raster map to re-project");
inmap->required = NO;
- inmap->guisection = _("Input");
+ inmap->guisection = _("Source");
inlocation = G_define_option();
inlocation->key = "location";
@@ -168,7 +168,7 @@
imapset->description = _("Mapset containing input raster map");
imapset->gisprompt = "old,mapset,mapset";
imapset->key_desc = "name";
- imapset->guisection = _("Input");
+ imapset->guisection = _("Source");
indbase = G_define_option();
indbase->key = "dbase";
@@ -177,15 +177,15 @@
indbase->description = _("Path to GRASS database of input location");
indbase->gisprompt = "old,dbase,dbase";
indbase->key_desc = "path";
- indbase->guisection = _("Input");
+ indbase->guisection = _("Source");
outmap = G_define_standard_option(G_OPT_R_OUTPUT);
outmap->required = NO;
outmap->description = _("Name for output raster map (default: input)");
- outmap->guisection = _("Output");
+ outmap->guisection = _("Target");
ipolname = make_ipol_list();
-
+
interpol = G_define_option();
interpol->key = "method";
interpol->type = TYPE_STRING;
@@ -193,6 +193,7 @@
interpol->answer = "nearest";
interpol->options = ipolname;
interpol->description = _("Interpolation method to use");
+ interpol->guisection = _("Target");
memory = G_define_option();
memory->key = "memory";
@@ -205,6 +206,7 @@
res->type = TYPE_DOUBLE;
res->required = NO;
res->description = _("Resolution of output map");
+ res->guisection = _("Target");
list = G_define_flag();
list->key = 'l';
@@ -218,13 +220,14 @@
print_bounds->key = 'p';
print_bounds->description =
_("Print input map's bounds in the current projection and exit");
-
+ print_bounds->guisection = _("Target");
+
gprint_bounds = G_define_flag();
gprint_bounds->key = 'g';
gprint_bounds->description =
_("Print input map's bounds in the current projection and exit (shell style)");
+ gprint_bounds->guisection = _("Target");
-
/* The parser checks if the map already exists in current mapset,
we switch out the check and do it
in the module after the parser */
Modified: grass/trunk/vector/v.proj/main.c
===================================================================
--- grass/trunk/vector/v.proj/main.c 2010-11-06 14:44:46 UTC (rev 44185)
+++ grass/trunk/vector/v.proj/main.c 2010-11-06 14:53:43 UTC (rev 44186)
@@ -69,7 +69,7 @@
mapopt = G_define_standard_option(G_OPT_V_INPUT);
mapopt->required = NO;
- mapopt->guisection = _("Input");
+ mapopt->guisection = _("Source");
ilocopt = G_define_option();
ilocopt->key = "location";
@@ -86,7 +86,7 @@
isetopt->description = _("Mapset containing input vector map");
isetopt->gisprompt = "old,mapset,mapset";
isetopt->key_desc = "name";
- isetopt->guisection = _("Input");
+ isetopt->guisection = _("Source");
ibaseopt = G_define_option();
ibaseopt->key = "dbase";
@@ -95,12 +95,12 @@
ibaseopt->description = _("Path to GRASS database of input location");
ibaseopt->gisprompt = "old,dbase,dbase";
ibaseopt->key_desc = "path";
- ibaseopt->guisection = _("Input");
+ ibaseopt->guisection = _("Source");
omapopt = G_define_standard_option(G_OPT_V_OUTPUT);
omapopt->required = NO;
omapopt->description = _("Name for output vector map (default: input)");
- omapopt->guisection = _("Output");
+ omapopt->guisection = _("Target");
flag.list = G_define_flag();
flag.list->key = 'l';
@@ -112,7 +112,7 @@
flag.transformz->label =
_("Assume z co-ordinate is ellipsoidal height and "
"transform if possible");
- flag.transformz->guisection = _("Output");
+ flag.transformz->guisection = _("Target");
/* The parser checks if the map already exists in current mapset,
we switch out the check and do it
More information about the grass-commit
mailing list