[gdal-dev] GDAL GeoTiff tegs problem: how to set GeogPrimeMeridianGeoKey?
Pavel Rudchenko
tigerpvr at gmail.com
Fri Jun 15 00:41:49 PDT 2012
Hello,
I have second question.
How to set geo-tag GeogPrimeMeridianGeoKey? Now it isn't created.
My GDAL code is:
SpatialReference oSrs = new SpatialReference(null);
oSrs.SetUTM(30, 1);
Double convertToRadians = Double.Parse(Osr.SRS_UA_DEGREE_CONV,
CultureInfo.InvariantCulture.NumberFormat);
oSrs.SetGeogCS(string.Empty, //"UTM 30 (WGS84) in northern hemisphere.",
Osr.SRS_DN_WGS84, Osr.SRS_DN_WGS84,
Osr.SRS_WGS84_SEMIMAJOR, Osr.SRS_WGS84_INVFLATTENING,
"Greenwich", 0.0, "degree", convertToRadians);
string wkt;
oSrs.ExportToWkt(out wkt);
ds.SetProjection(wkt);
Thank you.
More information about the gdal-dev
mailing list