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

gisoracle

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

公告

2019年5月11日

何使用PYTHON 向arcmap中加载shapefile 不是即时python窗口

摘要: 何使用PYTHON 向arcmap中加载shapefile 不是即时python窗口 如何使用PYTHON 向arcmap中加载shapefile 不是即时python窗口 要求在外部独立运行,加载后保存。 即时窗口的加载代码为 arcpy.MakeFeatureLayer_management("C:/data/contour.shp","test") 通过arcpy,arcobjects,a... 阅读全文

posted @ 2019-05-11 13:08 gisai 阅读(143) 评论(0) 推荐(0)

读取坐标输出为文件

摘要: import arcpy # Describe a feature class with a geographic coordinate system # desc = arcpy.Describe("d:/base/data.gdb/latlongbnd") # Create search cursor. Use the spatial reference object from the ... 阅读全文

posted @ 2019-05-11 13:04 gisai 阅读(96) 评论(0) 推荐(0)

ArcGis Python脚本——要素图斑自动编号,自上而下,从左到右

摘要: 原理: 利用图斑最小外包矩形的左上角坐标(数学坐标)Y坐标将序、X坐标升序的方式获取自上而下,从左到右的要素记录排序,然后遍历编号。 "!shape.extent.xmin!"计算要素最小外包矩形的左上角X坐标; "!shape.extent.ymax!" 计算要素最小外包矩形的左上角Y坐标; 字段 阅读全文

posted @ 2019-05-11 12:59 gisai 阅读(1311) 评论(0) 推荐(1)

arcgis python获得字段唯一值

摘要: arcgis python获得字段唯一值 # Import native arcgisscripting moduleimport arcgisscripting, sys# Create the geoprocessor objectgp = arcgisscripting.create(9.3) 阅读全文

posted @ 2019-05-11 12:42 gisai 阅读(658) 评论(0) 推荐(0)

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