diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2015-12-18 15:26:22 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-22 16:54:02 -0500 |
| commit | 5d348bba3178f57bf018aee08d243a92933c5ce0 (patch) | |
| tree | c9d1cedc0729efeb1f3d8cca26102e1d6cd89784 /docs | |
| parent | 64ba7d8252656f89867bc3017812f604786dba2d (diff) | |
Fixed #25950 -- Added support for GEOSisClosed.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/geos.txt | 11 | ||||
| -rw-r--r-- | docs/releases/1.10.txt | 5 |
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` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
