利用WebSocket技术实现B/S端与CAD的即时通信
Implementing Instant Messaging Between B/S and CAD Using WebSocket Technology
唐群 1张星刚2
作者信息
- 1. 桂林理工大学南宁分校,广西崇左 532100
- 2. 广东南方测绘科技股份有限公司南宁分公司,广西南宁 530000
- 折叠
摘要
为了解决工作人员在网络地理信息系统(WebGIS)上无法直接使用计算机辅助设计(Computer Aided Design,CAD)读取和编辑矢量数据的问题,文章提出利用WebSocket技术实现浏览器/服务器(Browser/Server,B/S)端与CAD的即时通信,并通过开源的NTS库和熟知文本(Well-Known Text,WKT)语言,快速、直观地实现图形数据与CAD的在线编辑.应用实践表明,文章提出的方法可以高效解决WebGIS平台与CAD的连接,从而提高了工作效率.
Abstract
In order to solve the problem that the vector data cannot be read and edited by using Computer Aided Design(CAD)directly on the WebGIS,this paper proposes to realize the instant communication between Browser/Server(B/S)terminal and CAD by using WebSocket technology,and to quickly and visually realize the online editing of graphic data and CAD by using the open source NTS library and Well-Known Text(WKT)language.The application practice shows that the method proposed in this paper can efficiently solve the connection between WebGIS platform and CAD,so as to improve the work efficiency.
关键词
WebGIS/CAD/WebSocket/即时通信Key words
WebGIS/CAD/WebSocket/instant messaging引用本文复制引用
基金项目
崇左市科技计划自筹项目(2022ZC1211)
出版年
2024