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

Nikolaos Hatzopoulos nhatzop at gmail.com
Thu Apr 21 18:49:27 EDT 2011


I think you need to setup the environmental variable:
PROJ_LIB=$FWTOOLS_HOME/share/proj

--Nikos Hatzopoulos

On Thu, Apr 21, 2011 at 12:25 PM, viswaug <viswaug at yahoo.com> wrote:

> 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.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110421/09dc3ccf/attachment.html


More information about the gdal-dev mailing list