基于HTML5技术的煤矿WebGIS移动智能终端设计
2018-10-29鹿方凯韩发张辉
鹿方凯 韩发 张辉

摘要:为实现煤矿WebGIS在移动智能终端的可视化,以及办公人员可随时随地进行移动办公,提高煤炭企业工作效率,基于HTML5技术进行WebGIS移动客户端设计。采用前端框架与.NET开发技术实现移动客户端实时数据显示,在前端页面显示方面采用一张图分层显示设计思想,以不失真的SVG矿图为静态底图,需要变化的元素采用HTML5中的Canvas实现动态绘图,并且在不影响渲染结果的情况下优化SVG代码与页面显示速度。实践结果表明,该系统大大提高了客户端的网页显示效率,缩短了显示时间,可实现随时随地移动办公,查询、浏览各类专题图与属性数据,并在智能移动终端实时获取生产、调度、灾害报警、审批代办等信息。
关键词:智能移动终端;HTML5;WebGIS;分层设计;SVG优化
DOIDOI:10.11907/rjdk.181266
中图分类号:TP317.4
文献标识码:A 文章编号:1672-7800(2018)008-0216-03
英文摘要Abstract:In order to realize the visualization of coalmine WebGIS in mobile intelligent terminal so that office workers can do their offices anywhere and anytime and the work efficiency of coal enterprises can be improved,this paper presents a WebGIS mobile client design idea based on HTML5 technology,front-end framework and.net development technology to realize real-time data display of mobile client.It adopts front-end framework and.net development technology to realize real-time data display of mobile client.Before the front page display,a coal graph is used to display the design idea and make the real SVG mine map as a static base; the changing elements implement dynamic drawing in HTML5 Canvas.The SVG code and page display speed are optimized without affecting the rendering results.The practical results show that the system greatly improves the display efficiency of graphs for clients.This system greatly improves the efficiency of picture display,shortens the display time,enables the staff to work anytime and anywhere,browse various kinds of thematic maps and attribute data,and access production,scheduling,such as disaster alarm,the examination and approval agency information and the intelligent mobile terminal.The office efficiency of coal enterprises is thus improved.
英文关键词Key Words:mobile client; HTML5; WebGIS; hierarchical design; SVG optimization
0 引言
随着我国智能手机移动端的快速普及和发展,移动互联网的应用范围越来越广,人们通过iPad、手机等各种移动终端链接到Internet中,这种移动便携式的终端设备实现功能与电脑相同,可以运行各种应用程序、浏览网页等[1]。然而智能手机移动终端屏幕相对较小,且操作方式不同,降低了用户使用体验,所以很多公司开始研究适合智能终端的服务模式[2]。随着煤矿行业的发展,其对数字可视化的要求也越来越高,要求在手机智能终端上实现随时随地移动办公,随时了解煤矿调度、生产安全监控情况等。现有技术可以开发安卓或IOS系统,但是该方法的缺点是无法实现跨平台,需要开发两套系统,并且需要下载APP。……
