[GRASS-SVN] r58924 - grass/branches/develbranch_6/raster/r.li/r.li.daemon
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 6 22:52:13 PST 2014
Author: hamish
Date: 2014-02-06 22:52:13 -0800 (Thu, 06 Feb 2014)
New Revision: 58924
Modified:
grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c
Log:
minor whitespace
Modified: grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c 2014-02-07 06:49:15 UTC (rev 58923)
+++ grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c 2014-02-07 06:52:13 UTC (rev 58924)
@@ -484,15 +484,18 @@
m.type = MASKEDAREA;
struct Cell_head window;
+
/* Get the window setting. g.region rast=<input raster> */
G_get_window(&window);
+
/* Each input overlay area from input vector are converted to raster
- via v.to.rast. See r.li.setup/sample_area_vector.sh. This is to used
- only for reading the region (NS, EW). */
+ via v.to.rast. See r.li.setup/sample_area_vector.sh. This is to used
+ only for reading the region (NS, EW). */
/* Get start x and y position of masked overlay raster with respect
- to input raster region from window.
- sa_n, sa_e are read from configuration file. */
+ to input raster region from window.
+ sa_n, sa_e are read from configuration file. */
+
m.f.f_ma.x = (int)G_easting_to_col(sa_e, &window);
m.f.f_ma.y = (int)G_northing_to_row(sa_n, &window);
@@ -505,6 +508,7 @@
aid++;
insertNode(l, m);
}
+
while ((token = strtok(NULL, " ")) != NULL &&
(strcmp(token, "MASKEDOVERLAYAREA") == 0));
More information about the grass-commit
mailing list