OSGeo4W should have a suitable proj.dll

Please reply to the list so others may benefit from the exchange.

Howard

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

Hi Howard,

thanks for checking this so quickly. It still fails on my PC, and the env variable definitely point to the correct location.

However, running in a DOS box I now see the error message
ERROR 6: Unable to load PROJ.4 library (proj.dll), creation of
OGRCoordinateTransformation failed.

Is there another dependency that I was not aware of? Where would I find a matching PROJ.4 and where do I put it?

Cheers,
Klaus

Howard Butler schrieb:
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


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to