MCPcopy
hub / github.com/django/django / clone

Method clone

django/contrib/gis/gdal/geometries.py:448–450  ·  view source on GitHub ↗

Clone this OGR Geometry.

(self)

Source from the content-addressed store, hash-verified

446
447 # #### Geometry Methods ####
448 def clone(self):
449 "Clone this OGR Geometry."
450 return OGRGeometry(capi.clone_geom(self.ptr), self.srs)
451
452 def close_rings(self):
453 """

Callers 3

transformMethod · 0.95
test_srsMethod · 0.95
test_srs_transformMethod · 0.95

Calls 1

OGRGeometryClass · 0.85

Tested by 2

test_srsMethod · 0.76
test_srs_transformMethod · 0.76