[Gdal-dev] Raster IO Performance Tweaking

Frank Warmerdam warmerdam at pobox.com
Fri Apr 25 15:54:09 EDT 2003


Folks,

In an effort to accelerate GDAL IO speeds for various cases, I have
implemented a RasterIO() interface on the GDALDataset that allows multiple
bands to be loaded or written in a single call.  The default implementation
is to just make calls to the RasterIO() method for each of the bands, but
we now have the potential to implement format specific dataset RasterIO()
methods that take operate on all bands in one pass when the data is
effectively pixel interleaved.

I mention this now (even before there is much advantage being taken from it)
because these changes mean anyone updating from CVS must do a clean rebuild,
and because there is a fair likelyhood that bugs will be introduced while this
is being work on.

I have also done some tweaking for pixel interleaved buffers in rasterio.cpp
that should help in some fairly common cases right now.

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    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list