Re: [gdal-dev] gdalwarp from C#

2017-11-06 Thread Paul Meems
We're using it like this: using (var ds = _gdalProxy.Open(input, Access.GA_ReadOnly)) { if (ds == null) { throw new Exception("Can't open GDAL dataset: " + input); } var gdalOptions = new GDALWarpAppOptions(options); var ptr = new[] { Dataset.getCPtr(ds).Handle };

Re: [gdal-dev] gdalwarp from C#

2017-11-05 Thread Tamas Szekeres
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, Gda

[gdal-dev] gdalwarp from C#

2017-11-04 Thread Karu Kaarigar
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 va