[gdal-dev] Translating between UTM and Geographic
Henneke, Amanda M
amanda.m.henneke at boeing.com
Wed Sep 23 14:14:06 EDT 2009
I do get something different from you: -117 40.6527598726051 0
I'm using FWTools 2.3.0, so is there something I can do then to fix this problem since I didn't build my own libraries?
Amanda M. Henneke
IG/DB Tools - TSS Capability Center
When One tugs at a single thing in Nature, he finds it attached to the rest of the world. -John Muir
Please consider the environment before printing this e-mail.
From: Even Rouault [mailto:even.rouault at mines-paris.org]
Sent: Wednesday, September 23, 2009 1:05 PM
To: Henneke, Amanda M
Cc: Steve.Toutant at inspq.qc.ca; gdal-dev at lists.osgeo.org; gdal-dev-bounces at lists.osgeo.org
Subject: RE: [gdal-dev] Translating between UTM and Geographic
You didn't specify why you believe that the coordinates you get are not right.
Are you validating against another reference tool ? Could you give an example of input, the output you get and the output you expect.
Here's what I've tried with the gdaltransform utility (in latest FWTools 2.4.3 or with GDAL trunk):
Run : gdaltransform -s_srs EPSG:26711 -t_srs EPSG:4326 Enter and validate : 500000 4500000 I get : -117.000936113198 40.6526705145738 0
If you have built yourself Proj4 and you don't get the above results, a possibility might that you have not built it with support for datum shift grids.
See http://trac.osgeo.org/proj/ for more details.
More information about the gdal-dev