[GRASS-SVN] r30552 - grass/trunk/raster/r.mapcalc
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Mar 13 14:49:57 EDT 2008
Author: glynn
Date: 2008-03-13 14:49:57 -0400 (Thu, 13 Mar 2008)
New Revision: 30552
Modified:
grass/trunk/raster/r.mapcalc/map3.c
Log:
Set file format (FCELL/DCELL) to match internal format
Modified: grass/trunk/raster/r.mapcalc/map3.c
===================================================================
--- grass/trunk/raster/r.mapcalc/map3.c 2008-03-13 18:48:33 UTC (rev 30551)
+++ grass/trunk/raster/r.mapcalc/map3.c 2008-03-13 18:49:57 UTC (rev 30552)
@@ -588,6 +588,8 @@
void *handle;
int fd;
+ G3d_setFileType(res_type == FCELL_TYPE ? FCELL_TYPE : DCELL_TYPE);
+
handle = G3d_openCellNew(
(char *) name,
res_type == FCELL_TYPE ? FCELL_TYPE : DCELL_TYPE,
More information about the grass-commit
mailing list