iPhone的GPS精度 - 读取更改事件尽管设备是静止的 [英] iPhone GPS Accuracy - Reading Changes eventhough Device is stationary

查看:124
本文介绍了iPhone的GPS精度 - 读取更改事件尽管设备是静止的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一款旨在计算从起点到终点的距离的应用程序。
我已经做了所有事情来获得不断变化的坐标并测量这些坐标之间的距离。
现在真正的问题是,即使我的iPhone在几秒钟后保持静止,GPS读数显示偏差,CLLocationDistance告诉我我移动了几百米,而我还没有移动一点。
有什么我可以做的事情提高我的应用程序的精度??

预先感谢。

解决方案

iPhone上的GPS可以保护电池。第一组坐标将是手机的最后一个已知坐标。
根据您希望的精度,它会尝试并获得更好的修复,首先将使用无线或手机信号塔的三角测量。

过了一会儿,GPS信号通过,并给你一个更精确的位置,iOS只会停止更新,如果你告诉它或者是否符合期望的精度。

你可以做的是检查收到的位置的准确性,看看它是否符合你的标准。
没有办法只是得到最累计的修理费,这只是需要一些时间。

I am working on an app that is meant to calculate the distance traveled from starting point to end. i have done all things to get the changing coordinates and measure the distance between this co-ordinates. Now the real problem is even though if I keep my iPhone stationary after few seconds the GPS readings shows deviation and CLLocationDistance tells me that I had moved few 100 meters whereas I haven't moved a bit also. Is there anything I can do increase the precision of my app ??

Thanks in advance.

解决方案

The GPS on the iPhone works in away to preserve battery. The first set of coordinates will be the last know coordinates of the phone. And depending on the accuracy you desire it will try and get a better fix, first will use triangulation on wifi or cell towers.

After a while the GPS signal come thru and gives you a more precise position and the iOS will only stop update if you tell it to or if the desired accuracy is met.

What you can do is check the accuracy of the postion received and see if it meets you criteria. There is no way to just get the most accrued fix wright away, it's just going to take some time.

这篇关于iPhone的GPS精度 - 读取更改事件尽管设备是静止的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆