Hello list !<br><br>I use the gdalwarp tool to change the projection of a GeoTiff file but the most of the metadata of the source file are lost, which is not the case with the gdal_translate tool.<br>Particularly, the following metadata are lost :<br>
  TIFFTAG_DOCUMENTNAME<br>  TIFFTAG_IMAGEDESCRIPTION<br>  TIFFTAG_SOFTWARE<br>  TIFFTAG_DATETIME<br>  TIFFTAG_ARTIST<br>  TIFFTAG_HOSTCOMPUTER<br><br>Do I miss something ?<br><br><br>The command :<br><br>gdalwarp -t_srs EPSG:4326 srcfile.tif outfile.tif<br>
<br><br>The gdalinfo output on the source file, followed by the gdalinfo output on the output file :<br><br>Driver: GTiff/GeoTIFF<br>Files: srcfile.tif<br>Size is 2500, 2500<br>Coordinate System is:<br>PROJCS[&quot;Geostationary_Satellite&quot;,<br>
    GEOGCS[&quot;GCS_unnamed ellipse&quot;,<br>        DATUM[&quot;D_unknown&quot;,<br>            SPHEROID[&quot;Unknown&quot;,6378160,298.2539162964669]],<br>        PRIMEM[&quot;Greenwich&quot;,0],<br>        UNIT[&quot;Degree&quot;,0.017453292519943295]],<br>
    PROJECTION[&quot;Geostationary_Satellite&quot;],<br>    PARAMETER[&quot;central_meridian&quot;,57],<br>    PARAMETER[&quot;satellite_height&quot;,35785846.6396],<br>    PARAMETER[&quot;false_easting&quot;,0],<br>    PARAMETER[&quot;false_northing&quot;,0],<br>
    UNIT[&quot;Meter&quot;,1]]<br>Origin = (-5620805.668447489850223,5620805.668447489850223)<br>Pixel Size = (4496.644534757992005,-4496.644534757992005)<br>Metadata:<br>  TIFFTAG_DOCUMENTNAME=documentname<br>  TIFFTAG_IMAGEDESCRIPTION=productidentification={<br>
        &quot;observedProperty&quot;:&quot;observedProperty&quot;,<br>        &quot;process&quot;:&quot;process&quot;,<br>}<br>  TIFFTAG_SOFTWARE=software<br>  TIFFTAG_DATETIME=2011:11:10 11:00:00<br>  TIFFTAG_ARTIST=artist<br>
  TIFFTAG_HOSTCOMPUTER=computer<br>  AREA_OR_POINT=Area<br>Image Structure Metadata:<br>  COMPRESSION=JPEG<br>  INTERLEAVE=BAND<br>Corner Coordinates:<br>ERROR 1: tolerance condition error<br>Upper Left  (-5620805.668, 5620805.668) <br>
ERROR 1: tolerance condition error<br>Lower Left  (-5620805.668,-5620805.668) <br>ERROR 1: tolerance condition error<br>Upper Right ( 5620805.668, 5620805.668) <br>ERROR 1: tolerance condition error<br>Lower Right ( 5620805.668,-5620805.668) <br>
Center      (   0.0000000,   0.0000000) ( 57d 0&#39;0.00&quot;E,  0d 0&#39;0.01&quot;N)<br>Band 1 Block=2500x1 Type=Byte, ColorInterp=Gray<br><br><br>The gdalinfo output on the output file :<br><br>Driver: GTiff/GeoTIFF<br>
Files: outfile.tif<br>Size is 1673, 1673<br>Coordinate System is:<br>GEOGCS[&quot;WGS 84&quot;,<br>    DATUM[&quot;WGS_1984&quot;,<br>        SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,<br>            AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br>
        AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br>    PRIMEM[&quot;Greenwich&quot;,0],<br>    UNIT[&quot;degree&quot;,0.0174532925199433],<br>    AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<br>Origin = (0.000000000000000,70.000000000000000)<br>
Pixel Size = (0.059772863120143,-0.059772863120143)<br>Metadata:<br>  AREA_OR_POINT=Area<br>Image Structure Metadata:<br>  INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left  (   0.0000000,  70.0000000) (  0d 0&#39;0.01&quot;E, 70d 0&#39;0.00&quot;N)<br>
Lower Left  (   0.0000000, -30.0000000) (  0d 0&#39;0.01&quot;E, 30d 0&#39;0.00&quot;S)<br>Upper Right ( 100.0000000,  70.0000000) (100d 0&#39;0.00&quot;E, 70d 0&#39;0.00&quot;N)<br>Lower Right ( 100.0000000, -30.0000000) (100d 0&#39;0.00&quot;E, 30d 0&#39;0.00&quot;S)<br>
Center      (  50.0000000,  20.0000000) ( 50d 0&#39;0.00&quot;E, 20d 0&#39;0.00&quot;N)<br>Band 1 Block=1673x4 Type=Byte, ColorInterp=Gray<br><br><style>
qtl {
        position: absolute;
        border: 1px solid #cccccc;
        -moz-border-radius: 5px;
        opacity: 0.2;
        line-height: 100%;
        z-index: 999;
        direction: ltr;
}

qtl:hover,qtl.open {
        opacity: 1;
}

qtl,qtlbar {
        height: 22px;
}

qtlbar {
        display: block;
        width: 100%;
        background-color: #cccccc;
        cursor: move;
}

qtlbar img {
        border: 0;
        padding: 3px;
        height: 16px;
        width: 16px;
        cursor: pointer;
}

qtlbar img:hover {
        background-color: #aaaaff;
}

qtl>iframe {
        border: 0;
        height: 0;
        width: 0;
}

qtl.open {
        height: auto;        
}

qtl.open>iframe {
        height: 200px;
        width: 300px;
}
</style>
        <img src="http://www.qtl.co.il/img/copy.png" title="Copy Selction"><a href="http://int.ask.com/web?siteid=10000861&amp;webqsrc=999&amp;l=dis&amp;q=dust%20RGB%20composite" title="Search With Ask" target="_blank"><img src="http://www.ask.com/favicon.ico"></a><img src="http://translate.google.com/favicon.ico" title="Translate With Google">