[gdal-dev] Overriding IRasterIO in class derived from GDALRasterBand

Tamas Szekeres szekerest at gmail.com
Fri Aug 7 16:17:36 EDT 2009


2009/8/7 Jorge Arévalo <jorge.arevalo at gmail.com>

>
> > One issue with this concept would be related to the limited memory size
> of
> > the particular machine, it may be more reasonable to copy the retrieved
> > blocks directly onto the output buffer if possible. In this case you
> cannot
> > much rely on the base RasterIO implementation.
>
> So, you suggest to copy the block data into the buffer without calling
> base implementation of IRasterIO, do you? This implies take care of
> the endianess and pixel size "by hand".
>

And many more... I agree this wouldn't be that straightforward. Populating
the block buffer would be much easier.

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090807/466d309c/attachment.html


More information about the gdal-dev mailing list