Android的:如何获得准确的海拔高度? [英] Android: How to get accurate altitude?
本文介绍了Android的:如何获得准确的海拔高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要得到高度利用GPS的精确测量只。
I need to get an accurate measurement of altitude using GPS only.
我试过Location.getAltitude(),但是这是非常不准确的。 有什么建议?
I tried Location.getAltitude(), but that is terribly inaccurate. Any advice?
推荐答案
有两个问题与使用智能手机/平板电脑的GPS海拔高度:
There are two issues with using altitude of a smartphone / tablet GPS:
- 在海拔的WGS84参考椭球以上的高度。它不是地面水平以上或海平面的高度。下面是关于它的更多细节:<一href="http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=10915">http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=10915.这个误差可以被校正;这里是一本介绍如何做到这一点的手:<一href="http://www.unavco.org/edu_outreach/tutorial/geoidcorr.html">http://www.unavco.org/edu_outreach/tutorial/geoidcorr.html.该网站的文章链接到一个计算器,以获得大地水准面的修正;我不知道是否还有一个Web服务可用于该计算。
- 的GPS海拔高度是非常不准确相对便宜的GPS接收机。这是上一篇文章: http://gpsinformation.net/main/altitude.htm 。一种方法来应对这种不精确的是过滤高度数据。我用了一个圆形阵列记住过去的几年(我用4)高度测量并计算平均值。这足以让垂直速度的一个相对准确的读数为我的申请。
- The altitude is the altitude above the WGS84 reference ellipsoid. It is not the altitude above ground level or sea level. Here is more detail on that: http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=10915. This error can be corrected; here is a description how to do that by hand: http://www.unavco.org/edu_outreach/tutorial/geoidcorr.html. The web article links to a calculator to get the Geoid height for correction; I do not know if there is also a web service available for this computation.
- The GPS altitude is terribly inaccurate for relatively cheap GPS receivers. Here is an article on that: http://gpsinformation.net/main/altitude.htm. One method to cope with this kind of inaccuracy is to filter the altitude data. I used a circular array data structure to remember the last few (I used 4) altitude readings and compute the average. This sufficed to get a relatively accurate reading of vertical speed for my application.
这篇关于Android的:如何获得准确的海拔高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文