[Fwd: Re: [gdal-dev] GDAL Python bindings: coordinate transformation does not work]

Klaus Noekel Klaus.Noekel at gmx.de
Tue Oct 6 15:45:58 EDT 2009


A further test revealed that the PROJ.4 DLL was missing on my system. 
After downloading the current version included in OSGeo4W, and putting 
it in the gdalwin32-1.6\bin directory, I now get the correct results.

Thanks a lot, Howard!

Klaus

-------- Original-Nachricht --------
Betreff: Re: [gdal-dev] GDAL Python bindings: coordinate transformation 
does not work
Datum: Thu, 8 Oct 2009 14:11:03 -0500
Von: Howard Butler <hobu.inc at gmail.com>
An: Klaus Noekel <Klaus.Noekel at gmx.de>
CC: gdal-dev at lists.osgeo.org
Referenzen: <4ACB9629.50806 at gmx.de>


On Oct 6, 2009, at 2:10 PM, Klaus Noekel wrote:

>
> Hi,
>
> I have just installed GDAL 1.6.1.win32-py2.6 on a Win XP system and  
> set
> up the GDAL directory properly (bin directory in PATH, env variable
> points to data).
> Scripts for coordinate transformation like that below do not crash,  
> but
> just seem not to do anything, i.e. the data remain unchanged instead  
> of
> being reprojected. Can anybody tell me what I am doing wrong?
>
> The output is
> POINT( 776041.000  3386618.000)
> POINT (776041 3386618)
> where I had expected lat/long instead for point.
>
> Thanks a lot!
> Klaus

Klaus,

I get the following for output on my OSX box:

> POINT( 776041.000  3386618.000)
> POINT (-84.121611219545073 30.5802861582041)
>

I suspect the TransformTo is failing because the GDAL_DATA are not
being found.

Howard



More information about the gdal-dev mailing list