|
@@ -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``)
|
|
|
directly from Python using ctypes.
|
|
|
|
|
|
-First, download GEOS 3.4.2 from the GEOS website and untar the source
|
|
|
-archive::
|
|
|
+First, download GEOS from the GEOS website and untar the source archive::
|
|
|
|
|
|
- $ wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2
|
|
|
- $ tar xjf geos-3.4.2.tar.bz2
|
|
|
+ $ wget http://download.osgeo.org/geos/geos-X.Y.Z.tar.bz2
|
|
|
+ $ tar xjf geos-X.Y.Z.tar.bz2
|
|
|
|
|
|
Next, change into the directory where GEOS was unpacked, run the configure
|
|
|
script, compile, and install::
|
|
|
|
|
|
- $ cd geos-3.4.2
|
|
|
+ $ cd geos-X.Y.Z
|
|
|
$ ./configure
|
|
|
$ make
|
|
|
$ sudo make install
|
|
@@ -158,15 +157,15 @@ reference systems.
|
|
|
|
|
|
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-datumgrid-1.5.tar.gz
|
|
|
+ $ wget http://download.osgeo.org/proj/proj-X.Y.Z.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
|
|
|
``nad`` subdirectory. This must be done *prior* to configuration::
|
|
|
|
|
|
- $ tar xzf proj-4.9.1.tar.gz
|
|
|
- $ cd proj-4.9.1/nad
|
|
|
- $ tar xzf ../../proj-datumgrid-1.5.tar.gz
|
|
|
+ $ tar xzf proj-X.Y.Z.tar.gz
|
|
|
+ $ cd proj-X.Y.Z/nad
|
|
|
+ $ tar xzf ../../proj-datumgrid-X.Y.tar.gz
|
|
|
$ cd ..
|
|
|
|
|
|
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::
|
|
|
|
|
|
- $ wget http://download.osgeo.org/gdal/1.11.2/gdal-1.11.2.tar.gz
|
|
|
- $ tar xzf gdal-1.11.2.tar.gz
|
|
|
- $ cd gdal-1.11.2
|
|
|
+ $ wget http://download.osgeo.org/gdal/X.Y.Z/gdal-X.Y.Z.tar.gz
|
|
|
+ $ tar xzf gdal-X.Y.Z.tar.gz
|
|
|
+ $ cd gdal-X.Y.Z
|
|
|
|
|
|
Configure, make and install::
|
|
|
|