summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/geos.txt11
-rw-r--r--docs/releases/1.10.txt5
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index ddf4f0706f..259221ef23 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -694,6 +694,12 @@ is returned instead.
In previous versions, an empty ``LineString`` couldn't be instantiated.
+ .. attribute:: closed
+
+ .. versionadded:: 1.10
+
+ Returns whether or not this ``LineString`` is closed.
+
``LinearRing``
--------------
@@ -790,6 +796,11 @@ Geometry Collections
Returns a :class:`LineString` representing the line merge of
all the components in this ``MultiLineString``.
+ .. attribute:: closed
+
+ .. versionadded:: 1.10
+
+ Returns ``True`` if and only if all elements are closed. Requires GEOS 3.5.
``MultiPolygon``
----------------
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 6276f2e102..25998ddc96 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -104,6 +104,11 @@ Minor features
of :class:`~django.contrib.gis.geos.WKTWriter` allow controlling
output of the fractional part of the coordinates in WKT.
+* Added the :attr:`LineString.closed
+ <django.contrib.gis.geos.LineString.closed>` and
+ :attr:`MultiLineString.closed
+ <django.contrib.gis.geos.MultiLineString.closed>` properties.
+
:mod:`django.contrib.messages`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^