如何在 Google Earth 中查看实时 NMEA 数据?
我正在使用 HTC Desire 将 NMEA - $GPRMC 数据发送到我的笔记本电脑(服务器)! 服务器中会创建一个名为 gpsdata.nmea 的文件,并且每秒都会使用新数据进行更新。如果我在 Google 地球中打开该文件,我可以查看我的路径!不过,我想在 Google 地球中动态查看我的路径变化......这可能吗?或者还有其他软件可以实现这个功能吗??请帮我!
I am using my HTC Desire to send NMEA - $GPRMC data to my Laptop(server)!
A file named gpsdata.nmea gets created in the server and is getting updated every second with new data. I can view my path if I open the file in Google Earth! However I want to view my path dynamically as it changes.....in Google Earth!!! Is this possible? Or are there any other software that allows this?? Please help me!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Google 地球 6 有一个菜单选项,工具 > GPS 调出 GPS 导入对话框。转到“实时”选项卡 - 您可以选中 NMEA 单选框并选择轮询间隔(跟踪更新的频率)。然后,Google 地球会扫描您的计算机串行端口,查找已连接的 GPS 设备并在该端口上发送 NMEA。
当然,如果您的 HTC 正在将文件上传到服务器,您现在就有了一个新项目,即如何通过 Google 地球读取的串行端口传输该文件(或更确切地说是文件的更新)。这本身就是一个新问题。谷歌“通过串行端口发送文件”开始。
以下是可能适用于此的项目的链接: http://home .hiwaay.net/~taylorc/gps/nmea-server/
但是,您可能会发现 Google 地球是错误的应用程序,而 Google 纵横实际上执行了您想要的操作。有关更多详情,请参阅 http://en.wikipedia.org/wiki/Google_Latitude。
Google Earth 6 has a menu option, Tools > GPS that calls up a GPS Import dialog. Go to the Realtime tab - you can check the NMEA radio box and select a polling interval (how often the track is updated). Google Earth then scans your computer serial ports looking for a GPS device that is attached and sending NMEA on that port.
Of course if your HTC is uploading a file to a server you now have a new project, namely how to stream that file (or rather the updates to the file) over the serial port that Google Earth reads. And that's a new problem all in itself. Google for "sending file over serial port" to get started.
Here is a link to a project that might be adaptable for this: http://home.hiwaay.net/~taylorc/gps/nmea-server/
However, you may find that Google Earth is the wrong application, and that Google Latitude actually does what you want. See http://en.wikipedia.org/wiki/Google_Latitude for more details.
也许 Google 地球中的网络链接是正确的解决方案:如果定义一个 URL,GE 在其中查找要显示的 KML 文件。 GE 每次轮询 URL 时,都会返回您手机的动态位置。
http://code.google.com/apis/kml/documentation/kmlreference .html#networklink
Maybe a network link in Google Earth is the right solution: if defines an URL where GE looks for the KML file to display. Each time GE polls the URL, it can return the dynamic position of your phone.
http://code.google.com/apis/kml/documentation/kmlreference.html#networklink