[Gdal-dev] Merging TIFFs

Frank Warmerdam warmerdam at pobox.com
Wed Apr 12 21:42:37 EDT 2006


Andrew Larcombe wrote:
> Hi all,
> 
> I'm after a quick bit of advice before I start coding. I need to write a 
> small app that will take a 4000x4000 pixel striped geotiff at resolution 
> x and merge it into a number of larger ~10000x10000 pixel tiled (200px 
> tile height & width) geotiffs at resolutions y1...yn where y1...yn < x. 
> Both input and output are in the same projection.
> 
> Am I best off using the GDALWarp classes or the 
> GDALRasterBand->RasteIO() stuff?

Andrew,

If you don't need reprojection, resampling kernels, and so forth then
sticking with RasterIO() will be faster and easier.

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 OSGF, http://osgeo.org




More information about the Gdal-dev mailing list