Changes between Version 29 and Version 30 of GeoDjangoInstall


Ignore:
Timestamp:
Jan 4, 2008, 12:43:16 AM (17 years ago)
Author:
jbronn
Comment:

Updated Windows installation instructions for GDAL and PROJ.

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoInstall

    v29 v30  
    164164Still a work in progress -- but it's a start for closing #4397.
    165165
    166 '''Note:'''  The installation for the GEOS and GDAL libaries is 'hackish' right now.   A sustainable long-term solution (''i.e.'' an installer) needs to be developed for these libraries. 
     166'''Note:'''  The installation for the GEOS and GDAL libaries is 'hackish' right now.   A sustainable long-term solution (i.e. an installer) needs to be developed for these libraries. 
    167167
    168168=== Introduction ===
     
    210210=== GEOS ===
    211211
    212 After PostGIS has installed, copy the GEOS (`libgeos-3-0-0rc4.dll`, `libgeos_c-1.dll`), and PROJ (`libproj.dll`) libraries from `C:\Program Files\PostgreSQL\8.2\bin` (or wherever you installed PostgreSQL) to a location accessible to the Python interpreter (e.g., `C:\Python25\DLLs`, or `C:\Python25`).
     212After PostGIS has installed, copy the GEOS (`libgeos-3-0-0rc4.dll`, `libgeos_c-1.dll`) libraries from `C:\Program Files\PostgreSQL\8.2\bin` (or wherever you installed PostgreSQL) to a location accessible to the Python interpreter (e.g., `C:\Python25`).
    213213
    214214'''Note:''' The path to the GEOS library may be manually specified by setting `GEOS_LIBRARY_PATH` in your settings with the full path of the DLL.
    215215
    216 === GDAL/OGR ===
    217 
    218 The premiere GDAL/OGR binary package for Windows is [http://fwtools.maptools.org/ FWTools], however, the libraries I downloaded (1.4.1 at the time) were missing functions needed for the library interface -- I need to investigate again to provide additional details.  This is the reason why QGIS is used to obtain compiled GDAL libraries for Windows.
    219 
    220 
    221 A snapshot (0.9.0 Preview-2) windows installer of [http://www.qgis.org/ Quantum GIS] (QGIS) can be obtained from [http://download.qgis.org/qgis/win32/qgis_setup0.9.0.01_09_2007.exe here]. Once installed, copy all the DLLs from `C:\Program Files\Quantum GIS` to `C:\Python25`: Do not overwrite any dlls that come from PostGIS.
    222 
    223 '''Note:''' The path to the GDAL library may be manually specified by setting `GDAL_LIBRARY_PATH` in your settings with the full path of the DLL.
     216=== PROJ.4 ===
     217
     218Download the [ftp://ftp.remotesensing.org/proj/proj446_win32_bin.zip PROJ 4.6.0] Windows binary distribution and extract to a location on your hard drive (for example `C:\PROJ`).  Copy the PROJ DLL, `proj.dll`, from your extraction location to `C:\Python25`.  Finally, create a Windows environment variable (see above for instructions) entitled `PROJ_LIB` and have it set to the `nad` subdirectory where you extracted the PROJ distribution (e.g., `C:\PROJ\nad`).
     219
     220=== GDAL ===
     221
     222Download the [http://download.osgeo.org/gdal/win32/1.5/gdalwin32exe150.zip GDAL 1.5] Windows binary distribution and extract to a location on your hard drive (for example `C:\gdalwin32-1.5`).  Copy ''all'' the DLLs from the `bin` subdirectory of the extraction location to `C:\Python25`.  Finally, create another Windows environment variable called `GDAL_DATA`, setting it to the `data` subdirectory where the GDAL distribution was extracted (e.g., `C:\gdalwin32-1.5\data`).
    224223
    225224== Oracle ==
Back to Top