[GRASS-SVN] r61361 - grass/branches/releasebranch_7_0/raster/r.in.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 23 02:16:45 PDT 2014
Author: neteler
Date: 2014-07-23 02:16:45 -0700 (Wed, 23 Jul 2014)
New Revision: 61361
Modified:
grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c
Log:
r.in.gdal: msg cosmetics
Modified: grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c 2014-07-23 08:36:18 UTC (rev 61360)
+++ grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c 2014-07-23 09:16:45 UTC (rev 61361)
@@ -204,11 +204,12 @@
/* Fire up the engines. */
/* -------------------------------------------------------------------- */
GDALAllRegister();
+ /* default GDAL memory cache size appears to be only 40 MiB, slowing down r.in.gdal */
if (parm.memory->answer && *parm.memory->answer) {
GDALSetCacheMax(atol(parm.memory->answer) * 1024 * 1024);
- G_message(_("Using user memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
+ G_verbose_message(_("Using user memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
} else
- G_message(_("Using default GDAL memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
+ G_verbose_message(_("Using default GDAL memory cache size: %.1f MiB"), GDALGetCacheMax()/1024.0/1024.0);
/* -------------------------------------------------------------------- */
More information about the grass-commit
mailing list