#2171: rfe r.in.gdal: auto-calc memory= value
--------------------------------------+-------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.gdal, GDAL_CACHEMAX | Platform: All
Cpu: All |
--------------------------------------+-------------------------------------
Hi, a r.in.gdal wish refined with hints from EvenR,
it would be nice if the r.in.gdal memory= option allowed the user to
specify memory=auto, in which case the value was automatically calculated
from "tile_height * raster_width * band_count * sizeof_datatype" rounded
up to the next megabyte or so for good luck.
This will require changing the parser check to manual testing, but that
shouldn't be too difficult. The default should remain at the current gdal-
internal 40MB for low-resource users who want to import very large files.
#2171: rfe r.in.gdal: auto-calc memory= value
--------------------------------------+-------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.gdal, GDAL_CACHEMAX | Platform: All
Cpu: All |
--------------------------------------+-------------------------------------
Comment(by mlennert):
Replying to [ticket:2171 hamish]:
> Hi, a r.in.gdal wish refined with hints from EvenR,
>
> it would be nice if the r.in.gdal memory= option allowed the user to
specify memory=auto, in which case the value was automatically calculated
from "tile_height * raster_width * band_count * sizeof_datatype" rounded
up to the next megabyte or so for good luck.
>
> This will require changing the parser check to manual testing, but that
shouldn't be too difficult. The default should remain at the current gdal-
internal 40MB for low-resource users who want to import very large files.
>
> for now I've put a hint in the wiki:
> http://grasswiki.osgeo.org/wiki/Importing_data#Large_data
As a side note: wouldn't a memory parameter also be beneficial for
r.out.gdal ?