面朝大海,春暖华开

focus on scientific computue, 3dgis, spatial database
专注于科学计算、GIS空间分析

 

arcgis python arcpy add data script添加数据脚本

arcgis python arcpy add data script添加数据脚本
mxd = arcpy.mapping.MapDocument("CURRENT")
... df =mxd.activeDataFrame
... theShape = ur"D:\chp5ex1\qxzf.shp"
... lyr = arcpy.mapping.Layer(theShape)
... arcpy.mapping.AddLayer(df, lyr, "AUTO_ARRANGE")
... arcpy.RefreshActiveView()
... arcpy.RefreshTOC()

posted on 2019-01-23 09:22  风过 无痕  阅读(1038)  评论(0编辑  收藏  举报

导航

向日葵支付宝收钱码