Changes between Version 43 and Version 44 of GeoDjangoInstall
- Timestamp:
- Aug 16, 2008, 12:34:56 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjangoInstall
v43 v44 2 2 = !GeoDjango Installation = 3 3 4 Installation of !GeoDjango also requires the installation of existing open source geographic libraries and a spatial database -- currently only PostGIS, Oracle Spatial/Locator, and MySQL are supported. This section will describe the installation process for these prerequisites. !GeoDjango is best supported using PostGIS on Linux/UNIX platforms, but will also run on Windows (with a little more effort). The following platforms have been confirmed to work -- feel free to add to the list: 4 !GeoDjango requires the installation of several '''open source geographic libraries''' and a database system with '''spatial extensions''' 5 * Currently PostgreSQL (with PostGIS), MySQL, and Oracle (Spatial/Locator) are supported. 6 * PostgresSQL is the recommended database, having the most mature and feature-rich spatial functions and operators. 7 * Note: Several components of !GeoDjango '''can''' be used without a database (ie. [http://code.google.com/p/geodjango-basic-apps/wiki/GeoIPQuickStart The GeoIP utility]) 8 9 This section will describe the installation process for these prerequisites. !GeoDjango is best supported using PostgreSQL/PostGIS on Linux/UNIX platforms, but will also run on Windows (with a little more effort). The following platforms have been confirmed to work -- feel free to add to the list: 5 10 * Linux 6 11 * Debian Woody (2.4 Kernel) … … 26 31 * ''Recommended:'' Python 2.5 is recommended because the `ctypes` module comes included. [http://python.org/download/releases/2.5.2/ Python 2.5.2] is the current latest. 27 32 * '''PostgreSQL''' 28 * ''Recommended:'' PostgreSQL 8.x. If installing binary packages, please install the development package as well for headers requiredin PostGIS compilation.33 * ''Recommended:'' PostgreSQL 8.x. If installing binary packages, please install the development package as well for headers '''required''' in PostGIS compilation. 29 34 * We are currently developing using both v8.1-8.3 of PostgreSQL. 30 * On Ubuntu Feisty and Debian etch, install `postgresql-8.x` and `postgresql-server-dev-8.x` (the development package is requiredfor PostGIS compilation).35 * On Ubuntu Feisty and Debian etch, install `postgresql-8.x` and `postgresql-server-dev-8.x` (the development package is '''required''' for PostGIS compilation). 31 36 * On Debian etch install the `libpq-dev` package, which includes the `pg_config` executable (also required for PostGIS compilation). 32 37 * '''psycopg2''' … … 59 64 60 65 '''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). 66 * You should also confirm at this time (if running linux) that the GEOS lib dir, likely `/usr/local/lib` is within `/etc/ld.so.conf`, then run: 67 {{{ 68 $ ldconfig # then restart the PostgreSQL server 69 }}} 70 61 71 62 72 === PROJ.4 === … … 83 93 * ''See'' [http://www.remotesensing.org/proj/faq.html PROJ FAQ]; ''see also'' [http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0301/msg00541.html Frank Warmerdam's reply to a Mapserver question]. 84 94 85 Finally, configure, make and install: 86 {{{ 95 Finally, configure, make and install PROJ.4 within the proj-4.6.0 directory: 96 {{{ 97 $ cd ../ 87 98 $ ./configure 88 99 $ make … … 93 104 * ''Required'': PostGIS v1.2.1 and above. 94 105 * ''Recommended'': [http://postgis.refractions.net PostGIS] [http://postgis.refractions.net/download/postgis-1.3.3.tar.gz v1.3.3] (this is the current [http://postgis.refractions.net/news/20080412/ latest version]). 95 96 First, download PostGIS, and untar the archive: 106 * Mac and Windows binaries for PostGIS can also be found on the Refractions research [http://postgis.refractions.net/download/ download site.] 107 108 For source install first download PostGIS, and untar the archive: 97 109 {{{ 98 110 $ wget http://postgis.refractions.net/download/postgis-1.3.3.tar.gz … … 101 113 }}} 102 114 103 Run the `configure` script, `make`, and install .115 Run the `configure` script, `make`, and install steps. 104 116 {{{ 105 117 $ ./configure