%0 Journal Article
%T 基于Shapefile和OpenGL的电子地图绘制技术研究
Research on Electronic Map Rendering Technology Based on Shapefile and OpenGL
%A 朱国涛
%A 胡文婷
%J Computer Science and Application
%P 2579-2589
%@ 2161-881X
%D 2021
%I Hans Publishing
%R 10.12677/CSA.2021.1110261
%X
针对航空装备模拟训练领域对电子地图显示的需求,介绍了Shapefile矢量电子地图的格式和基于SHAPELIB的矢量特征和属性读取,基于OpenGL图形引擎实现了电子地图点、线、面三种特征的绘制方法,基于Windows GDI引擎实现了OpenGL环境下的文字渲染和输出,最后设计和实现了电子地图可视化编辑工具和电子地图实时渲染模块,解决了军机仿真中机载电子地图加载和显示、二维战场态势电子地图显示的问题。
According to the requirements of electronic map display in the field of aviation equipment simulation training, this paper introduces the format of Shapefile and the reading of vector features and attributes based on SHAPELIB, realizes the drawing method of electronic map point, line and surface based on OpenGL graphics engine, and realizes text rendering and output in OpenGL environment based on Windows GDI engine. Finally, the electronic map visual editing tool and the electronic map real-time rendering module are designed and implemented, which solves the problems of airborne electronic map loading and display and two-dimensional battlefield situation electronic map display in military aircraft simulation.
%K 电子地图,Shapefile,OpenGL实时绘制,多边形栅格化
Electronic Map
%K Shapefile
%K OpenGL Real-Time Rendering
%K Polygon Tessellation
%U http://www.hanspub.org/journal/PaperInformation.aspx?PaperID=46129