diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2015-10-30 14:01:23 +0500 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-10-30 10:07:30 +0100 |
| commit | 8b92839769e4cab69add65d5770f2904b457a9b6 (patch) | |
| tree | 14847aa230c037875a4308a6dd73de767664e35c /docs | |
| parent | 83607e2b7ad8e20a5ad4892b711f7a83aeea073e (diff) | |
[1.9.x] Fixed #25641 -- Removed section about adding Google projection to spatial_ref_sys table
Backport of 9ae8da0e3 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/install/index.txt | 25 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 4 |
2 files changed, 1 insertions, 28 deletions
diff --git a/docs/ref/contrib/gis/install/index.txt b/docs/ref/contrib/gis/install/index.txt index 0b8d809bd3..95f1f92d41 100644 --- a/docs/ref/contrib/gis/install/index.txt +++ b/docs/ref/contrib/gis/install/index.txt @@ -97,31 +97,6 @@ Like other Django contrib applications, you will *only* need to add This is the so that ``gis`` templates can be located -- if not done, then features such as the geographic admin or KML sitemaps will not function properly. -.. _addgoogleprojection: - -Add Google projection to ``spatial_ref_sys`` table --------------------------------------------------- - -.. note:: - - If you're running GDAL 1.7 or above (most users), you can skip this step. - -In order to conduct database transformations to the so-called "Google" -projection (a spherical mercator projection used by Google Maps), -an entry must be added to your spatial database's ``spatial_ref_sys`` table. -Invoke the Django shell from your project and execute the -``add_srs_entry`` function: - -.. code-block:: pycon - - $ python manage.py shell - >>> from django.contrib.gis.utils import add_srs_entry - >>> add_srs_entry(900913) - -This adds an entry for the 900913 SRID to the ``spatial_ref_sys`` (or equivalent) -table, making it possible for the spatial database to transform coordinates in -this projection. You only need to execute this command *once* per spatial database. - Troubleshooting =============== diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index bf2bc28d9b..215e8cc785 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -755,9 +755,7 @@ available with the :class:`~django.contrib.gis.admin.GeoModelAdmin` First, there are some important requirements: * :class:`~django.contrib.gis.admin.OSMGeoAdmin` requires that - :doc:`GDAL <gdal>` is installed. If you are running GDAL 1.6 (uncommon) - you will also need to add the :ref:`spherical mercator projection - <addgoogleprojection>` to the ``spatial_ref_sys`` table. + :doc:`GDAL <gdal>` is installed. * The PROJ.4 datum shifting files must be installed (see the :ref:`PROJ.4 installation instructions <proj4>` for more details). |
