摘要
针对MapInfo不支持在Linux下二次开发的现状,采用S3C6410开发板为硬件平台,以嵌入式Linux为软件运行环境,提出了一种基于QT/E和Mitab的解决方案,完成了嵌入式地图显示。首先成功移植了Linux和QT/E,实现了图形界面显示。通过分析MIF地图文件的数据结构,采用相应的Mitab库函数完成地图文件的数据读取和坐标转换,之后使用QT的画图函数来实现嵌入式地图的显示。同时,有效解决了地图缩放、汉字显示、交叉编译时的动态链接库等问题,程序的成功运行证明了该方法的可行性。
For the current situation that MapInfo does not support the second development in Linux, by using SC6410 de-velopment board as hardware platform, and embedded Linux as software environment, we put forward a solution based on QT/E and Mitab in this paper, and realize the embedded map display. This paper makes a success in transplantation of Linux and Q T/E firstly, achieves the graphical interface display. By analyzing the data structure of map file, and reading the map file data with Mitab library and completing the coordinate transformation, we implement the embedded map dis-play through the using of QT drawing function. Meanwhile, effectively solve map scale problem, Chinese character dis-play problem and dynamic link library problem with cross compile, the success of the program running proves that the method is feasible.
出处
《国外电子测量技术》
2014年第10期88-91,共4页
Foreign Electronic Measurement Technology