• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

gisoracle

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2019年8月14日

arcgis python获得别名

摘要: import arcpy # Create a Describe object from the GDB table. # desc = arcpy.Describe(r"C:\Users\dell\Documents\ArcGIS\Default.gdb\dltb") # Print GDB Table properties # print "%-22s %s" % ("AliasName... 阅读全文

posted @ 2019-08-14 22:52 gisai 阅读(463) 评论(0) 推荐(0)

arcgis python xlstoshp

摘要: import xlrd # must init xlrd import arcpy # param arcpy.env.workspace = r"F:\note\python\ArcPy" #workspace excelPath = r"test.xlsx" # excel file path excelTableIndex = 0 # excel's table index outNa... 阅读全文

posted @ 2019-08-14 21:52 gisai 阅读(363) 评论(0) 推荐(0)

arcgis python 标注

摘要: import arcpy mxd = arcpy.mapping.MapDocument("current") lyr = arcpy.mapping.ListLayers(mxd)[0] lyr.showLabels = True lyr.labelClasses[0].expression ="[Name]" arcpy.RefreshActiveView() arcpy.RefreshT... 阅读全文

posted @ 2019-08-14 21:28 gisai 阅读(1184) 评论(0) 推荐(0)

ArcGIS Python 唯一值专题

摘要: import arcpy mxd = arcpy.mapping.MapDocument("current") lyr = arcpy.mapping.ListLayers(mxd)[0] if lyr.symbologyType == "UNIQUE_VALUES": lyr.symbology.valueField = "NAME" lyr.symbology.addAllValu... 阅读全文

posted @ 2019-08-14 21:17 gisai 阅读(378) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3