I think you need to setup the environmental variable:<br>PROJ_LIB=$FWTOOLS_HOME/share/proj<br><br>--Nikos Hatzopoulos<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 12:25 PM, viswaug <span dir="ltr">&lt;<a href="mailto:viswaug@yahoo.com">viswaug@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
I am trying to setup a windows for development with GDAL and PROJ.4 with<br>
python bindings. I am running Python2.5 on the machine.<br>
<br>
I got the GDAL binaries from here<br>
<a href="http://download.osgeo.org/gdal/win32/1.6/gdalwin32exe160.zip" target="_blank">http://download.osgeo.org/gdal/win32/1.6/gdalwin32exe160.zip</a><br>
<br>
and the GDAL python bindings from here<br>
<a href="http://pypi.python.org/packages/2.5/G/GDAL/GDAL-1.6.0.win32-py2.5.exe#md5=1e0ff5c2da337a6ac9af3e5320aa3366" target="_blank">http://pypi.python.org/packages/2.5/G/GDAL/GDAL-1.6.0.win32-py2.5.exe#md5=1e0ff5c2da337a6ac9af3e5320aa3366</a><br>

<br>
I also installed PROJ.4 binaries from here<br>
<a href="http://download.osgeo.org/proj/proj446_win32_bin.zip" target="_blank">http://download.osgeo.org/proj/proj446_win32_bin.zip</a><br>
<br>
I also installed the pyproj bindings from here<br>
<a href="http://code.google.com/p/pyproj/downloads/detail?name=pyproj-1.8.8-1.win32-py2.5.exe&amp;can=2&amp;q=" target="_blank">http://code.google.com/p/pyproj/downloads/detail?name=pyproj-1.8.8-1.win32-py2.5.exe&amp;can=2&amp;q=</a><br>

<br>
I am trying not to mess with the environment variables and system variables<br>
on the machine. So, I copied the GDAL binaries into the &#39;osgeo&#39; folder of<br>
the python site-pacakge. This seemed to do the trick and I was able to fire<br>
up my python interpreter and work with GDAL. I also copied the proj.dll from<br>
the PROJ.4 binaries and copied it to the osgeo folder. But I am not able to<br>
transform coordinates in GDAL. When I try to transform coordinates, I end up<br>
with the error<br>
<br>
&quot;unable to load proj.4 library (proj.dll), creation of<br>
OGRCoordinateTransformation failed&quot;<br>
<br>
Any thoughts/ideas on what I am doing wrong here? Any help with this issue<br>
would be greatly appreciated.<br>
<br>
Thank You,<br>
Vish<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Getting-GDAL-to-work-with-proj-4-on-windows-tp6295300p6295300.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Getting-GDAL-to-work-with-proj-4-on-windows-tp6295300p6295300.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br>