[gdal-dev] Translating between UTM and Geographic

Craig Miller craig.miller at spatialminds.com
Wed Sep 23 14:18:14 EDT 2009


I looked at Amanda's files.  It looks like it is getting reprojected from
UTM to Geographic, but that the datum isn't getting transformed from NAD27
to WGS84.  I suggested she verify her PROJ environment variables/NAD data
files.

Craig


> -----Original Message-----
> From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-
> bounces at lists.osgeo.org] On Behalf Of Henneke, Amanda M
> Sent: Wednesday, September 23, 2009 11:14 AM
> To: Even Rouault
> 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
> 
> Even-
> 
> Thanks!
> 
> 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?
> 
> Thanks,
> Amanda
> 
> 
> 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.
> 
> -----Original Message-----
> 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
> 
> Amanda,
> 
> 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.
> 
> Best regards,
> 
> Even
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list