iOS - 辅助 GPS

发布于 2024-12-08 20:59:24 字数 145 浏览 0 评论 0原文

我如何使用 IOS 应用程序使用辅助 GPS 来计算给定区域(例如建筑物)内部(或外部)某人的位置?

  • 是否有可能使其精确到几英尺之内?
  • 这是正确的做法吗?
  • 是否可以在计算中使用多个 wifi 连接?

How would I go about figuring the position of someone inside (or outside) of a given area (such as a building) using assisted GPS with IOS app?

  • Is it possible to have it accurate enough withing a few feet?
  • Is this the right way to go about it?
  • Is it possible to utilize more than one wifi connection in the calculation?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

微暖i 2024-12-15 20:59:24

您的应用程序可以使用核心位置框架来确定设备位置。 Core Location 将使用可用的任何硬件来根据您请求的程度确定设备位置。例如,有些设备有WiFi但没有GPS;其他有 WiFi、GPS 和蜂窝无线电。未来的设备可能会内置其他定位技术。

重点是,作为应用程序程序员,您不必担心这一点。相反,您可以说:“给我一个精确到 100 米的位置”或“当设备从当前位置移动超过 10 米时让我知道”或“给我一个您能管理的最精确的位置。” ”

再次,看看苹果的 核心位置文档,以更好地了解其工作原理。

如果您希望在建筑物内跟踪分辨率为 1 米的设备,则不太可能从 Core Location 获得该信息。已有利用 WiFi 收发器的已知位置进行三角测量的研究,但没有任何进展据我所知,所有商用智能手机均已实现。我认为 iOS 无法让您轻松访问执行此操作所需的数据,因此这可能不太可能。然而,您也可以采取另一种方式:对建筑物周围的多个 WiFi 接收器进行编程,以侦听附近的任何设备,使用该信息对设备的位置进行三角测量,然后通过某些 Web 服务提供该信息。

Your app can use the Core Location framework to determine the device location. Core Location will use whatever hardware is at its disposal to determine the device location to the degree that you request. For example, some devices have WiFi but no GPS; others have WiFi, GPS, and cellular radios. Future devices may have other location technologies built in.

The point is that as an application programmer, you don't worry about that. Instead, you say: "give me a location that's accurate to 100 meters" or "let me know when the device has moved from the current spot by more than 10 meters" or "give me the location with the best accuracy you can manage."

Again, take a look at Apple's Core Location documentation to get a better idea of how it all works.

If you're looking to track a device with, say, 1-meter resolution inside a building, you're not likely to get that from Core Location. There's been research on triangulating position using known locations of WiFi transceivers, but nothing that's implemented in any commercial smart phone that I know of. I don't believe that iOS gives you easy access to the data you'd need to do this, so it's probably not a possibility. You could, however, go the other way: program several WiFi receivers around the building to listen for any nearby devices, use that information to triangulate the devices' positions, and then make that information available via some web service.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文