如何使用iPhone获取建筑物内的当前位置?

发布于 2024-09-11 06:57:28 字数 183 浏览 4 评论 0原文

我使用了 iphone os sdk 中的地图框架和 cloudmade 中的路线图 api 玩了一段时间,通过使用 GPS 提供的数据在地图上显示当前位置和其他信息相当容易。

我将建筑物(机场、购物中心等)的地图转换为某种瓷砖,我的问题是获取建筑物内手机当前位置的最佳方法是什么?我知道 GPS 在建筑物内不准确或者可能根本不起作用。

I played for a while with the maps framework from the iphone os sdk and the routemap api from cloudmade and it was fairly easy to display the current location and other information on a map by using the data provided by the GPS.

I have the map of a building(airport, mall etc) transformed in tiles of some sort, my question is what would be the best approach to obtain the current position of a phone inside a building? I know that GPS is not accurate inside buildings or might not work at all.

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

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

发布评论

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

评论(4

遗忘曾经 2024-09-18 06:57:30

Indoor Atlas 绘制建筑物中的磁场图,然后使用智能手机磁力计数据对室内位置进行地理定位,精确到 2 米以内。它基于这样一个事实:建筑物由于其建造材料而具有可预测的磁场。这是我见过的最好的解决方案。您可以免费试用,看看他们是否绘制了您要在其中进行地理定位的特定建筑物的地图。我见过的另一个解决方案需要建筑物内的蓝牙设备来协助地理定位,但由于基础设施要求而不太好。

Indoor Atlas maps magnetic fields in buildings and then uses smartphone magnetometer data to geolocate indoor locations to within 2 meters. It's based on the fact that buildings have predictable magnetic fields due to the materials they are constructed with. It's the best solution I've seen for this. You can try it for free as see if they've mapped the particular buildings you're trying to geolocate inside of. Another solution I've seen requires bluetooth devices within the building to assist with the geolocation, not as good because of the infrastructure requirements.

请爱~陌生人 2024-09-18 06:57:29

除非你有一种奇怪的建筑物(即无线电透明屋顶),否则你不会在建筑物内收到 GPS 信号,除非你靠近窗户,而窗户通常很少(无论如何在商场里)。

您不会从小区三角测量中获得有用的位置信息(无论如何都不是在商场/机场航站楼规模上)。

恐怕我看不到任何方法来完成你正在尝试的事情。


编辑:想一想,有些商场确实有玻璃屋顶,所以在某些地方可能可以找到 GPS 定位。一些小型机场航站楼有很大的玻璃墙,但如果它们很小,您就不太可能需要地图。

Unless you have a strange sort of building (i.e. radio transparent roof), you will not get a GPS signal inside the building, unless you are close to a window, which there are usually very few of (in a mall anyway).

You will not get useful positional information from cell triangulation (not at mall/airport terminal scale anyway).

I'm afraid I can't see any way to do what you are trying.


EDIT: come to think of it, some malls do have a glass roof, so it might be possible to get a GPS fix in some places. And some small airport terminals have big glass walls, although you'd be unlikely to want a map if they were very small.

浅忆 2024-09-18 06:57:29

如果您能够在建筑物内安装一些 WiFi 节点,则可以使用 Navizon 的 室内定位系统
他们有一个关于 iPhone 上的室内导航解决方案的演示视频

If you are able to install a few WiFi nodes inside a building, you can get your location inside this building with Navizon's Indoor Positioning System.
They have a demonstration video of their indoor navigation solution on an iPhone.

此生挚爱伱 2024-09-18 06:57:29

由于您无法使用 GPS 或手机信号塔,因此您需要一些其他类型的射频源,这些射频源具有已知的位置(如 GPS 和手机信号塔所做的那样)。也许这就是您的目标,例如商场或机场等已知位置的许多 WiFi 路由器,您可以“ping”掉它们。当然事情没那么简单——一篇有趣的研究论文 此类服务由 Microsoft Research 负责:事实上,他们编写关于可能的应用,例如商场或机场。

Since you can't use GPS or Cell towers, you'll need some other sort of RF sources, that have known positions (as GPS and Cell Towers do) Perhaps that's what you're targeting anyway, something like a mall or airport with a number of WiFi routers in known locations, that you could "ping" off. It's not that simple of course --- an interesting research paper on such a service is at Microsoft Research: In fact they write about possible applications such as malls or airports.

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