Hi gdal folks,<br><br>Well i have been experiencing some problems with gdalwarp. I downloaded some imagery in jpg format. After i converted it to tif and no problem happened. These images are in Lisboa Hayford Gauss IgeoE projection and i need to reproject them to WGS84. Here are the gdalinfo from both files:
<br><br>- before warping:<br><br>Driver: GTiff/GeoTIFF<br>Files: 41.tif<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 41.aux<br>Size is 640, 480<br>Coordinate System is:<br>PROJCS[&quot;Lisboa_Hayford_Gauss_IGeoE&quot;,<br>&nbsp;&nbsp;&nbsp; GEOGCS[&quot;GCS_Datum_Lisboa_Hayford&quot;,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATUM[&quot;unknown&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID[&quot;unnamed&quot;,6378388,297.0000000000014]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PRIMEM[&quot;Greenwich&quot;,0],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNIT[&quot;degree&quot;,0.0174532925199433]],<br>&nbsp;&nbsp;&nbsp; PROJECTION[&quot;Transverse_Mercator&quot;],
<br>&nbsp;&nbsp;&nbsp; PARAMETER[&quot;latitude_of_origin&quot;,39.66666666666666],<br>&nbsp;&nbsp;&nbsp; PARAMETER[&quot;central_meridian&quot;,-8.131906111111112],<br>&nbsp;&nbsp;&nbsp; PARAMETER[&quot;scale_factor&quot;,1],<br>&nbsp;&nbsp;&nbsp; PARAMETER[&quot;false_easting&quot;,200000],
<br>&nbsp;&nbsp;&nbsp; PARAMETER[&quot;false_northing&quot;,300000],<br>&nbsp;&nbsp;&nbsp; UNIT[&quot;metre&quot;,1,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;9001&quot;]]]<br>Origin = (173002.500000000000000,282780.500000000000000)<br>Pixel Size = (
1.000000000000000,-1.000000000000000)<br>Metadata:<br>&nbsp; AREA_OR_POINT=Area<br>Corner Coordinates:<br>Upper Left&nbsp; (&nbsp; 173002.500,&nbsp; 282780.500) (&nbsp; 8d26&#39;44.94&quot;W, 39d30&#39;40.15&quot;N)<br>Lower Left&nbsp; (&nbsp; 173002.500,&nbsp; 
282300.500) (&nbsp; 8d26&#39;44.87&quot;W, 39d30&#39;24.59&quot;N)<br>Upper Right (&nbsp; 173642.500,&nbsp; 282780.500) (&nbsp; 8d26&#39;18.15&quot;W, 39d30&#39;40.23&quot;N)<br>Lower Right (&nbsp; 173642.500,&nbsp; 282300.500) (&nbsp; 8d26&#39;18.08&quot;W, 39d30&#39;
24.66&quot;N)<br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 173322.500,&nbsp; 282540.500) (&nbsp; 8d26&#39;31.51&quot;W, 39d30&#39;32.41&quot;N)<br>Band 1 Block=640x12 Type=Byte, ColorInterp=Red<br>Band 2 Block=640x12 Type=Byte, ColorInterp=Green<br>Band 3 Block=640x12 Type=Byte, ColorInterp=Blue
<br><br><br>- after warping<br><br>Driver: GTiff/GeoTIFF<br>Files: 42.tif<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 42.aux<br>Size is 693, 403<br>Coordinate System is:<br>GEOGCS[&quot;WGS 84&quot;,<br>&nbsp;&nbsp;&nbsp; DATUM[&quot;WGS_1984&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID[&quot;WGS 84&quot;,6378137,
298.2572235630016,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br>&nbsp;&nbsp;&nbsp; PRIMEM[&quot;Greenwich&quot;,0],<br>&nbsp;&nbsp;&nbsp; UNIT[&quot;degree&quot;,0.0174532925199433
],<br>&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<br>Origin = (-8.445817277772575,39.510366486891535)<br>Pixel Size = (0.000010765710851,-0.000010765710851)<br>Metadata:<br>&nbsp; AREA_OR_POINT=Area<br>Corner Coordinates:
<br>Upper Left&nbsp; (&nbsp; -8.4458173,&nbsp; 39.5103665) (&nbsp; 8d26&#39;44.94&quot;W, 39d30&#39;37.32&quot;N)<br>Lower Left&nbsp; (&nbsp; -8.4458173,&nbsp; 39.5060279) (&nbsp; 8d26&#39;44.94&quot;W, 39d30&#39;21.70&quot;N)<br>Upper Right (&nbsp; -8.4383566,&nbsp; 39.5103665
) (&nbsp; 8d26&#39;18.08&quot;W, 39d30&#39;37.32&quot;N)<br>Lower Right (&nbsp; -8.4383566,&nbsp; 39.5060279) (&nbsp; 8d26&#39;18.08&quot;W, 39d30&#39;21.70&quot;N)<br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; -8.4420870,&nbsp; 39.5081972) (&nbsp; 8d26&#39;31.51&quot;W, 39d30&#39;
29.51&quot;N)<br>Band 1 Block=693x11 Type=Byte, ColorInterp=Red<br>Band 2 Block=693x11 Type=Byte, ColorInterp=Green<br>Band 3 Block=693x11 Type=Byte, ColorInterp=Blue<br><br>As you see, there is some shift with the WGS84 projection.
<br>Could somebody help me on this?<br>Thanks,<br><br>Hugo<br>