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> 41.aux<br>Size is 640, 480<br>Coordinate System is:<br>PROJCS["Lisboa_Hayford_Gauss_IGeoE",<br> GEOGCS["GCS_Datum_Lisboa_Hayford",
<br> DATUM["unknown",<br> SPHEROID["unnamed",6378388,297.0000000000014]],<br> PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433]],<br> PROJECTION["Transverse_Mercator"],
<br> PARAMETER["latitude_of_origin",39.66666666666666],<br> PARAMETER["central_meridian",-8.131906111111112],<br> PARAMETER["scale_factor",1],<br> PARAMETER["false_easting",200000],
<br> PARAMETER["false_northing",300000],<br> UNIT["metre",1,<br> AUTHORITY["EPSG","9001"]]]<br>Origin = (173002.500000000000000,282780.500000000000000)<br>Pixel Size = (
1.000000000000000,-1.000000000000000)<br>Metadata:<br> AREA_OR_POINT=Area<br>Corner Coordinates:<br>Upper Left ( 173002.500, 282780.500) ( 8d26'44.94"W, 39d30'40.15"N)<br>Lower Left ( 173002.500,
282300.500) ( 8d26'44.87"W, 39d30'24.59"N)<br>Upper Right ( 173642.500, 282780.500) ( 8d26'18.15"W, 39d30'40.23"N)<br>Lower Right ( 173642.500, 282300.500) ( 8d26'18.08"W, 39d30'
24.66"N)<br>Center ( 173322.500, 282540.500) ( 8d26'31.51"W, 39d30'32.41"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> 42.aux<br>Size is 693, 403<br>Coordinate System is:<br>GEOGCS["WGS 84",<br> DATUM["WGS_1984",<br> SPHEROID["WGS 84",6378137,
298.2572235630016,<br> AUTHORITY["EPSG","7030"]],<br> AUTHORITY["EPSG","6326"]],<br> PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433
],<br> AUTHORITY["EPSG","4326"]]<br>Origin = (-8.445817277772575,39.510366486891535)<br>Pixel Size = (0.000010765710851,-0.000010765710851)<br>Metadata:<br> AREA_OR_POINT=Area<br>Corner Coordinates:
<br>Upper Left ( -8.4458173, 39.5103665) ( 8d26'44.94"W, 39d30'37.32"N)<br>Lower Left ( -8.4458173, 39.5060279) ( 8d26'44.94"W, 39d30'21.70"N)<br>Upper Right ( -8.4383566, 39.5103665
) ( 8d26'18.08"W, 39d30'37.32"N)<br>Lower Right ( -8.4383566, 39.5060279) ( 8d26'18.08"W, 39d30'21.70"N)<br>Center ( -8.4420870, 39.5081972) ( 8d26'31.51"W, 39d30'
29.51"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>