2025年03期 v.46 37-42页
魏锦旺
(厦门蓝德信息科技有限公司,福建 厦门 361021)
摘要:在地籍调查项目中,需要为每宗地编制宗地图。传统的人工制图方法耗时费力,且易出错。该文利用Python语言结合ArcPy站点包,开发了基于ArcGIS软件平台的自动化制图脚本工具,实现了宗地图的批量自动化制作。该工具能够自动定位宗地要素、调整出图比例尺、控制图层显示范围,并填写宗地属性信息。实验结果表明,该工具提高了制图效率和准确性,减少了人为错误,并具有可定制性和灵活性,适用于其他专题地图的批量制作。
关键词:自动化制图;ArcPy;ArcGIS;宗地图;批量制图
中图分类号:TP391.72 文献标志码:A 文章编号:1674-2605(2025)03-0006-06
DOI:10.12475/aie.20250306 开放获取
ArcPy-based Automated Script Tool for Batch Mapping
WEI Jinwang
(Land Information Technology Co., Ltd., Xiamen, Xiamen 361021, China)
Abstract: In cadastral survey projects, cadastral parcel maps need to be prepared for each parcel. Traditional manual mapping methods are time-consuming, labor-intensive, and error-prone. This study develops an automated mapping script tool based on the ArcGIS platform using Python and the ArcPy site package, enabling batch automation of cadastral parcel map production. The tool automatically locates parcel features, adjusts map scale, controls layer display extent, and fills in parcel attribute information. Experimental results demonstrate that the tool enhances mapping efficiency and accuracy, reduces human errors, and offers customizability and flexibility, making it applicable to batch production of other thematic maps.
Keywords: automated mapping; ArcPy; ArcGIS; parcel map; batch mapping