[Gdal-dev] Compositing warped images

Frank Warmerdam warmerdam at pobox.com
Thu Jan 29 10:58:20 EST 2004


Robert Osfield wrote:
> I'll need to code something similar to RasterIOWithNoData() at my end, do you 
> think it woul make sense to convert desitination line by line or to just 
> convert the whole region at once.   I'm inclined to do a single RasterIO call 
> and then copy and filter in one go across to the final destination.  Whats 
> you thoughts on the tradeoffs on performance/memory usage.
> 
> When I'm finished if I have something reusable I'll post it in.

Robert,

I would suggest doing a single RasterIO() call.  The more you can aggregate
your IO requests into single calls, the more opportunity GDAL has to do things
more efficiently.

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