简体   繁体   English

负高度值

[英]Negative altitude value

I am getting negative altitude value when finding latitude , longitude and altitude. 在找到纬度,经度和海拔高度时,我得到负高度值。 Can anyone help me to find the reason for it ? 任何人都可以帮我找到原因吗?

Short of seeing the code which produces these values, there's not much I can offer beyond general knowledge. 如果没有看到产生这些价值的代码,那么除了一般知识之外,我所能提供的并不多。

GPS altitudes generally use a geodetic model for an idealised sea level (the zero altitude), basically mapping an ellipsoid onto a less-than-perfectly-shaped planet (which varies anyway with things such as lunar tidal forces). GPS高度通常使用大地模型来获得理想化的海平面(零海拔高度),基本上将椭圆体映射到不完美形状的行星上(不管怎样,月球潮汐力都会变化)。 See WGS84 here for more details. 见WGS84 这里了解更多详情。

The normal error is about +/- 15m, and this only applies about 95% of the time. 正常误差约为+/- 15m,这仅适用于约95%的时间。 According to the specs I remember, the other 5% of the time can have an altitude of any value. 根据我记得的规格,其他5%的时间可以有任何值的高度。

And, of course, if your GPS doesn't have an unobstructed pathway between it and the satellites, the error range is much greater. 当然,如果您的GPS与卫星之间没有畅通无阻的通道,则误差范围要大得多。

These potential errors are no doubt why aircraft rely more on altimeters or ILS for their near-ground activities. 这些潜在的错误无疑是为什么飞机更多地依靠高度计或ILS来进行近地活动。

As one site puts it: 正如一个网站所说:

What this means is that if you are walking on the seashore, and see your altitude as -15 meters, you should not be concerned. 这意味着如果你在海边散步,看到你的海拔高度为-15米,你就不应该担心。

Of course, if you're having troubles breathing, you may want to look more closely at how wet you are :-) 当然,如果你有呼吸困难,你可能想更仔细地看看你有多湿:-)

Well, altitude in context of GPS coordinates represents your elevation according to the sea level. 那么,GPS坐标的高度表示根据海平面的高度。 So I assume your current position is just below the sea level. 所以我假设你现在的位置刚好低于海平面。 Yeah, this is possible ;) 是的,这是可能的;)

The GPS altitude is the altitude above the GPS WGS84 reference elipsoid (which is different from sea level and does not take hills into account!). GPS高度是GPS WGS84参考elipsoid之上的高度(与海平面不同,不考虑山丘!)。 A negative altutude means (if it not due to a bad signal) that you are below the reference elipsoid. 否定altutude意味着(如果不是由于信号不好)你低于参考elipsoid。

Here is more information on how to get more accurate altitude: https://stackoverflow.com/a/9432382/1127492 以下是有关如何获得更准确高度的更多信息: https//stackoverflow.com/a/9432382/1127492

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM