上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: import arcpy fcs=arcpy.GetParameterAsText(0).split(';') for fc in fcs: fld_name_list= [i.name for i in arcpy.ListFields(fc)] try: if 'NAME' in fld_nam 阅读全文
posted @ 2020-04-02 20:27 yzhyingcool 阅读(1770) 评论(0) 推荐(0)
摘要: 受邀研究了一下arcpy生成界址点成果表,如有需要定制工具或源码可以联系作者。 2020年11月补充 实现了一个新的模板,详见ArcGIS生成界址点成果表Excel的主要实现方法(arcpy) - 知乎 (zhihu.com) 以下是原文 工具与结果如下: 主要实现方式 1.通过getPointLi 阅读全文
posted @ 2020-03-29 22:29 yzhyingcool 阅读(3344) 评论(2) 推荐(0)
摘要: 安装 python2.7 对应django1.11 使用镜像源加快下载速度,安装成功。 pip install django==1.11 -i https://pypi.doubanio.com/simple/ 查看安装是否成功。 python -m django --version 添加环境变量到 阅读全文
posted @ 2020-03-12 21:40 yzhyingcool 阅读(313) 评论(0) 推荐(0)
摘要: with arcpy.da.UpdateCursor(in_table=in_table,field_names=in_field,) as cursor: for row in cursor: guid=str(uuid.uuid1()).upper() if is_upper else str( 阅读全文
posted @ 2020-03-10 16:38 yzhyingcool 阅读(1534) 评论(0) 推荐(0)
摘要: source:https://blog.csdn.net/qq_37350706/article/details/81707862?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevan 阅读全文
posted @ 2020-03-06 22:00 yzhyingcool 阅读(238) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-05 15:41 yzhyingcool 阅读(956) 评论(0) 推荐(0)
摘要: Is it possible to sort an arcpy.da.UpdateCursor()? da.UpdateCursor UpdateCursor (in_table, field_names, {where_clause}, {spatial_reference}, {explode_ 阅读全文
posted @ 2020-02-28 18:37 yzhyingcool 阅读(356) 评论(0) 推荐(0)
摘要: 俗话说的好:“an image is better than tons of words.” 先上个图。 1.套路 很明显,这是一个插件,这个插件是通过“Extending ArcObjec”的方式开发的,相关信息可以扒本博。 通过menu按钮呼出了toolbox的工具窗口。 细看一下,它是由两级菜 阅读全文
posted @ 2020-02-17 10:32 yzhyingcool 阅读(2242) 评论(0) 推荐(2)
摘要: 对“镶嵌至新栅格”工具做一个小小的补充,使其能够直接对一个文件夹下的栅格进行镶嵌。 # coding=utf-8 import arcpy from arcpy import env rasterFolder=arcpy.GetParameterAsText(0) newRasterName=arc 阅读全文
posted @ 2020-02-16 15:13 yzhyingcool 阅读(2818) 评论(1) 推荐(0)
摘要: 插个广告,制作ArcGIS的Tool工具学习下面的教程就对了:零基础学习Python制作ArcGIS自定义工具 牢骚一下 在使用ArcMap进行空间连接操作的时候,往往会有两种特殊需求,其一是连接重叠面积最大面的字段属性;其二是连接所有重叠面的字段属性。 前者难以使用原生功能实现,可以借助插件或者脚 阅读全文
posted @ 2019-12-14 11:39 yzhyingcool 阅读(7627) 评论(0) 推荐(1)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页