[gdal-dev] Reproject raster map in buffer on-the-fly

Oliver Eichler oliver.eichler at gmx.de
Mon Jun 23 02:49:58 PDT 2014


Hi 

I would like to read a region of a raster map and re-project the resulting image on-the-fly before it is displayed. I had a look at the GDAL Warp API tutorial. And I stumbled across GDALWarpRegionToBuffer() while reading the header files. I had a look into the setup functions and found quite a variety of GDALCreateGenImgProjTransformer1..3() or GDALCreateReprojectionTransformer(). I have to admit that whole stuff leaves me a bit clueless.

Thus my question: 

Is there a tutorial or an open source project that does the same I want to do (I parsed the code of QGis without success)?

Or can someone tell me the correct API calls needed to do a re-projection on-the-fly. I think knowing what function sequence to use is already a big step forward for me.

Thanks

Oliver


More information about the gdal-dev mailing list