[gdal-dev] gdal_translate JPEG to GeoTiff (help! no one answered...)

Jean-Claude REPETTO jrepetto at free.fr
Sat Jan 30 10:46:43 EST 2010


Marco Afonso a écrit :
> 
> I'm trying to transform a JPEG world image to GeoTiff.
> 
> My jpeg world map image is cropped to fit on -180.0, -59.1, 180, 90 
> (minx, miny, maxx, maxy - EPSG:4326).
> 
> Here are the steps:
> 
> % gdal_translate -of GTiff -a_srs EPSG:4326 -co "TILED=YES" -co 
> "JPEG_QUALITY=100" worldmap_hires2.jpg worldmap2.tif
> Input file size is 15000, 6225
> 0...10...20...30...40...50...60...70...80...90...100 - done.

> Corners are not what i want. I would like to obtain -180.0, -59.1, 180, 
> 90 (minx, miny, maxx, maxy).
> 

Hi Marco,

How did you enter the corner coordinates ? It does not appear in the 
command lines above.

Jean-Claude




More information about the gdal-dev mailing list