[GRASS-SVN] r44561 -
grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 7 12:59:24 EST 2010
Author: mmetz
Date: 2010-12-07 09:59:24 -0800 (Tue, 07 Dec 2010)
New Revision: 44561
Modified:
grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/angle.c
grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/exec.c
grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/get_wind.c
grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/main.c
Log:
cosmetics
Modified: grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/angle.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/angle.c 2010-12-07 17:49:57 UTC (rev 44560)
+++ grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/angle.c 2010-12-07 17:59:24 UTC (rev 44561)
@@ -188,6 +188,7 @@
type = "raster";
G_short_history(name, type, &hist);
+ G_command_history(&hist);
G_write_history(name, &hist);
G_init_colors(&colr);
Modified: grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/exec.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/exec.c 2010-12-07 17:49:57 UTC (rev 44560)
+++ grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/exec.c 2010-12-07 17:59:24 UTC (rev 44561)
@@ -100,6 +100,7 @@
/* Initialze History */
type = "raster";
G_short_history(name, type, &hist);
+ G_command_history(&hist);
G_write_history(result, &hist);
select_current_env();
Modified: grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/get_wind.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/get_wind.c 2010-12-07 17:49:57 UTC (rev 44560)
+++ grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/get_wind.c 2010-12-07 17:59:24 UTC (rev 44561)
@@ -62,6 +62,9 @@
} nw, ne, se, sw;
/* get an average elevation from the active control points */
+ /* for mountainous areas this is a very rough approximation
+ * which would become more accurate only if actual elevation
+ * values are used */
get_aver_elev(&group.control_points, &aver_z);
G_debug(1, "Aver elev = %f", aver_z);
@@ -94,7 +97,6 @@
w1->north, e0, n0);
G_debug(1, "target x = %f y = %f", e, n);
-
ne.n = n;
ne.e = e;
if (n > w2->north)
Modified: grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/main.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/main.c 2010-12-07 17:49:57 UTC (rev 44560)
+++ grass/branches/develbranch_6/imagery/i.ortho.photo/i.photo.rectify/main.c 2010-12-07 17:59:24 UTC (rev 44561)
@@ -100,7 +100,7 @@
ext->description = _("Output raster map(s) suffix");
tres = G_define_option();
- tres->key = "res";
+ tres->key = "resolution";
tres->type = TYPE_DOUBLE;
tres->required = NO;
tres->description = _("Target resolution (ignored if -c flag used)");
More information about the grass-commit
mailing list