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

2010-01-30 Thread Jean-Claude REPETTO
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" wor

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

2010-01-14 Thread Chaitanya kumar CH
Marco, Check out the '-srcwin' and '-projwin' options in http://www.gdal.org/gdal_translate.html On Thu, Jan 14, 2010 at 10:12 PM, Marco Afonso wrote: > Hmm... I think I did more than just crop... I will check original images. > > Anyway... can i change the corners of this jpeg? > > After that,

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

2010-01-14 Thread Chaitanya kumar CH
Marco, You mentioned that you cropped the original image. I guess you left the meta-data containing the projection info intact. See if you get the correct locations on the map with the original uncropped image. Better yet, check the original image using the '-projwin' option in gdal_translate. On

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

2010-01-14 Thread Chaitanya kumar CH
Marco, Please provide the gdalinfo of the source image. On Thu, Jan 14, 2010 at 4:34 PM, Marco Afonso wrote: > > Hi all, > > I'm new to gdal tools. > > 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, m

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

2010-01-14 Thread Marco Afonso
Hi all, I'm new to gdal tools. 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"

[gdal-dev] gdal_translate JPEG to GeoTiff

2010-01-12 Thread Marco Afonso
Hi all, I'm new to gdal tools. 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"