[GRASS-SVN] r33435 - grass/trunk/raster/r.external
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 13 19:02:17 EDT 2008
Author: glynn
Date: 2008-09-13 19:02:17 -0400 (Sat, 13 Sep 2008)
New Revision: 33435
Modified:
grass/trunk/raster/r.external/main.c
Log:
Fix writing of range
Modified: grass/trunk/raster/r.external/main.c
===================================================================
--- grass/trunk/raster/r.external/main.c 2008-09-13 22:05:54 UTC (rev 33434)
+++ grass/trunk/raster/r.external/main.c 2008-09-13 23:02:17 UTC (rev 33435)
@@ -454,12 +454,14 @@
struct Range range;
range.min = (CELL)info->range[0];
range.max = (CELL)info->range[1];
+ range.first_time = 0;
G_write_range(output, &range);
}
else {
struct FPRange fprange;
fprange.min = info->range[0];
fprange.max = info->range[1];
+ fprange.first_time = 0;
G_write_fp_range(output, &fprange);
write_fp_format(output, info);
write_fp_quant(output);
More information about the grass-commit
mailing list