Advertisement

GPS NMEA数据转换成Google Earth KML文件工具

阅读量:
  1. 背景

在对GPS定位技术的探讨与分析过程中,研究者常常希望了解在特定测试路径中GPS的定位精度表现。实际上,将GPS数据呈现在地图上是一种直观且自然的方式。而Google Earth作为由Google提供的工具,恰好能够满足这一需求。之所以未选用其他地图软件,原因在于这些工具通常需要将坐标数据转换为WGS84坐标系格式。

  1. 实现代码

2.1 将NMEA格式数据转换为KML格式的头文件

复制代码
 #ifndef CONVERT_H

    
 #define CONVERT_H
    
 #include <iostream>
    
 #include <string>
    
 #include <vector>
    
 #include <fstream>
    
 #include <memory.h>
    
 #include <math.h>
    
 #include <sstream>
    
 #include <string.h>
    
 using namespace std;
    
  
    
 // 模块名称: convert
    
 // Author: HSW
    
 // Date: 2018-01-17
    
 // 功能: 实现NMEA GGA数据分析
    
 //
    
 /

全部评论 (0)

还没有任何评论哟~