[gdal-dev] gdal_translate gif->gtiff conversion
izzybitsie at gmail.com
Mon Aug 22 14:23:18 EDT 2011
I am trying to convert a GIF image into a GeoTiff image.
Input GIF image information:
Projection: Polar Stereographic from North Pole, Cente meridian=97W,
Corners' Lower Left 19.9N 119.6W, Upper Right: 44.5N 59.5W
FWTools_2.0.6 commands used.
I used these commands to convert the map from GIF -> GeoTiff
# Convert lat/lon corner points to X/Y points
cs2cs +proj=latlon +to +proj=stere +lat_0=90 +lon_0=-97 -r <<EOF
# Following points created by previous command cs2cs
gdal_translate -of GTiff -co PROFILE=GeoTIFF -co INTERLEAVE=PIXEL -a_srs '
+proj=stere +lat_0=90 +lon_0=-97' -a_ullr $ulx $uly $lrx $lry $ifn $ofn
The GeoTiff image obtained can be viewed using Openev but the lat/lon
points don't look right(Used geodetic lat/lon preference to read lat/lon).
I was not able to view the image using Udig.
GIF map: http://dl.dropbox.com/u/31095936/my_image.gif
Q1: Could somebody let me know what I am doing wrong when creating the
geotiff with wrong lat/lon points?
Q2: Does anyone know why I am not able to see it using Udig?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev