summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2016-11-13 18:13:34 +0500
committerTim Graham <timograham@gmail.com>2016-11-16 09:43:54 -0500
commit45e01df37353324c3ca9cca1b330bc2841468f82 (patch)
tree270187d41c81897b8d478ef3e1d4f5b0b5322f74 /docs
parent3ce212a23c55c0e2fb99a632afdf04d03cf41e74 (diff)
Fixed #27488 -- Added SpatiaLite suppport for IsValid, MakeValid, and __isvalid.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/db-api.txt6
-rw-r--r--docs/ref/contrib/gis/functions.txt12
-rw-r--r--docs/releases/1.11.txt5
3 files changed, 18 insertions, 5 deletions
diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt
index bb35d1c846..2b2e02ac16 100644
--- a/docs/ref/contrib/gis/db-api.txt
+++ b/docs/ref/contrib/gis/db-api.txt
@@ -347,7 +347,7 @@ Lookup Type PostGIS Oracle MySQL [#]_ SpatiaLite
:lookup:`equals` X X X X C
:lookup:`exact` X X X X B
:lookup:`intersects` X X X X B
-:lookup:`isvalid` X
+:lookup:`isvalid` X X (LWGEOM)
:lookup:`overlaps` X X X X B
:lookup:`relate` X X X C
:lookup:`same_as` X X X X B
@@ -390,9 +390,9 @@ Function PostGIS Oracle MySQL SpatiaLite
:class:`ForceRHR` X
:class:`GeoHash` X X (LWGEOM)
:class:`Intersection` X X X (≥ 5.6.1) X
-:class:`IsValid` X
+:class:`IsValid` X X (LWGEOM)
:class:`Length` X X X X
-:class:`MakeValid` X
+:class:`MakeValid` X X (LWGEOM)
:class:`MemSize` X
:class:`NumGeometries` X X X X
:class:`NumPoints` X X X X
diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt
index f2be78d45c..b3f989126b 100644
--- a/docs/ref/contrib/gis/functions.txt
+++ b/docs/ref/contrib/gis/functions.txt
@@ -298,11 +298,15 @@ intersection between them.
.. versionadded:: 1.10
-*Availability*: PostGIS
+*Availability*: PostGIS, SpatiaLite (LWGEOM)
Accepts a geographic field or expression and tests if the value is well formed.
Returns ``True`` if its value is a valid geometry and ``False`` otherwise.
+.. versionchanged:: 1.11
+
+ SpatiaLite support was added.
+
``Length``
==========
@@ -327,13 +331,17 @@ resource-intensive) with the ``spheroid`` keyword argument.
.. versionadded:: 1.10
-*Availability*: PostGIS
+*Availability*: PostGIS, SpatiaLite (LWGEOM)
Accepts a geographic field or expression and attempts to convert the value into
a valid geometry without losing any of the input vertices. Geometries that are
already valid are returned without changes. Simple polygons might become a
multipolygon and the result might be of lower dimension than the input.
+.. versionchanged:: 1.11
+
+ SpatiaLite support was added.
+
``MemSize``
===========
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index 2d3a4dc698..5683f2fc07 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -151,6 +151,11 @@ Minor features
* Added the ability to pass the `size`, `shape`, and `offset` parameter when
creating :class:`~django.contrib.gis.gdal.GDALRaster` objects.
+* Added SpatiaLite support for the
+ :class:`~django.contrib.gis.db.models.functions.IsValid` function,
+ :class:`~django.contrib.gis.db.models.functions.MakeValid` function, and
+ :lookup:`isvalid` lookup.
+
:mod:`django.contrib.messages`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~