军事知识服务平台
基于ArcPy与Excel配置文件的耕地质量等级评价自动化方法
Automated Method for Cultivated Land Quality Grade Evaluation Based on ArcPy and Excel Configuration Files
摘要 耕地质量等级评价是指导耕地质量管理、保障国家粮食安全和促进农业可持续发展的有效手段.为解决传统耕地质量等级评价依赖人工操作、效率低下的问题,本文构建自动化耕地质量等级评价方法.该方法依据《耕地质量等级》(GB/T 33469-2016)国家标准,利用ArcPy开发自动化脚本,并封装为ArcToolbox工具,通过将评价规则与程序代码分离并存储于Excel配置文件中,实现评价规则的集中管理和灵活配置.以广东省新丰县2022年度15986个耕地图斑为案例进行实证研究.结果表明:该自动化工具在20 s内完成全部图斑的评价计算,正确率达100%,处理效率较传统人工方式显著提升.该方法实现了耕地质量等级评价流程的自动化与标准化,可为县域尺度耕地质量等级评价的批量处理提供技术支撑.
Abstract:
Cultivated land quality grade evaluation serves as an effective means of guiding cultivated land quality management,ensuring national food security,and promoting sustainable agricultural development.Traditional evaluation approaches rely heavily on manual operations,resulting in low efficiency.To address these issues,an automated evaluation method was developed in this study.Based on the national standard Cultivated Land Quality Grade(GB/T 33469-2016),an automated script was developed using ArcPy and encapsulated as an ArcToolbox tool.Evaluation rules were decoupled from program code through an Excel configuration file.An empirical study was conducted using 15986 cultivated land patches in Xinfeng County,Guangdong Province,of year 2022.The results indicated that the tool completed the evaluation calculations for all patches within 20 seconds,with an accuracy rate of 100%.The processing efficiency was significantly improved compared to conventional manual methods.The proposed approach automates and standardizes the cultivated land quality grade evaluation process through the decoupling of rule configuration from program code.This method provided technical support for county-scale batch processing and could be extended to other regions using the same national standard.
刊 名 中国农学通报 ISTIC
年,卷(期): 2026, 42(20)
分类号: F323.211
机标分类号: P281 TH122 S758.61
在线出版日期: 2026年11月23日
基金项目: 2023B1212060044:广东省科技计划项目,