[GRASS-SVN] r65588 - grass/trunk/raster/r.proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 14 08:50:20 PDT 2015
Author: martinl
Date: 2015-07-14 08:50:20 -0700 (Tue, 14 Jul 2015)
New Revision: 65588
Modified:
grass/trunk/raster/r.proj/main.c
Log:
r.proj: reorder options to avoid user confusion
Modified: grass/trunk/raster/r.proj/main.c
===================================================================
--- grass/trunk/raster/r.proj/main.c 2015-07-14 15:49:11 UTC (rev 65587)
+++ grass/trunk/raster/r.proj/main.c 2015-07-14 15:50:20 UTC (rev 65588)
@@ -147,11 +147,6 @@
module->description =
_("Re-projects a raster map from given location to the current location.");
- inmap = G_define_standard_option(G_OPT_R_INPUT);
- inmap->description = _("Name of input raster map to re-project");
- inmap->required = NO;
- inmap->guisection = _("Source");
-
inlocation = G_define_standard_option(G_OPT_M_LOCATION);
inlocation->required = YES;
inlocation->label = _("Location containing input raster map");
@@ -162,9 +157,13 @@
imapset->description = _("Default: name of current mapset");
imapset->guisection = _("Source");
+ inmap = G_define_standard_option(G_OPT_R_INPUT);
+ inmap->description = _("Name of input raster map to re-project");
+ inmap->required = NO;
+ inmap->guisection = _("Source");
+
indbase = G_define_standard_option(G_OPT_M_DBASE);
indbase->label = _("Path to GRASS database of input location");
- indbase->guisection = _("Source");
outmap = G_define_standard_option(G_OPT_R_OUTPUT);
outmap->required = NO;
More information about the grass-commit
mailing list