Re: [gdal-dev] Extending csharp binding for resampling

2008-09-01 Thread Klokan Petr Přidal
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

Re: [gdal-dev] Extending csharp binding for resampling

2008-08-29 Thread Tamas Szekeres
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 w

[gdal-dev] Extending csharp binding for resampling

2008-08-29 Thread Marc Jacquin
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'