[gdal-dev] Using GDALTranslateOptions with '-a_ullr' doesn't work

2017-01-17 Thread Paul Meems
Hi list, I'm using GDAL v2.1.2 from GisInternals.com on Win10 with the C#-bindings. I'm trying to recreate this gdal_translate command in C#: gdal_translate -of GTiff -a_nodata 65535 -a_srs "+proj=stere +lat_0=90 +lon_0=0 +lat_ts=60 +a=6378.14 +b=6356.75 +x_0=0 y_0=0" -a_ullr 0.0, -3650.000, 800.

Re: [gdal-dev] Using GDALTranslateOptions with '-a_ullr' doesn't work

2017-01-17 Thread Even Rouault
On mardi 17 janvier 2017 08:59:30 CET Paul Meems wrote: > Hi list, > > I'm using GDAL v2.1.2 from GisInternals.com on Win10 with the C#-bindings. > > I'm trying to recreate this gdal_translate command in C#: > gdal_translate -of GTiff -a_nodata 65535 -a_srs "+proj=stere +lat_0=90 > +lon_0=0 +lat_

Re: [gdal-dev] Using GDALTranslateOptions with '-a_ullr' doesn't work

2017-01-17 Thread Paul Meems
Thanks Even for your reply, it helped me great. For future reference here's the working C# code: var options = new GDALTranslateOptions(new[] { "-of", "GTiff", "-a_nodata", "65535", "-a_srs", "+proj=stere +lat_0=90 +lon_0=0 +lat_ts=60 +a=6378.14 +b=6356.75 +x_0=0 y