Arcpy 遍历每一个要素新建要素类
#方法一:
cursor= arcpy.da.SearchCursor(aim_fc,["OID@","SHAPE@"]) for row in cursor: arcpy.CopyFeatures_management(row[1],gdbPath+"\\fc_"+str(row[0])) del cursor
方法二:
https://www.cnblogs.com/yzhyingcool/p/10274368.html
#方法一:
cursor= arcpy.da.SearchCursor(aim_fc,["OID@","SHAPE@"]) for row in cursor: arcpy.CopyFeatures_management(row[1],gdbPath+"\\fc_"+str(row[0])) del cursor
方法二:
https://www.cnblogs.com/yzhyingcool/p/10274368.html