摘要
在分析Python语言优越性的基础上,系统梳理了ArcGIS中按钮、工具、选项框、菜单、工具条、工具选项板、应用扩展等Add-In的内涵、依存关系及其存储形式,提出了面向任务的ArcGIS Add-In开发技术流程,并利用开发实例对开发过程进行论证。实验表明,利用Python对ArcGIS Add-In进行定制开发,能有效解决实际生产中空间数据处理的动态和多样性需求,其方法和过程具有一定的参考价值。
In view of the demands of diversity and dynamic in the process of spatial data processing, we designed and developed Add-In in ArcGIS environment. Based on the superiority analysis of the python language, we sorted out the connotation, dependency relationship and storage form of Add-In in ArcGIS such as button, tool, option box, menu, toolbar, tool option board and application extension systematically, and put forward a task-oriented ArcGIS Add-In development technology process. Finally, we used several development instances to make examples for the development process. The experimental results show that ArcGIS Add-Ins customized by Python can e ectively meet the dynamic and diversity needs in the actual production of spatial data processing, and provide useful insights for similar demands.
引文
[1]葛小三,郑鹏辉,薛华柱.基于移动GIS的移动物流信息管理系统设计[J].河南理工大学学报(自然科学版),2017,36(5):41-46
[2]宋克强. MS Of?ce软件的COM Add-In编程[J].电脑编程技巧与维护, 2010(5):18-23
[3]李论,张志鹏,陈慎.基于ArcGIS Add-In的不等分纬线多圆锥投影变换[J].测绘, 2013,36(5):222-224
[4]李霞,李萌彦.基于Matlab Add-in的Matlab/VC混合编程的研究[J].实验室研究与探索, 2004(4):49-50
[5]宋克强. MS Of?ce软件的COM Add-In编程[J].电脑编程技巧与维护, 2010(5):18-23
[6]张全法,陈倩.用Add-in减少VC6.0中goto语句使用错误的研究[J].中原工学院学报, 2013,24(2):57-60
[7]金丽华,钱枫,王晓波,等.基于ArcGIS Add-in的交互式D L G质量检查平台搭建研究[J].测绘与空间地理信息,2016,39(3):152-154
[8]马文涛.基于高分辨率DEM的活动断层断错水系剖面信息提取Add-in插件的设计与实现[D].昆明:云南大学, 2015
[9] Chun W J. Core Python Programming, 2nd Edition[M]. Upper Saddle River, New Jersey, USA:Prentice Hall,2006
[10]赞德伯根,李明巨,刘昱君,等.面向ArcGIS的Python脚本编程[M].北京:人民教育出版社, 2014