Hi,<br><br>a while ago I wrote an application using gdal_translate to translate tags in a geotiff image. I used the following command: gdal_translate -a_srs $tagfn $infn $outfn where $tagfn is the file used to modify the tags, $infn is the input filename and $outfn is the output file name (with the tags required).<br>
I am running the same program with FWTools 2-0.6 on a new host.<br>I noticed by running the gdalinfo that there are significant differences in Coordinate System between the 2 versions. I am no expert on the Geotiff area so, I cannot comprehend what changes done to GDAL might be affecting this translation.<br>
Any idea on how to resolve this issue would be apreciated.<br><br>Thanks<br>Isidora<br><a href="mailto:izzybitsie@gmail.com">izzybitsie@gmail.com</a><br><b><br>With 1.1.3</b>:<br><br><i>Driver: GTiff/GeoTIFF<br>Files: WO_SATIR_00_21Z.tif_denwxp1<br>
Size is 7479, 3033<br>Coordinate System is:<br>GEOGCS["unnamed",<br> DATUM["unknown",<br> SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],<br> PRIMEM["Greenwich",0],<br>
UNIT["degree",0.0174532925199433]]<br>Origin = (-179.999899999999997,73.000000000000000)<br>Pixel Size = (0.048132577673166,-0.048139266469396)<br>Metadata:<br> AREA_OR_POINT=Area<br>Image Structure Metadata:<br>
INTERLEAVE=BAND<br></i><br><br><b>With 2-0.6</b><br><br><i>Driver: GTiff/GeoTIFF<br>Files: WO_SATIR_00_21Z.tif<br>Size is 7479, 3033<br>Coordinate System is:<br>LOCAL_CS["unnamed",<br> UNIT["metre",1,<br>
AUTHORITY["EPSG","9001"]]]<br>Origin = (-179.999899999999997,73.000000000000000)<br>Pixel Size = (0.048132577673166,-0.048139266469396)<br>Metadata:<br> AREA_OR_POINT=Area<br>Image Structure Metadata:<br>
INTERLEAVE=BAND</i><br><br><br><b>This is $tagfn:</b><br><i>Geotiff_Information:<br> Version: 1<br> Key_Revision: 1.0<br> Tagged_Information:<br> ModelTiepointTag (2,3):<br> 0 0 0<br>
-179.9999 73 0<br> ModelPixelScaleTag (1,3):<br> 0.0481125224 0.0481125224 0<br> End_Of_Tags.<br> Keyed_Information:<br> GTModelTypeGeoKey (Short,1): ModelTypeGeographic<br>
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea<br> GTCitationGeoKey (Ascii,8): "unnamed"<br> GeographicTypeGeoKey (Short,1): GCS_WGS_84<br> GeogCitationGeoKey (Ascii,8): "unnamed"<br>
GeogAngularUnitsGeoKey (Short,1): Angular_Degree<br> ProjectedCSTypeGeoKey (Short,1): User-Defined<br> ProjectionGeoKey (Short,1): User-Defined<br> ProjCoordTransGeoKey (Short,1): CT_Equirectangular<br>
ProjLinearUnitsGeoKey (Short,1): User-Defined<br> ProjLinearUnitSizeGeoKey (Double,1): 0.0174532925<br> ProjFalseEastingGeoKey (Double,1): 0<br> ProjFalseNorthingGeoKey (Double,1): 0<br> ProjCenterLongGeoKey (Double,1): 142<br>
ProjCenterLatGeoKey (Double,1): 30<br> End_Of_Keys.<br> End_Of_Geotiff.<br><br>Projection Method: CT_Equirectangular<br> ProjCenterLatGeoKey: 30.000000 ( 30d 0' 0.00"N)<br> ProjCenterLongGeoKey: 142.000000 (142d 0' 0.00"E)<br>
ProjFalseEastingGeoKey: 0.000000 m<br> ProjFalseNorthingGeoKey: 0.000000 m<br>GCS: 4326/WGS 84<br>Datum: 6326/World Geodetic System 1984<br>Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)<br>Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)<br>
<br>Corner Coordinates:<br>Upper Left ( -180.000, 73.000) (141d59'53.28"E, 0d 0' 2.36"N)<br>Lower Left ( -180.000, -73.022) (141d59'53.28"E, 0d 0' 2.36"S)<br>Upper Right ( 179.978, 73.000) (142d 0' 6.72"E, 0d 0' 2.36"N)<br>
Lower Right ( 179.978, -73.022) (142d 0' 6.72"E, 0d 0' 2.36"S)<br>Center ( -0.011, -0.011) (141d60' 0.00"E, 0d 0' 0.00"S)</i><br>