Opened 6 years ago

Closed 3 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 Changed 5 years ago by lucadelu

Implemented in r67963. Should we backport this or not?

comment:2 Changed 5 years ago by martinl

Milestone: 7.0.07.0.5

comment:3 Changed 4 years ago by martinl

Milestone: 7.0.57.3.0

comment:4 Changed 4 years ago by martinl

Milestone: 7.3.07.4.0

Milestone renamed

comment:5 Changed 3 years ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:6 Changed 3 years ago by martinl

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.