[Gdal-dev] Re: GDALWarp - NO_DATA Replace?

Frank Warmerdam warmerdam at pobox.com
Tue Nov 23 00:42:03 EST 2004


Jason Hughes wrote:
> Frank - To use pfnPreWarpChunkProcessor do I have to set dfWarpMemoryLimit 
> in order to know what the chunk size is to process the chunk myself?  Or is 
> there another way to get the chunk size without setting it?

Jason,

The WarpKernel::nSrcXSize and nSrcYSize are the size of the chunk you are
given.  You do not need to try and figure it out from the dfWarpMemoryLimit.

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