[gdal-dev] Extending csharp binding for resampling
Klokan Petr Přidal
klokan at klokan.cz
Mon Sep 1 09:02:05 EDT 2008
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 <marc.jacquin at magellium.fr> 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
> marc.jacquin at magellium.fr
>
> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list