Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat does horizontalAccuracy exactly mean?
    primarykey
    data
    text
    <p>I am working on an iOS application using location services. Having a background in experimental physics, I am wondering what exactly <code>horizontalAccuracy</code> in a <code>location</code> found in <code>locationManager:didUpdateToLocation:fromLocation:</code> stands for. The documentation is a bit sparse...</p> <p>I assume that the accuracy gives a confidence interval based on a gaussian (or poisson?) distribution. Thus, with a certain probability, the actual position is within a circle with a radius of <code>horizontalAccuracy</code>, but could as well be outside that area. The question is then: how big is that probability? If <code>horizontalAccuracy</code> corresponds to 1&sigma;, I'd have a probability of 68% to be within that circle with <code>horizontalAccuracy</code>, but looking the other way around, in nearly one third of the cases, the actual position will be outside that area. Thus, in certain cases, I'd rather use 2&sigma; (<code>2*horizontalAccuracy</code>) or even 3&sigma; (<code>3*horizontalAccuracy</code>) to calculate with.</p> <p>To put it short: is there any indication somewhere, which confidence interval <code>horizontalAccuracy</code> has?</p> <p>Comment to all who respond "Apple says it is within": Well - the measurement can not be exact. It must have a certain level of uncertainty. If you repeat the measurement very often, you will get a distribution of results - probably a gaussian distribution. This gaussian has a certain width, which corresponds to the level of uncertainty of the measurements. Measuring the position more often will reduce the uncertainty and thus increase accuracy, but never will give you a distinct interval where the actual position is guaranteed to be in. You will only get a probability. But if the accuracy is 3sigma, we have 99,7% - which is close to certain. To put it short - I doubt the documentation from Apple.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload