[Gdal-dev] 1.4 Windows Python build

Howard Butler hobu.inc at gmail.com
Sun Jul 8 17:15:24 EDT 2007


All,

I have placed a windows python build (using the old gen bindings) at  
<http://download.osgeo.org/gdal/win32/>.  Some special things about  
this build include:
- It takes care of setting GDAL_DATA and GDAL_DRIVER_PATH when  
gdal.py is imported (I think all of the modules end up importing  
gdal.py).
- The scripts, like gdal_merge.py are placed in the Python install's  
scripts directory (typically C:\python24\scripts) instead of in pymod  
or lib\site-packages

To use this build, you must have the GDAL binary on your path  
somewhere.  One option might be to copy the contents of .\bin into c: 
\python24\dlls so that you don't have to have things system-wide.   
The module includes its own copy of GDAL_DATA and places it in C: 
\python24\gdal\data, however.

Again, this is for Python 2.4 only.  You will likely have to have  
Numeric installed for Python 2.4 for it to be fully functional.   
Please let me know of any issues via Trac.

Howard




More information about the Gdal-dev mailing list