检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:谭攀攀 TAN Panpan(Guizhou Provincial First Institute of Surveying and Mapping,Guiyang 550025,China)
出 处:《中国高新科技》2024年第13期25-26,40,共3页
摘 要:本文针对目前ArcGIS脚本工具开发对ArcGIS桌面端的依赖性问题,研究一种基于Python语言和ArcPy库的ArcGIS工具开发与打包方法。该方法利用Python内置的Tkinter库构建工具界面,通过调用ArcPy等库实现工具功能,最后使用Py2exe库将工具打包为独立的可执行程序。本文以一个根据属性批量分离要素的工具为例详细阐述了工具开发的总体思路、关键技术和实现步骤,实现了ArcGIS工具无须在ArcGIS中加载即可独立使用的需求。This paper addresses the current dependency of ArcGIS script tool development on the ArcGIS desktop environment and explores an ArcGIS tool development and packaging method based on the Python language and ArcPy library.This method utilizes Python’s built-in Tkinter library to construct the tool interface and achieves tool functionality by invoking libraries such as ArcPy.Finally,the tool is packaged into an independent executable program using the Py2exe library.The article takes a tool that batch separates features according to attributes as an example to elaborate on the overall development idea,key technologies,and implementation steps,realizing the requirement of using ArcGIS tools independently without the need to load them in ArcGIS.
关 键 词:GIS ArcPy ARCGIS 图形界面 工具开发 打包
分 类 号:P208[天文地球—地图制图学与地理信息工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49