Changes between Version 25 and Version 26 of GeoDjangoInstall
- Timestamp:
- Dec 8, 2007, 9:29:38 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjangoInstall
v25 v26 52 52 # make install 53 53 }}} 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). 54 55 55 56 === PROJ.4 === … … 98 99 ogr2ogr -t_srs WGS84 output.shp input.shp 99 100 }}} 100 * Latest [http:// www.gdal.org/download.htmlGDAL] 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: 101 102 {{{ 102 103 $ ./configure --with-geos … … 104 105 # make install 105 106 }}} 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, thenthe 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: 108 109 * `--with-python` `--without-ngpython`: the deprecated, but stable API. 109 110 * `--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. … … 162 163 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`). 163 164 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 164 167 === GDAL/OGR === 165 168 … … 168 171 169 172 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. 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. 170 175 171 176 == Oracle ==