[gdal-dev] Not right recording of some GeoTIFF tags

Pavel Rudchenko tigerpvr at gmail.com
Mon Jun 18 00:20:23 PDT 2012


Hello.
Why via GDAL library (C# .net wrapper) som GeoTIFF tags not right?
For example, I know, that it's right:  GeogCitationGeoKey (Ascii,6): "WGS84"
But GDAL result is: GeogCitationGeoKey (Ascii,7): "WGS 84"
(with space)

My code is:

oSrs.SetProjCS("WGS_1984 / UTM zone 36N");
oSrs.SetWellKnownGeogCS("WGS84");
oSrs.SetUTM(36, 1);

string wkt;
oSrs.ExportToWkt(out wkt);
s.SetProjection(wkt);

See you, Pavel


More information about the gdal-dev mailing list