summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2017-04-11 22:03:37 +0500
committerTim Graham <timograham@gmail.com>2017-04-12 09:17:43 -0400
commit4401e3be36bf66136a7b5bc1915f60a31918728f (patch)
tree9784f92b14e5f797f58ffd1a438fe4443e263aa5 /docs/ref
parentc30cc8d2221a5c803c17c7417182dfbb9e1dde17 (diff)
[1.11.x] Corrected docs regarding MySQL support of Length GIS function.
Backport of 33421ed10c7d26a7692edf5ba95c98107b6b0a98 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/functions.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt
index b43989eff7..3216371b25 100644
--- a/docs/ref/contrib/gis/functions.txt
+++ b/docs/ref/contrib/gis/functions.txt
@@ -346,19 +346,19 @@ Returns ``True`` if its value is a valid geometry and ``False`` otherwise.
<https://postgis.net/docs/ST_Length.html>`__, SpatiaLite
Accepts a single geographic linestring or multilinestring field or expression
-and returns its length as an :class:`~django.contrib.gis.measure.Distance`
-measure. On MySQL, a raw float value is returned when the coordinates
-are geodetic.
+and returns its length as a :class:`~django.contrib.gis.measure.Distance`
+measure.
On PostGIS and SpatiaLite, when the coordinates are geodetic (angular), you can
specify if the calculation should be based on a simple sphere (less
accurate, less resource-intensive) or on a spheroid (more accurate, more
resource-intensive) with the ``spheroid`` keyword argument.
+MySQL doesn't support length calculations on geographic SRSes.
+
.. versionchanged:: 1.11
- In older versions, a raw value was returned on MySQL when used on
- projected SRS.
+ In older versions, a raw value was returned on MySQL.
``MakeValid``
=============