[gdal-dev] write projection to ECW file in Gdal 1.9

netcadturgay turgay.osna at netcad.com.tr
Wed Oct 3 04:32:59 PDT 2012


I use Gdal 1.9 library including ERDAS R-W SDK 4.2 and when I try to write
projection to ECW file(SetProjection) in update mode, some projections can
written successfully. But some projections cannot written(cannot update to
the file). Any solution about this problem? 
Also when I try to set same projections to "TIFF" file, all of them are
written successfully. 

WKT can written
-----------------
GEOGCS["WGS-84",DATUM["WGS84",SPHEROID["WGS
84",6378137.0,298.2572236],TOWGS84[0.0,0.0,0.0,0.0,0.0,0.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.01745329],AUTHORITY["EPSG","4326"]]

WKT cannot written
-------------------
PROJCS["(UTM)Universal Transvers Merkator 6º",GEOGCS["EUROPEAN
1950",DATUM["European_Datum_1950",SPHEROID["International",6378388.0,297.0],TOWGS84[-87.0,-98.0,-121.0,0.0,0.0,0.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.01745329],AUTHORITY["EPSG","4230"]],PROJECTION["TRANSVERSE_MERCATOR"],PARAMETER["SCALE_FACTOR",0.9996],PARAMETER["CENTRAL_MERIDIAN",33.0],PARAMETER["LATITUDE_OF_ORIGIN",0.0],PARAMETER["FALSE_EASTING",500000.0],PARAMETER["FALSE_NORTHING",0.0],UNIT["meter",1.0]]






--
View this message in context: http://osgeo-org.1560.n6.nabble.com/write-projection-to-ECW-file-in-Gdal-1-9-tp5006074.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list