[gdal-dev] gdalwarp from C#

Tamas Szekeres szekerest at gmail.com
Sun Nov 5 09:22:20 PST 2017


Would Gdal.ReprojectImage do what you want in this particular case? This is
the signature that can be used in the C# bindings:

*public static CPLErr ReprojectImage(Dataset src_ds, Dataset dst_ds, string
src_wkt, string dst_wkt, ResampleAlg eResampleAlg, double WarpMemoryLimit,
double maxerror, Gdal.GDALProgressFuncDelegate callback, string
callback_data, string[] options)*

Best regards,

Tamas

2017-11-04 20:04 GMT+01:00 Karu Kaarigar <kaarigar at gmail.com>:

> I am trying to use gdalwarp using C# bindings. I am using 64bit libs.
> However, I am not able to find proper docs on its usage. Specifically I
> need to know how to use the GDALWarpAppOptions and the format of options
> string array passed to its constructor. I also need to know the call
> semantics of various wrapper methods (wrapper_GDALWarpDestName,
> wrapper_GDALWarpDestName). I m confused about its arguments such as
> SWIGTYPE_p_p_GDALDatasetShadow, etc.
>
> Any help or pointers is highly appreciated. Is there any sample code that
> shows how to use gdalwarp from C#? Thanks you.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171105/b6073621/attachment.html>


More information about the gdal-dev mailing list