<br><div class="gmail_quote"><br>Hi all,<br><br>I'm new to gdal tools.<br><br>I'm trying to transform a JPEG world image to GeoTiff.<br><br>My jpeg world map image is cropped to fit on -180.0, -59.1, 180, 90 (minx, miny, maxx, maxy - EPSG:4326).<br>
<br>Here are the steps:<br><br>% gdal_translate -of GTiff -a_srs EPSG:4326 -co "TILED=YES" -co "JPEG_QUALITY=100" worldmap_hires2.jpg worldmap2.tif<br>Input file size is 15000, 6225<br>0...10...20...30...40...50...60...70...80...90...100 - done.<br>
% sudo gdalinfo worldmap2.tif<br>Driver: GTiff/GeoTIFF<br>Files: worldmap2.tif<br>Size is 15000, 6225<br>Coordinate System is:<br>GEOGCS["WGS 84",<br> DATUM["WGS_1984",<br> SPHEROID["WGS 84",6378137,298.2572235629972,<br>
AUTHORITY["EPSG","7030"]],<br> AUTHORITY["EPSG","6326"]],<br> PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433],<br> AUTHORITY["EPSG","4326"]]<br>
Origin = (-180.017964071749986,59.117964071850004)<br>Pixel Size = (0.035928143500000,-0.035928143700000)<br>Metadata:<br> AREA_OR_POINT=Area<br>Image Structure Metadata:<br> INTERLEAVE=PIXEL<br>Corner Coordinates:<br>
Upper Left (-180.0179641, 59.1179641) (180d 1'4.67"W, 59d 7'4.67"N)<br>
Lower Left ( -180.018, -164.535) (180d 1'4.67"W,164d32'5.03"S)<br>Upper Right ( 358.904, 59.118) (358d54'15.08"E, 59d 7'4.67"N)<br>Lower Right ( 358.904, -164.535) (358d54'15.08"E,164d32'5.03"S)<br>
Center ( 89.4431122, -52.7083832) ( 89d26'35.20"E, 52d42'30.18"S)<br>Band 1 Block=256x256 Type=Byte, ColorInterp=Red<br>Band 2 Block=256x256 Type=Byte, ColorInterp=Green<br>Band 3 Block=256x256 Type=Byte, ColorInterp=Blue<br>
<br>Corners are not what i want. I would like to obtain -180.0, -59.1, 180, 90 (minx, miny, maxx, maxy).<br><br>I'm using ubuntu 9.10 and the package gdal-bin 1.6.3-1<br><br>It there any problem with my image? What should I do?<br>
<br>Thanks in advance,<br><font color="#888888">Marco<br>
</font></div><br><br clear="all"><br>-- <br>_______________________________________<br>Search the future inside of your mind!<br>