[gdal-dev] How to set GEO-tags ProjectedCSTypeGeoKey and ProjectionGeoKey?

2012-06-19 Thread Pavel Rudchenko
Hello! How may I set GEO-tags non-user defined? Now it is: ProjectedCSTypeGeoKey (Short,1): User-Defined ProjectionGeoKey (Short,1): User-Defined But shall be like this: ProjectedCSTypeGeoKey (Short,1): PCS_WGS84_UTM_zone_30N ProjectionGeoKey (Short,1): Proj_UTM_zone_30N My GDAL-wrapper code is:

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

2012-06-18 Thread Pavel Rudchenko
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.SetWellKnownGe

[gdal-dev] How to write more stuff of GeoKeys?

2012-06-15 Thread Pavel Rudchenko
Hello, people! My task is to write more GeoKeys tegs to GeoTiff file. How can do it with the GDAL (C# wrapper)? Fow example, I can't write GeoKeys "GeogEllipsoidGeoKey", "GeogSemiMajorAxisGeoKey", "GeogSemiMinorAxisGeoKey", and others. Maximum keys that I can do with GDAL is: Keyed_Information:

[gdal-dev] GDAL GeoTiff tegs problem: how to set GeogPrimeMeridianGeoKey?

2012-06-15 Thread Pavel Rudchenko
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); oSr

[gdal-dev] GDAL GeoTiff tegs problem

2012-06-15 Thread Pavel Rudchenko
Hello! I create GeoTiff files with GDAL library (.net wrapper). All right, but some geo-tags not setted. For example, GeogCitationGeoKey (Ascii,1): "" But shall be: GeogCitationGeoKey (Ascii,6): "WGS84" My vode to set geo-data is: SpatialReference oSrs = new SpatialReference(null); oSrs.SetUTM(30