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
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,
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
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
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"
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"