arcgis python 数据更新作者:闫磊博客 | 出处:博客园 | 阅读49次 2011/11/10 2:22:42 gp = arcgisscripting.create() # Create update cursor for feature class rows = gp.UpdateCursor("D:/St_Johns/data.mdb/roads") row = rows.Next() # Update the field used in buffer so the distance is based on the road # type. Road type is either 1, 2, 3 or 4. Distance is in meters. while row: row.buffer_distance = row.road_type * 100 rows.UpdateRow(row) row = rows.Next() |
|
来自: 昵称QAb6ICvc > 《python》