Code

Changes between Version 11 and Version 12 of GeoDjangoInstall


Ignore:
Timestamp:
09/24/07 16:11:14 (7 years ago)
Author:
tlp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoInstall

    v11 v12  
    158158The 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. 
    159159 
    160 [http://www.qgis.org/ Quantum GIS] (QGIS) provides a Windows installer, [http://download.qgis.org/qgis/ download] the Windows package (latest is 0.8.1), and install.  Once installed, copy the following DLLs from {{{C:\Program Files\Quantum GIS}}} to {{{C:\Python25}}}: {{{gdal14.dll}}}, {{{libgdal-1.dll}}}, and {{{proj.dll}}} (since GDAL libraries are linked to this specific PROJ library). 
     160 
     161A 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. 
     162 
     163 
     164== Installation Test == 
     165 
     166You can run these tests in order to see if the installation was successful. 
     167{{{ 
     168#!python 
     169>>> from django.contrib.gis.gdal import HAS_GDAL 
     170>>> print HAS_GDAL 
     171}}} 
     172 
     173{{{ 
     174#!python 
     175>>> from django.contrib.gis.tests import test_geos 
     176>>> test_geos.run() 
     177}}} 
     178 
     179 
     180 
     181 
     182 
     183 
     184 
     185