[Gdal-dev] From mercator to spherical/ellipsoide projection

Michele Sturma michele.sturma at tellus.it
Mon Jul 31 03:08:32 EDT 2006


Hi,

I have a jpg in mercator projection, 400 pixel x 400 pixel.
I used  gdaltranslate to create a tif. Now if I launch gdalinfo i find 
this information about my TIF

C:\Programmi\FWTools1.0.5\bin>gdalinfo michele.tif
Driver: GTiff/GeoTIFF
Size is 464, 324
Coordinate System is `'
Origin = (-23.730469,64.997939)
Pixel Size = (0.15166271,-0.15166271)
Corner Coordinates:
Upper Left  ( -23.7304688,  64.9979392)
Lower Left  ( -23.7304688,  15.8592207)
Upper Right (  46.6410293,  64.9979392)
Lower Right (  46.6410293,  15.8592207)
Center      (  11.4552803,  40.4285800)
Band 1 Block=464x17 Type=Byte, ColorInterp=Red
Band 2 Block=464x17 Type=Byte, ColorInterp=Green
Band 3 Block=464x17 Type=Byte, ColorInterp=Blue

Upper and lower corners are right, but the center not. I don't know how 
to tell to gdaltranslate that my source is in mercator projection.

I want also to know how can I convert this image in spherical/ellipsoide 
projection.

Thanks!
Michele Sturma




More information about the Gdal-dev mailing list