[gdal-dev] Getting GDAL to work with proj.4 on windows

viswaug viswaug at yahoo.com
Thu Apr 21 15:25:05 EDT 2011


Hi all,

I am trying to setup a windows for development with GDAL and PROJ.4 with
python bindings. I am running Python2.5 on the machine. 

I got the GDAL binaries from here
http://download.osgeo.org/gdal/win32/1.6/gdalwin32exe160.zip

and the GDAL python bindings from here
http://pypi.python.org/packages/2.5/G/GDAL/GDAL-1.6.0.win32-py2.5.exe#md5=1e0ff5c2da337a6ac9af3e5320aa3366

I also installed PROJ.4 binaries from here
http://download.osgeo.org/proj/proj446_win32_bin.zip

I also installed the pyproj bindings from here
http://code.google.com/p/pyproj/downloads/detail?name=pyproj-1.8.8-1.win32-py2.5.exe&can=2&q=

I am trying not to mess with the environment variables and system variables
on the machine. So, I copied the GDAL binaries into the 'osgeo' folder of
the python site-pacakge. This seemed to do the trick and I was able to fire
up my python interpreter and work with GDAL. I also copied the proj.dll from
the PROJ.4 binaries and copied it to the osgeo folder. But I am not able to
transform coordinates in GDAL. When I try to transform coordinates, I end up
with the error

"unable to load proj.4 library (proj.dll), creation of
OGRCoordinateTransformation failed"

Any thoughts/ideas on what I am doing wrong here? Any help with this issue
would be greatly appreciated.

Thank You,
Vish

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Getting-GDAL-to-work-with-proj-4-on-windows-tp6295300p6295300.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list