Updated GIS install instructions to use placeholders for GIS library versions.

This commit is contained in:
Brylie Christopher Oxley 2018-06-12 22:22:05 +03:00 committed by Tim Graham
parent 4167959105
commit ae26e0ad2c
2 changed files with 18 additions and 19 deletions

View File

@ -97,16 +97,15 @@ internal geometry representation used by GeoDjango (it's behind the "lazy"
geometries). Specifically, the C API library is called (e.g., ``libgeos_c.so``) geometries). Specifically, the C API library is called (e.g., ``libgeos_c.so``)
directly from Python using ctypes. directly from Python using ctypes.
First, download GEOS 3.4.2 from the GEOS website and untar the source First, download GEOS from the GEOS website and untar the source archive::
archive::
$ wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2 $ wget http://download.osgeo.org/geos/geos-X.Y.Z.tar.bz2
$ tar xjf geos-3.4.2.tar.bz2 $ tar xjf geos-X.Y.Z.tar.bz2
Next, change into the directory where GEOS was unpacked, run the configure Next, change into the directory where GEOS was unpacked, run the configure
script, compile, and install:: script, compile, and install::
$ cd geos-3.4.2 $ cd geos-X.Y.Z
$ ./configure $ ./configure
$ make $ make
$ sudo make install $ sudo make install
@ -158,15 +157,15 @@ reference systems.
First, download the PROJ.4 source code and datum shifting files [#]_:: First, download the PROJ.4 source code and datum shifting files [#]_::
$ wget http://download.osgeo.org/proj/proj-4.9.1.tar.gz $ wget http://download.osgeo.org/proj/proj-X.Y.Z.tar.gz
$ wget http://download.osgeo.org/proj/proj-datumgrid-1.5.tar.gz $ wget http://download.osgeo.org/proj/proj-datumgrid-X.Y.tar.gz
Next, untar the source code archive, and extract the datum shifting files in the Next, untar the source code archive, and extract the datum shifting files in the
``nad`` subdirectory. This must be done *prior* to configuration:: ``nad`` subdirectory. This must be done *prior* to configuration::
$ tar xzf proj-4.9.1.tar.gz $ tar xzf proj-X.Y.Z.tar.gz
$ cd proj-4.9.1/nad $ cd proj-X.Y.Z/nad
$ tar xzf ../../proj-datumgrid-1.5.tar.gz $ tar xzf ../../proj-datumgrid-X.Y.tar.gz
$ cd .. $ cd ..
Finally, configure, make and install PROJ.4:: Finally, configure, make and install PROJ.4::
@ -188,9 +187,9 @@ supports :doc:`GDAL's vector data <../gdal>` capabilities [#]_.
First download the latest GDAL release version and untar the archive:: First download the latest GDAL release version and untar the archive::
$ wget http://download.osgeo.org/gdal/1.11.2/gdal-1.11.2.tar.gz $ wget http://download.osgeo.org/gdal/X.Y.Z/gdal-X.Y.Z.tar.gz
$ tar xzf gdal-1.11.2.tar.gz $ tar xzf gdal-X.Y.Z.tar.gz
$ cd gdal-1.11.2 $ cd gdal-X.Y.Z
Configure, make and install:: Configure, make and install::

View File

@ -43,9 +43,9 @@ just skip this section.
To install from sources, download the latest amalgamation source archive from To install from sources, download the latest amalgamation source archive from
the `SQLite download page`__, and extract:: the `SQLite download page`__, and extract::
$ wget https://sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz $ wget https://www.sqlite.org/YYYY/sqlite-amalgamation-XXX0000.zip
$ tar xzf sqlite-amalgamation-3.6.23.1.tar.gz $ unzip sqlite-amalgamation-XXX0000.zip
$ cd sqlite-3.6.23.1 $ cd sqlite-amalgamation-XXX0000
Next, run the ``configure`` script -- however the ``CFLAGS`` environment variable Next, run the ``configure`` script -- however the ``CFLAGS`` environment variable
needs to be customized so that SQLite knows to build the R*Tree module:: needs to be customized so that SQLite knows to build the R*Tree module::
@ -66,9 +66,9 @@ SpatiaLite library (``libspatialite``)
Get the latest SpatiaLite library source bundle from the Get the latest SpatiaLite library source bundle from the
`download page`__:: `download page`__::
$ wget https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.1.0.tar.gz $ wget https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-X.Y.Z.tar.gz
$ tar xaf libspatialite-4.1.0.tar.gz $ tar xaf libspatialite-X.Y.Z.tar.gz
$ cd libspatialite-4.1.0 $ cd libspatialite-X.Y.Z
$ ./configure $ ./configure
$ make $ make
$ sudo make install $ sudo make install