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

gisoracle

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

公告

上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 159 下一页

2019年11月3日

python TypeError: unsupported operand type(s) for +: 'geoprocessing value object' and 'str'

摘要: TypeError: unsupported operand type(s) for +: 'geoprocessing value object' and 'str' if self.params[0].value: mypath=self.params[0].value # cpath=mypath+os.sep+dataset ar... 阅读全文

posted @ 2019-11-03 11:59 gisai 阅读(578) 评论(0) 推荐(0)

2019年11月2日

arcgis python 获得arcgis的版本和安装路径

摘要: install:desktopSourceDir : G:\setup\arcgis10.2.2\arcgis10.2.2\ArcGIS_Desktop_1022_140090\Desktop\SetupFiles\InstallDate : 2019.07.19InstallDir : c:\pr 阅读全文

posted @ 2019-11-02 20:42 gisai 阅读(1221) 评论(0) 推荐(0)

2019年11月1日

arcgis python 异常处理

摘要: import arcpy in_features = "c:/base/transport.gdb/roads" try: # Note: CopyFeatures will always fail if the input and output are # the same feature class arcpy.CopyFeatures_management(in_features, in_f 阅读全文

posted @ 2019-11-01 20:49 gisai 阅读(1403) 评论(0) 推荐(0)

arcpy显示指定表的索引属性

摘要: import arcpy feature_class = "c:/data/well.shp" # Create a list of indexes using the ListIndexes function indexes = arcpy.ListIndexes(feature_class) # Iterate through the list of indexes for index in 阅读全文

posted @ 2019-11-01 17:33 gisai 阅读(278) 评论(0) 推荐(0)

env (arcpy)

摘要: (读写) 设置是否应将工具产生的输出数据集添加至应用程序显示。 (读写) 支持“自动提交”环境的工具将在 ArcSDE 事务中进行指定次数的更改后强制执行提交。 了解有关 autoCommit 的详细信息 (读写) 支持“制图坐标系”环境的工具将使用指定的坐标系来确定进行计算时要素的大小、范围和空间 阅读全文

posted @ 2019-11-01 17:31 gisai 阅读(902) 评论(0) 推荐(0)

2019年10月30日

arcgis python 拓扑规则

摘要: 面 Must Not Have Gaps (Area) | Must Not Overlap (Area) 面面 | Must Be Covered By Feature Class Of (Area-Area) | Must Cover Each Other (Area-Area) | Must 阅读全文

posted @ 2019-10-30 18:27 gisai 阅读(543) 评论(0) 推荐(0)

2019年10月28日

字段修改名称

摘要: 把a1修改为a2 arcpy.AlterField_management("图框_point", 'a1', 'a2', 'a2别名') 阅读全文

posted @ 2019-10-28 07:48 gisai 阅读(458) 评论(0) 推荐(0)

2019年10月22日

python 读文本文件汉字

该文被密码保护。 阅读全文

posted @ 2019-10-22 22:12 gisai 阅读(0) 评论(0) 推荐(0)

2019年10月16日

coercing to Unicode: need string or buffer, geoprocessing value object found

摘要: workbook.save(outxls),保存xls,出现上面的错误原因是:outxls不是错误 arcpy.AddMessage(" "+outxls) cannot concatenate 'str' and 'geoprocessing value object' objects 原因也是s 阅读全文

posted @ 2019-10-16 20:34 gisai 阅读(293) 评论(0) 推荐(0)

2019年10月11日

为什么ArcGIS 10.3导出 Shapefile的字段名会被截断成3个汉字?解决方法如下

摘要: ArcGIS Pro学习加微信公众号 我的微信公众号 为什么ArcGIS 10.3导出 Shapefile的字段名会被截断成3个汉字?低版本中不是至少可以存储4个汉字吗?原因这个问题仍然与编码类型有关。ArcGIS 10.2 以及更早的版本,ArcGIS写shapefile的时候,遇到中文默认使用W 阅读全文

posted @ 2019-10-11 18:34 gisai 阅读(7932) 评论(0) 推荐(0)

上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 159 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3