上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 帮写一个界址点成果表输出程序,基于ArcPy取数据,采用win32com操作Excel。在客户机报错如下: 系统MS Office为购机预装阉割版,卸载,otp重装,仍然报错。 怀疑是WPS Office篡改MS Office注册表的原因,卸载之,问题解决。 阅读全文
posted @ 2023-02-25 17:54 yzhyingcool 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 未定义空间参考 lyr= desc=arcpy.Describe(lyr) spatialRef = arcpy.Describe(lyr).spatialReference print spatialRef.type 结果是'Unknown' 已定义空间参考 >>> geoSR = arcpy.S 阅读全文
posted @ 2023-02-19 16:27 yzhyingcool 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Python工具代码,非Python窗口脚本,可以自行编辑处理一下。 # coding=gbk import arcpy from arcpy import mapping import os def main(): inFolder=arcpy.GetParameterAsText(0) outF 阅读全文
posted @ 2023-02-12 17:25 yzhyingcool 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Python工具代码,非Python窗口脚本,可以自行编辑处理一下。 # coding=gbk import arcpy from arcpy import da as da def main(): lyr=arcpy.GetParameter(0) fld=arcpy.GetParameterAs 阅读全文
posted @ 2023-02-12 17:20 yzhyingcool 阅读(85) 评论(0) 推荐(0) 编辑
摘要: Python工具代码,非Python窗口脚本,可以自行编辑处理一下。 # coding=gbk import arcpy from arcpy import da as da def getFieldUniqueValue(inTable,inField): rows=arcpy.da.Search 阅读全文
posted @ 2023-02-12 11:21 yzhyingcool 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 相关链接:歪兔工具条(YToolsforArcMap)简介之自然资源确权地籍图图廓(标准分幅图)制作工具 将登记单元信息、自然资源信息、关联信息写入一维数据表(Excel,各表以登记单元编码关联),一键输出地籍调查表(初/终)及登记簿,直接用于打印。 【输出模板】用于输出原始登记单元信息填写的模板文 阅读全文
posted @ 2023-01-31 12:11 yzhyingcool 阅读(555) 评论(1) 推荐(0) 编辑
摘要: Visual Studio 较旧的下载 - 2019、2017、2015 和以前的版本 (microsoft.com) 阅读全文
posted @ 2023-01-17 11:05 yzhyingcool 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 翻出陈年代码重写,老是报”The coordinates or measures are out of bounds.“ 找来找去发现错误出在下面snippet里,geometry.Project(spatialReferenceTo)会对传入的point处理,所以应该带ref关键字以示提醒。 // 阅读全文
posted @ 2023-01-08 11:42 yzhyingcool 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 鹰眼图选中要素的符号如下图设置。 import arcpy def GetFieldUniqueValue(inTable,inField): rows=arcpy.da.SearchCursor(inTable,inField) value_lst=[row[0].encode('gbk') fo 阅读全文
posted @ 2022-12-16 20:23 yzhyingcool 阅读(290) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-11-17 08:28 yzhyingcool 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页