insert rows not displayed in arcmap

المشرف العام

Administrator
طاقم الإدارة
I am selecting rows from one shape file and inserting to other by using below script. Records are properly inserted but these new records not displayed in arcmap. Please suggest me.

import arcpy fc = "C:\\project\\data\\TEST1\\road.shp" ofc = "C:\\project\\data\\TEST2\\road.shp" sc = arcpy.da.SearchCursor(fc, '*') ic = arcpy.da.InsertCursor(ofc, '*') for r in sc: ic.insertRow(r) del sc del ic

أكثر...
 
أعلى