Code

Changes between Version 25 and Version 26 of GeoDjangoInstall


Ignore:
Timestamp:
12/08/07 19:29:38 (7 years ago)
Author:
jbronn
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoInstall

    v25 v26  
    5252# make install 
    5353}}} 
     54 * '''Note:''' The path to the GEOS library may be manually specified by setting `GEOS_LIBRARY_PATH` in your settings with the full path to the GEOS library (e.g., the `.so` or `.dylib` file). 
    5455 
    5556=== PROJ.4 === 
     
    9899ogr2ogr -t_srs WGS84 output.shp input.shp 
    99100}}} 
    100  * Latest [http://www.gdal.org/download.html GDAL] version is 1.4.2.  Configure with GEOS then make (use {{{gmake}}} on Solaris platforms) and install: 
     101 * Latest [http://trac.osgeo.org/gdal/wiki/DownloadSource GDAL] version is 1.4.2.  Configure with GEOS then make (use {{{gmake}}} on Solaris platforms) and install: 
    101102{{{ 
    102103$ ./configure --with-geos 
     
    104105# make install 
    105106}}} 
    106  * As of r5397 there's a `ctypes` layer for GDAL/OGR, no additional Python bindings are needed.   
    107  * If you still want to use the GDAL Python API for your own applications, then the following configuration flags: 
     107 * '''Note:''' The path to the GDAL library may be manually specified by setting `GDAL_LIBRARY_PATH` in your settings with the full path to the GDAL library (e.g., the `.so` or `.dylib` file). 
     108 * !GeoDjango uses a native `ctypes` API to access OGR and OSR capabilities, there is no need configure the GDAL Python bindings.  If you still want to use the GDAL Python API for your own applications, then use the following configuration flags: 
    108109   * `--with-python` `--without-ngpython`: the deprecated, but stable API. 
    109110   * `--without-python` `--with-ngpython`: the "next-generation" SWIG-based bindings -- used to problematic for Python 2.5 users, but the GDAL team has solved a lot of these issues in 1.4.2. 
     
    162163After 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`). 
    163164 
     165'''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. 
     166 
    164167=== GDAL/OGR === 
    165168 
     
    168171 
    169172A 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. 
     173 
     174'''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. 
    170175 
    171176== Oracle ==