0

Might be a stupid question, but I don't know the logic behind.

  1. On a Wifi enabled device, GPS coordinates are accurate.(as expected)
  2. Disable Wifi and enable 3G gives a inaccurate coordinates (device location is same as in point 1.).

when a distance is calculated from coordinates in point 1. and 2. Google maps shows a 5min walking distance.

could someone explain the above behavior and is it possible to have same coordinates with 3G?.

4

2 回答 2

2

Android 设备具有三种计算坐标的方法:

  1. GPS:这是“很好”的位置,也是唯一一个准确的位置。
  2. Wifi:使用谷歌在街景时收集的热点数据库。
  3. 3G:使用基站数据库和一些非常粗略的三角测量。

所以 GPS 坐标总是被期望是准确的,但是 wifi 坐标不是,3g 也不是。当然,GPS 精度的代价是它需要相当多的能量(一些手机电池在 GPS 运行的情况下可持续使用 10 多个小时),而 wifi 和 3g 不需要额外的能量,而 wifi/3g 无论如何都会使用。

于 2011-05-02T09:08:55.030 回答
0

3g 坐标取自 3g 塔的位置(并且可能从多个塔进行三角测量)。由于 3g 小区可以跨越塔周围几英亩,坐标只能给你一个近似值。

此外,设备可能刚刚缓存了一个旧位置(尤其是当位置更新通过 GPS 进入并且您不需要 3g 时)。我已经在几十英里外看到了价值——尤其是在乘坐火车并且 3g 网络切换不允许轻松定位时。

于 2011-05-02T09:04:03.147 回答