alex_bn_lee

导航

[931] arcpy - buffer, delete shp and rename shp

The script is as follows:

arcpy.analysis.Buffer("siteboundary.shp","siteboundary1.shp","-5 Centimeters","FULL","ROUND","NONE",None,"GEODESIC")
arcpy.management.Delete("siteboundary.shp","ShapeFile")
arcpy.management.Rename("siteboundary1.shp","siteboundary.shp","ShapeFile")

 

posted on 2023-11-01 14:12  McDelfino  阅读(21)  评论(0)    收藏  举报