Marc, Wouldn't it be sufficient to create a warped vrt dataset either by opening the corresponding xml file or using the AutoCreateWarpedVRT API? Then you might want to use ReadRaster on that dataset so as to load the stuff into an in-memory buffer.
Currently there's no native way to access the warp operations from the SWIG interface. Best regards, Tamas 2008/8/29 Marc Jacquin <[EMAIL PROTECTED]>: > Hi Gdal folks, > > Let's say we would like to use GDAL warping capabilities for resampling a > dataset (without saving it on a file) at specific xcell and ycell with a > specific resampling method but in Csharp. What would be the best way to do > it? > Let me guess: > - First maintain our own Gdal build (that's fine) > - Add the corresponding swig code to some .i files in the swig include > directory > - recompile the whole swig csharp stuff > > OK, but I'm not familiar with swig. Has anybody some swig code similar on > the shelf? Wouldn't it be something useful to add to the official Gdal > release? > > Regards, > > Marc Jacquin > +(33) 562 247 023 > [EMAIL PROTECTED] > > Magellium > 24, rue Hermès > BP 12113 > 31521 RAMONVILLE Saint-Agne cedex > France > Phone: +(33) 562 247 000 > Fax: +(33) 562 247 001 > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
