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

 

posted @ 2019-08-19 21:48  yzhyingcool  阅读(1996)  评论(0编辑  收藏  举报