Opened 10 years ago

Closed 6 years ago

#2375 closed enhancement (fixed)

t.rast.import: add memory parameter

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.4.0
Component: Temporal Version: svn-releasebranch70
Keywords: t.rast.import Cc:
CPU: All Platform: All

Description

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

Change History (6)

comment:1 by lucadelu, 8 years ago

Implemented in r67963. Should we backport this or not?

comment:2 by martinl, 8 years ago

Milestone: 7.0.07.0.5

comment:3 by martinl, 8 years ago

Milestone: 7.0.57.3.0

comment:4 by martinl, 8 years ago

Milestone: 7.3.07.4.0

Milestone renamed

comment:5 by neteler, 6 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:6 by martinl, 6 years ago

Milestone: 7.4.17.4.0
Resolution: fixed
Status: newclosed

Already implemented in G74:t.rast.import.

Note: See TracTickets for help on using tickets.