Changes between Version 43 and Version 44 of GeoDjangoInstall


Ignore:
Timestamp:
08/16/08 12:34:56 (7 years ago)
Author:
springmeyer
Comment:

Edited install notes up to PostGIS step, adding tips and tweaking formatting

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoInstall

    v43 v44  
    22= !GeoDjango Installation =
    33
    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
     9This 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:
    510 * Linux
    611   * Debian Woody (2.4 Kernel)
     
    2631   * ''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.
    2732 * '''PostgreSQL'''
    28    * ''Recommended:'' PostgreSQL 8.x.  If installing binary packages, please install the development package as well for headers required in PostGIS compilation.
     33   * ''Recommended:'' PostgreSQL 8.x.  If installing binary packages, please install the development package as well for headers '''required''' in PostGIS compilation.
    2934   * 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 required for 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).
    3136     * On Debian etch install the `libpq-dev` package, which includes the `pg_config` executable (also required for PostGIS compilation).
    3237 * '''psycopg2'''
     
    5964
    6065'''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
    6171
    6272=== PROJ.4 ===
     
    8393 * ''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].
    8494
    85 Finally, configure, make and install:
    86 {{{
     95Finally, configure, make and install PROJ.4 within the proj-4.6.0 directory:
     96{{{
     97$ cd ../
    8798$ ./configure
    8899$ make
     
    93104 * ''Required'':  PostGIS v1.2.1 and above.
    94105 * ''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
     108For source install first download PostGIS, and untar the archive:
    97109{{{
    98110$ wget http://postgis.refractions.net/download/postgis-1.3.3.tar.gz
     
    101113}}}
    102114
    103 Run the `configure` script, `make`, and install.
     115Run the `configure` script, `make`, and install steps.
    104116{{{
    105117$ ./configure
Back to Top