1.1 --- a/django/contrib/gis/geos/collections.py Thu Mar 19 12:14:17 2009 -0500
1.2 +++ b/django/contrib/gis/geos/collections.py Thu Mar 19 13:08:50 2009 -0500
1.3 @@ -103,6 +103,14 @@
1.4 _allowed = (LineString, LinearRing)
1.5 _typeid = 5
1.6
1.7 + @property
1.8 + def merged(self):
1.9 + """
1.10 + Returns a LineString representing the line merge of this
1.11 + MultiLineString.
1.12 + """
1.13 + return self._topology(capi.geos_linemerge(self.ptr))
1.14 +
1.15 class MultiPolygon(GeometryCollection):
1.16 _allowed = Polygon
1.17 _typeid = 6