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

Re: [gdal-dev] GDAL S57 "New Object"

2017-01-17 Thread Damian Dixon
The following is really for information... New Object is an interesting one. It's used to extend the features available in S-57 by the data provider without the need to modify the standards (S-57 & S-52). Normal a New Object is only created when there is a pressing need to represent something new

Re: [gdal-dev] GDAL S57 "New Object"

2017-01-17 Thread Even Rouault
On mardi 17 janvier 2017 07:48:45 CET Jerome Siot wrote: > Hi, > Implementing a program using gdal 2.0.1, I trap an exception on a > GetNextFeature() call, on layer id 163 "NEW OBJECT", described on > www.s-57.com. As a first idea, I read > gdal/gdal/data/s57objectclasses.csv (

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_

[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.