[Gdal-dev] I/O Performance issues with ENVI data format

Frank Warmerdam warmerdam at pobox.com
Wed Mar 7 14:36:57 EST 2007


Ozy Sjahputera wrote:
> Hi Frank,
> 
> I have to use RasterIO since we try to capture only certain parts of the 
> image.  But the buffer size I use is simply the block size prescribed by 
> GDAL (if the block size is too large for the area we try to capture, I 
> use the smaller size of the two).
> I think the GeoTiff is striped (each block is simply a row of image).

Ozy,

OK, nothing dangerous sounding in how you are doing this.

> Forgive my ignorance, but where and how do you set the GDAL_CACHEMAX 
> parameter?

It can be an environment variable, set via the commandline --config
switch or set with the API call GDALSetConfigOption().  For quick
testing the easiest way is to set it in the environment.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list