【ArcGIS】对属性进行重新编号
ARCGIS中根据字段属性重新排序并自动编号的方法-百度经验 (baidu.com)
import arcpy
... rows = arcpy.UpdateCursor("预定边桩点","","","","编号 A")
... i=1
... for row in rows:
... row.BH=i
... i=i+1
... rows.updateRow(row)
... del rows
... del row
ARCGIS中根据字段属性重新排序并自动编号的方法-百度经验 (baidu.com)
import arcpy
... rows = arcpy.UpdateCursor("预定边桩点","","","","编号 A")
... i=1
... for row in rows:
... row.BH=i
... i=i+1
... rows.updateRow(row)
... del rows
... del row