summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2015-11-09 22:36:12 +0500
committerTim Graham <timograham@gmail.com>2015-11-18 19:17:16 -0500
commit034dfbfc057b6090f9f2589731b8f58a70e4f885 (patch)
tree6d3d8a6437992f29ff17e2628ce667fe2c5924de /docs/ref
parent1e35dd1a053b620f065101c02069c8e142ebf8ec (diff)
Fixed #25654 -- Added the GEOSGeometry.unary_union property.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/geos.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index 7415acea97..fffaf61fe7 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -497,6 +497,21 @@ geometry is a point.
Computes and returns a :class:`Point` guaranteed to be on the interior
of this geometry.
+.. attribute:: GEOSGeometry.unary_union
+
+.. versionadded:: 1.10
+
+Computes the union of all the elements of this geometry.
+
+The result obeys the following contract:
+
+* Unioning a set of :class:`LineString`\s has the effect of fully noding and
+ dissolving the linework.
+
+* Unioning a set of :class:`Polygon`\s will always return a :class:`Polygon` or
+ :class:`MultiPolygon` geometry (unlike :meth:`GEOSGeometry.union`, which may
+ return geometries of lower dimension if a topology collapse occurs).
+
Other Properties & Methods
~~~~~~~~~~~~~~~~~~~~~~~~~~