[GRASS-SVN] r57767 - grass/branches/releasebranch_6_4/vector/v.transform
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 20 16:23:05 PDT 2013
Author: hamish
Date: 2013-09-20 16:23:05 -0700 (Fri, 20 Sep 2013)
New Revision: 57767
Modified:
grass/branches/releasebranch_6_4/vector/v.transform/main.c
Log:
minor sync with devbr6 (move -w flag placement, guisection)
Modified: grass/branches/releasebranch_6_4/vector/v.transform/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.transform/main.c 2013-09-20 23:21:53 UTC (rev 57766)
+++ grass/branches/releasebranch_6_4/vector/v.transform/main.c 2013-09-20 23:23:05 UTC (rev 57767)
@@ -86,28 +86,29 @@
tozero_flag->description = _("Shift all z values to bottom=0");
tozero_flag->guisection = _("Custom");
+ swap_flag = G_define_flag();
+ swap_flag->key = 'w';
+ swap_flag->description =
+ _("Swap coordinates x, y and then apply other parameters");
+ swap_flag->guisection = _("Custom");
+
print_mat_flag = G_define_flag();
print_mat_flag->key = 'm';
print_mat_flag->description =
_("Print the transformation matrix to stdout");
-
+
shift_flag = G_define_flag();
shift_flag->key = 's';
shift_flag->description =
_("Instead of points use transformation parameters "
"(xshift, yshift, zshift, xscale, yscale, zscale, zrot)");
shift_flag->guisection = _("Custom");
-
- swap_flag = G_define_flag();
- swap_flag->key = 'w';
- swap_flag->description =
- _("Swap coordinates x, y and then apply other parameters");
-
+
vold = G_define_standard_option(G_OPT_V_INPUT);
field = G_define_standard_option(G_OPT_V_FIELD);
field->answer = "-1";
-
+
vnew = G_define_standard_option(G_OPT_V_OUTPUT);
pointsfile = G_define_standard_option(G_OPT_F_INPUT);
More information about the grass-commit
mailing list