[Gdal-dev] gdal_translate Basic Usage / UTM to latlong

John R. johnr at wowway.com
Wed Jul 11 18:53:31 EDT 2007


GDAL 1.4.2.0.

I have a map from Wisconsin DOT (USA).  gdalinfo indicates this:

Driver: GTiff/GeoTIFF
Size is 10750, 8488
Coordinate System is `'
Origin = (659653.722794383182190,352632.358040164515842)
Pixel Size = (0.329187501713504,-0.329168110366799)
Metadata:
   TIFFTAG_XRESOLUTION=1200
   TIFFTAG_YRESOLUTION=1200
   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Corner Coordinates:
Upper Left  (  659653.723,  352632.358)
Lower Left  (  659653.723,  349838.379)
Upper Right (  663192.488,  352632.358)
Lower Right (  663192.488,  349838.379)
Center      (  661423.106,  351235.369)
Band 1 Block=10750x8 Type=Byte, ColorInterp=Red
Band 2 Block=10750x8 Type=Byte, ColorInterp=Green
Band 3 Block=10750x8 Type=Byte, ColorInterp=Blue

Provider indicates it is in a UTM coordinate system using NAD83.

I have tried many invocations of gdal_translate.  I started with 
variations on this:

gdal_translate -a_srs EPSG:2860 <src> <dst>

This adds the request coordinate system.  This map is from Wisconsin 
South.  Key gdalinfo output:

Center      (  661423.106,  351235.369) ( 89d11'34.92"W, 46d59'25.93"N)

In the approximate center of the map, I am expecting Center lat/long 
closer to this (approximate):

  West 87°, 59.477 Minutes;  North 43°, 48.340 Minutes;


I won't detail out all the variations as it may be clear to others what 
I am doing wrong.  I can provide them if needed.

What am I missing?

Thanks,

John



More information about the Gdal-dev mailing list