from osgeo import ogr

from addTools.CopySpatialTab import CopyOgcSpatial

path_source='E:\\Temp\\TempitemsInRect\\Shp\\TestPointForClip_MULTIPOLYGON.shp'
path_dest='E:\\Temp\\Shp\\testCopy_polygons.shp'
wkt='POLYGON((78.59433699999999 54.86970399999999,78.7314735 60.5771058,92.36831829999999 65.5583072,111.591896 62.82098359999999,108.3164285 57.69031679999999,95.6568065 53.7413079,78.59433699999999 54.86970399999999))'
geom = ogr.CreateGeometryFromWkt(wkt)
out_srs = ogr.osr.SpatialReference()
out_srs.ImportFromEPSG(4326)
geom.AssignSpatialReference(out_srs)

csl_copy=CopyOgcSpatial()
csl_copy.copy(path_source,path_dest,geom,None,None)
print("end")