示例#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)
示例#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)
示例#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+.')
 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+.')
示例#5
0
 def cascaded_union(self):
     "Returns a cascaded union of this MultiPolygon."
     return GEOSGeometry(capi.geos_cascaded_union(self.ptr), self.srid)
"""