mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.11.x] Updated postgis.net and gaia-gis.it links to https.
Backport of 5bd7ffc313 from master
This commit is contained in:
@@ -49,8 +49,8 @@ totally fine with GeoDjango. Your mileage may vary.
|
||||
required -- just import them as normal from :mod:`django.contrib.gis`.
|
||||
|
||||
.. _PROJ.4: https://github.com/OSGeo/proj.4/wiki/
|
||||
__ http://postgis.net/
|
||||
__ http://www.gaia-gis.it/gaia-sins/
|
||||
__ https://postgis.net/
|
||||
__ https://www.gaia-gis.it/gaia-sins/
|
||||
|
||||
|
||||
On Debian/Ubuntu, you are advised to install the following packages which will
|
||||
|
||||
@@ -16,10 +16,10 @@ python-psycopg2 (x.x matching the PostgreSQL version you want to install).
|
||||
Alternately, you can `build from source`_. Consult the platform-specific
|
||||
instructions if you are on :ref:`macosx` or :ref:`windows`.
|
||||
|
||||
.. _PostGIS: http://postgis.net/
|
||||
.. _PostGIS: https://postgis.net/
|
||||
.. _psycopg2: http://initd.org/psycopg/
|
||||
.. _PostGIS requirements: http://postgis.net/docs/postgis_installation.html#install_requirements
|
||||
.. _build from source: http://postgis.net/docs/postgis_installation.html#install_short_version
|
||||
.. _PostGIS requirements: https://postgis.net/docs/postgis_installation.html#install_requirements
|
||||
.. _build from source: https://postgis.net/docs/postgis_installation.html#install_short_version
|
||||
|
||||
Post-installation
|
||||
=================
|
||||
@@ -55,7 +55,7 @@ If you plan to use those features at some point, you can also install the
|
||||
``postgis_topology`` extension by issuing ``CREATE EXTENSION
|
||||
postgis_topology;``.
|
||||
|
||||
__ http://postgis.net/docs/Topology.html
|
||||
__ https://postgis.net/docs/Topology.html
|
||||
|
||||
Managing the database
|
||||
---------------------
|
||||
|
||||
@@ -19,7 +19,7 @@ In any case, you should always be able to :ref:`install from source
|
||||
<spatialite_source>`.
|
||||
|
||||
__ https://www.gaia-gis.it/fossil/libspatialite
|
||||
__ http://www.gaia-gis.it/gaia-sins/
|
||||
__ https://www.gaia-gis.it/gaia-sins/
|
||||
|
||||
.. _spatialite_source:
|
||||
|
||||
@@ -72,7 +72,7 @@ SpatiaLite library (``libspatialite``)
|
||||
Get the latest SpatiaLite library source bundle from the
|
||||
`download page`__::
|
||||
|
||||
$ wget http://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-4.1.0.tar.gz
|
||||
$ tar xaf libspatialite-4.1.0.tar.gz
|
||||
$ cd libspatialite-4.1.0
|
||||
$ ./configure
|
||||
@@ -86,7 +86,7 @@ Get the latest SpatiaLite library source bundle from the
|
||||
|
||||
$ ./configure --target=macosx
|
||||
|
||||
__ http://www.gaia-gis.it/gaia-sins/libspatialite-sources/
|
||||
__ https://www.gaia-gis.it/gaia-sins/libspatialite-sources/
|
||||
|
||||
.. _spatialite_macosx:
|
||||
|
||||
@@ -106,7 +106,7 @@ However, instead of attempting to compile the SpatiaLite tools from source,
|
||||
download the `SpatiaLite Binaries`__ for OS X, and install ``spatialite`` in a
|
||||
location available in your ``PATH``. For example::
|
||||
|
||||
$ curl -O http://www.gaia-gis.it/spatialite/spatialite-tools-osx-x86-2.3.1.tar.gz
|
||||
$ 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
|
||||
$ sudo cp spatialite /Library/Frameworks/SQLite3.framework/Programs
|
||||
@@ -116,7 +116,7 @@ add the following to your ``settings.py``::
|
||||
|
||||
SPATIALITE_LIBRARY_PATH='/Library/Frameworks/SQLite3.framework/SQLite3'
|
||||
|
||||
__ http://www.gaia-gis.it/spatialite-2.3.1/binaries.html
|
||||
__ https://www.gaia-gis.it/spatialite-2.3.1/binaries.html
|
||||
|
||||
Homebrew
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user