APP下载

基于MapGIS的钻孔柱状图自动生成系统研发

2020-08-25张永辉

河南科技 2020年19期
关键词:二次开发

张永辉

摘 要:针对手工绘制地质图件烦琐而重复的过程,本文选用MapGIS K9作为开发平台,在Visual Studio环境中,使用C#语言和COM组件技术研发了一个计算机技术支持下的钻孔柱状图自动绘制系统。系统建成后,利用河南省煤田地质局二队所提供的补1号钻孔数据其进行了测试。结果表明,该系统能达到省时、省力和高效的目的。

关键词:MapGIS;二次开发;钻孔柱状图;自动成图

中图分类号:TP391.41文献标识码:A文章编号:1003-5168(2020)19-0013-03

Abstract: In view of the tedious and repeated process of drawing geological maps by hand, a practical program that can automatically generate histograms is developed. This paper introduces the content of system design from the aspects of design principle, overall structure, development process and development environment configuration. The development and realization process of the automatic generation system of borehole histogram based on MapGIS is introduced in detail from the aspects of system key algorithm implementation, database design and implementation, and histogram drawing. After the completion of the system, the data of No.1 borehole provided by the second team of Henan Coalfield Geological Bureau was used for testing. The results show that the system can save time, labor and efficiency.

Keywords: MapGIS;secondary development;borehole histogram;automatic mapping

钻孔柱状图是煤田必备的综合性图件之一,是根据钻孔过程中所得到的资料,按岩层新老关系的排列顺序,将岩层恢复到水平状态后绘制出的一种图纸[1]。钻孔柱状图在矿井生产前期以及整个生产过程中都起着非常重要的作用[2]。钻孔柱状图的绘制工作在20世纪80年代以前主要靠手工绘制完成,因工作量大,工序烦琐,重复过程多,人工绘制费时费力,成图质量难以保证,不仅浪费大量的人力和物力,而且成图慢、效率低,难以满足实际生产的需要[3]。20世纪80年代以后,多数柱状图是由计算机成图的,主要通过扫描矢量化完成。这样的柱状图虽然在信息共享和传递上有一定的进步,但同样存在绘制时间长、效率低、精确度差、编辑困难等问题,无法满足一些工期紧、任务重的資料处理工作的需求[4-5]。针对上述钻孔柱状图绘制存在的不足,本文选用MapGIS K9作为开发平台,在Visual Studio环境中,使用C#语言和COM(Component Object Model)组件技术[6]研发了一个计算机技术支持下的钻孔柱状图自动绘制系统,以提高绘图精度,节约工作时间,避免人为操作可能造成的错误,提高工作效率[7-9]。……

登录APP查看全文

猜你喜欢

二次开发
浅谈基于Revit平台的二次开发
西门子Operate高级编程的旋转坐标系二次开发
浅谈Mastercam后处理器的二次开发
基于C#的AutoCAD建筑构件库二次开发
西门子Easy Screen对倒棱机床界面二次开发
基于全站仪二次开发的覆冰厚度测量与实现
Micaps3.2 版本二次开发入门浅析
基于VB的ANSYS二次开发在变压器抗短路性能分析中的应用
基于CATIA的橡皮囊成形毛料展开的二次开发
ANSYS Workbench二次开发在汽车稳定杆CAE分析中的应用