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

Howard Butler hobu.inc at gmail.com
Thu Oct 8 15:11:03 EDT 2009


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