arcpy更改点坐标

更改线坐标的教程
https://www.cnblogs.com/beautifulplanet/p/4317724.html
#reusult为结果图层路径
cursor2 = arcpy.UpdateCursor(result)

#inRow5[1][0] inRow5[1][1]为X,y坐标

 

vertex = arcpy.CreateObject("Point")
vertex.X = inRow5[1][0]
vertex.Y = inRow5[1][1]
inRow1.setValue("SHAPE", vertex)

cursor2.updateRow(inRow1)

转载自:https://blog.csdn.net/A873054267/article/details/85234304

You may also like...