LoginSignup
3
5

More than 5 years have passed since last update.

Location#getAccuracy() の正確さ

Last updated at Posted at 2013-07-10

まとめると、ロケーションデータ(android.location.Locationのインスタンス)に含まれる経度・緯度・正確さで円を描いた時、実際にデバイスがその円の中に含まれる確率は68%ということのようです。

Get the estimated accuracy of this location, in meters.

We define accuracy as the radius of 68% confidence. In other words, if you draw a circle centered at this location's latitude and longitude, and with a radius equal to the accuracy, then there is a 68% probability that the true location is inside the circle.

In statistical terms, it is assumed that location errors are random with a normal distribution, so the 68% confidence circle represents one standard deviation. Note that in practice, location errors do not always follow such a simple distribution.

This accuracy estimation is only concerned with horizontal accuracy, and does not indicate the accuracy of bearing, velocity or altitude if those are included in this Location.

If this location does not have an accuracy, then 0.0 is returned. All locations generated by the LocationManager include an accuracy.

訳:

ロケーションデータの正確さの推定値をメートルで得る。

正確さは68%信頼区間と定義した。すなわち、このローケーションの緯度と経度を中心に半径正確さメートルの円を描くとすると、68%の確率でこのロケーションの真の値がその円の中に含まれる。

統計学的にいえば、ロケーションのエラー値は正規分布するランダムな値であると仮定し、68%の信頼度は標準偏差1の信頼区間を示す。ただし実際には、ロケーションのエラー値は必ずしもそのような単純な分布ではない。

この正確さの推定値は水平方向にのみ意味があり、向きや速度、高さについてはロケーションデータにそれらの値が含まれているとしても意味はない。

ロケーションデータが正確さを持っていない場合は 0.0 を返す。LocationManagerが生成したロケーションデータはかならず正確さを持っている。
3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5