arcgis python ValueTable使用
本文链接:https://blog.csdn.net/A873054267/article/details/86007125 #多值参数指定方式 1 python list类型 2 字符串类型,以逗号隔开 3 valuetable类型 import arcpy try: arcpy.env.workspace = r'c:\ArcpyBook\data' vTab = arcpy.ValueTable() vTab.setRow (0, "5") vTab.setRow (1, "10") vTab.setRow (2, "20") inFeature = 'Hospitals.shp' outFeature = 'HospitalMBuff.shp' dist = vTab bufferUnit = "meters" arcpy.MultipleRingBuffer_analysis(inFeature,outFeature,dist,bufferUnit, '', 'ALL') print("Multi-Ring Buffer Complete") except Exception as e: print(e.message) ———————————————— 版权声明:本文为CSDN博主「a873054267」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/A873054267/article/details/86007125