摘要: import arcpy import os def main(): mxd = arcpy.mapping.MapDocument('current') #获取当前打开MXD df = arcpy.mapping.ListDataFrames(mxd, "图层")[0] #获取全部图层组 lyr= arcpy.mapping.ListLayers(mxd,"",df)... 阅读全文
posted @ 2018-12-26 13:13 别动我的面包 阅读(2112) 评论(0) 推荐(0) 编辑
摘要: count = arcpy.GetCount_management(feature) #获取要素个数 阅读全文
posted @ 2018-12-26 12:50 别动我的面包 阅读(198) 评论(0) 推荐(0) 编辑