From 034dfbfc057b6090f9f2589731b8f58a70e4f885 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Mon, 9 Nov 2015 22:36:12 +0500 Subject: Fixed #25654 -- Added the GEOSGeometry.unary_union property. --- docs/ref/contrib/gis/geos.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs/ref') 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3