iPhone 和 Android 上的 GPS...有什么方法可以获取手机的确切位置(不是近似位置)?
我知道这主要是“近似”。
但是,我必须知道手机的确切位置,无论电池寿命或其他什么。 我需要手机的确切位置!是否可以?
I know that it's mostly "approximate".
But, I must know the EXACT location of the phone, regardless of battery life or whatever.
I need the exact location of the phone! Is it possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这取决于你具体的意思!
任何定位技术都具有一定程度的准确性,这在很大程度上取决于您使用的硬件。军用规格 GPS 的成本将比 iPhone 中的芯片组高得多,而且也会消耗更多电量。
我在开阔的空间中使用带有 iPhone 3GS GPS 的浏览器获得的最佳精度是 +/-17m
通常最好围绕此设计应用程序,例如大多数转弯卫星导航假设您必须在路上,并且更正此位置。
It depends on what you mean by exact!
Any location technology will have a level of accuracy and much of this depends on the hardware your using. Mil spec GPS will cost a lot more than the chipset in your iPhone and use a lot more power too.
The best I've managed to get using the browser with iPhone 3GS GPS in wide open space is +/-17m
Usually its best to design you application around this for example most turn by turn sat-nav assumes you must be on a road and correct the location for this.
不确定性原理说不。
Uncertainty principle says no.
定义“精确”,然后我们会告诉您。如果它没有移动并且你有一个月的时间,那么可能会比一毫米好(他们以这种方式跟踪地震断层)。但如果它在移动,或者没有良好的天空视野,那么它的效果就不会那么好。进行长期平均的数学计算相当繁重。
Define 'exact' and then we'll tell you. If it doesn't move and you've got a month, then better than a millimeter is probably possible (they track earthquake faults this way). But if it's moving, or doesn't have a good view of the sky, then it's not going to work nearly so well. And the math to do long-term averaging is pretty heavy going.
从基础物理学的角度来看,这个问题毫无意义。任何物理测量都不可能是精确的。总有一个宽容。即使您返回国家基准点并测量您的位置回到相关点,所进行的测量也会出现错误,从而导致位置不准确。
如果您将设备放在地面上 - 您要测量设备上的哪个位置 - 左上角、设备对角线的交点、天线位置……?
“无论电池寿命如何” - 您是否暗示位置测量必须在断电的情况下进行?
From the point of view of fundamental physics this question is meaningless. No physical measurement can ever be EXACT. There is ALWAYS a tolerance. Even if you went back to your national datum point and surveyed your position back to the point in question there will be errors in the measurements taken that will result in a non exact position.
If you then put your device on the ground - where on the device are you measuring to - the top left corner, the intersection of the diagonals across the device, the antenna position...?
"Regardless of battery life" - are you implying that the position measurement must occur in the absence of power?
查看位置 API 中的精确 GPS 位置(在 Android 上)...这是您将获得的最“准确”的位置。如果你有一个好的 GPS 锁,它可能会小于 10 米。我刚刚在家里测试过,结果<5米。
Look into fine GPS location in the location API's(on Android)...that's the most "exact" you're gonna get. If you get a good GPS lock it'll probably be <10 meters. I just tested while in my house and got <5 meters.