[GRASS-dev] [GRASS GIS] #2375: t.rast.import: add memory parameter

#2375: t.rast.import: add memory parameter
---------------------------+------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Temporal | Version: svn-releasebranch70
Keywords: t.rast.import | Platform: All
      Cpu: All |
---------------------------+------------------------------------------------
t.rast.import might become faster for larger datasets when
using a bigger GDAL cache since it calls r.in.gdal (which allows
for a larger cache size).

Effectively it might be the best to propagate the "memory"
parameter of r.in.gdal (called in lib/python/temporal/stds_import.py) to
the user interface of t.rast.import.

Sidenote:

Potentially the call of GDALSetCacheMax() in r.in.gdal/main.c
should be changed to GDALSetCacheMax64(), not sure if conditionalized, to
overcome the 2GB cache limit.
See
http://www.gdal.org/gdal_8h.html#adfb1e95703ee577f012935869852d96c

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2375&gt;
GRASS GIS <http://grass.osgeo.org>