首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于林地“一张图”的小班自动编号探究
引用本文:普绍林.基于林地“一张图”的小班自动编号探究[J].林业调查规划,2021(1).
作者姓名:普绍林
作者单位:易门县十街乡林业工作站
摘    要:以林地一张图小班排序编号为研究对象,基于ArcGIS10.2浮动版,用简单的Python语句求算小班周界横坐标最小值、纵坐标最大值,在查找相同的工具制作表中,图层与表连接,在横坐标最小值与纵坐标最大值相等的相邻小班顺序值字段中输入从左到右顺序值用于排序,导出图层属性表,采用Excel 2010函数countif自动编号,图层与Excel表连接,用VBScript语言字符串函数left表达式格式化小班号,对横坐标最小值与纵坐标最大值相等出现错误的小班编号,手动修改小班号错误。其操作简单,容易理解,实用,可解决极少数小班号编号不准确的问题,使小班自动编号准确,符合林业调查规划小班编号规则。

关 键 词:小班自动编号  Python语句  countif函数  字符串函数left  小班周界坐标  林地“一张图”

Automatic Numbering of Subcompartment Based on One Map of Forest Land
PU Shaolin.Automatic Numbering of Subcompartment Based on One Map of Forest Land[J].Forest Inventory and Planning,2021(1).
Authors:PU Shaolin
Institution:(Shijie Forestry Station,Yimen,Yunnan 651100,China)
Abstract:Taking the sorting number of subcompartments in one map of forest land as the research object,the simple Python sentence was used to calculate the minimum abscissa and maximum ordinate of subcompartments perimeter based on ArcGIS10.2.The layers were connected with the table in making the table by the finding the same tool.In the adjacent subcompartment sequence value field where the minimum abscissa was equal to the maximum ordinate,the order value from left to right was input for sorting,and the layer attribute table was derived.The countif function of Excel 2010 was used for automatic numbering,the layer was connected with Excel table,and VBScript language string function left expression was used to format the subcompartment number.For the subcompartment number with error when the minimum abscissa value was equal to the maximum ordinate value,the error of subcompartment number was modified manually.The operation was simple,easy to understand and practical,which could solve the problem of inaccuracy of subcompartment number,make the automatic number of subcomp-artment accurate,and conform to the rules of forestry investigation and planning.
Keywords:subcompartment automatic numbering  Python sentence  countif function  left string function  subcompartment perimeter coordinates  one map of forest land
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号