Exemplo n.º 1
0
 def cascaded_union(self):
     "Returns a cascaded union of this MultiPolygon."
     warnings.warn(
         "`cascaded_union` is deprecated, use the `unary_union` property instead.",
         RemovedInDjango20Warning, 2
     )
     return GEOSGeometry(capi.geos_cascaded_union(self.ptr), self.srid)
Exemplo n.º 2
0
 def cascaded_union(self):
     "Returns a cascaded union of this MultiPolygon."
     warnings.warn(
         "`cascaded_union` is deprecated, use the `unary_union` property instead.",
         RemovedInDjango20Warning, 2
     )
     return GEOSGeometry(capi.geos_cascaded_union(self.ptr), self.srid)
Exemplo n.º 3
0
 def cascaded_union(self):
     "Returns a cascaded union of this MultiPolygon."
     if GEOS_PREPARE:
         return GEOSGeometry(capi.geos_cascaded_union(self.ptr), self.srid)
     else:
         raise GEOSException(
             'The cascaded union operation requires GEOS 3.1+.')
Exemplo n.º 4
0
 def cascaded_union(self):
     "Returns a cascaded union of this MultiPolygon."
     if GEOS_PREPARE:
         return GEOSGeometry(capi.geos_cascaded_union(self.ptr), self.srid)
     else:
         raise GEOSException('The cascaded union operation requires GEOS 3.1+.')
Exemplo n.º 5
0
 def cascaded_union(self):
     "Returns a cascaded union of this MultiPolygon."
     return GEOSGeometry(capi.geos_cascaded_union(self.ptr), self.srid)
Exemplo n.º 6
0
"""