Skip to content

Commit

Permalink
[2.2.x] Fixed #25633 -- Updated macOS Spatialite installation instruc…
Browse files Browse the repository at this point in the history
…tions.

Updated the Spatialite installation instruction to refer to the latest
available version from KyngChaos, as Gaia-SINS does not provide MacOS
binaries anymore.
Backport of ccb7f7c from master
  • Loading branch information
dhepper authored and carltongibson committed May 17, 2019
1 parent 85b6984 commit 0aca34f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/ref/contrib/gis/install/spatialite.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,20 @@ First, follow the instructions in the :ref:`kyngchaos` section.

When creating a SpatiaLite database, the ``spatialite`` program is required.
However, instead of attempting to compile the SpatiaLite tools from source,
download the `SpatiaLite Binaries`__ for macOS, and install ``spatialite`` in a
location available in your ``PATH``. For example::
download the `SpatiaLite Tools`__ package for macOS, and install ``spatialite``
in a location available in your ``PATH``. For example::

$ curl -O https://www.gaia-gis.it/spatialite/spatialite-tools-osx-x86-2.3.1.tar.gz
$ tar xzf spatialite-tools-osx-x86-2.3.1.tar.gz
$ cd spatialite-tools-osx-x86-2.3.1/bin
$ curl -O https://www.kyngchaos.com/files/software/frameworks/Spatialite_Tools-4.3.zip
$ unzip Spatialite_Tools-4.3.zip
$ cd Spatialite\ Tools/tools
$ sudo cp spatialite /Library/Frameworks/SQLite3.framework/Programs

Finally, for GeoDjango to be able to find the KyngChaos SpatiaLite library,
add the following to your ``settings.py``::

SPATIALITE_LIBRARY_PATH='/Library/Frameworks/SQLite3.framework/SQLite3'

__ https://www.gaia-gis.it/spatialite-2.3.1/binaries.html
__ https://www.kyngchaos.com/software/frameworks/

Homebrew
--------
Expand Down

0 comments on commit 0aca34f

Please sign in to comment.