Hi Marc, GDAL allows you to do resampling (scaling down/up) from SWIG binding quite well. Check the ScaleQueryToTile() in GDAL2Tiles at my sandbox or similar code in gdal_retile.py.
Klokan On Fri, Aug 29, 2008 at 4:42 PM, Marc Jacquin <[EMAIL PROTECTED]> wrote: > 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
