如何使用iphone获取建筑物内的当前位置? [英] How to obtain the current location inside a building using an iphone?

查看:123
本文介绍了如何使用iphone获取建筑物内的当前位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用来自iphone os sdk的map框架和来自cloudmade的routemap api玩了一段时间,并且使用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.

我有一个建筑物(机场,商场等)的地图转换成某种瓷砖,我的问题是什么是获得手机当前位置的最佳方法在建筑物内?我知道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.

推荐答案

除非你有一种奇怪的建筑(即无线电透明屋顶),你不会在建筑物内部获得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.

编辑:想到它,一些商场有一个玻璃屋顶,所以有可能在某些地方获得GPS定位。一些小型机场航站楼有大玻璃墙,但如果它们非常小,你不太可能想要一张地图。

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.

这篇关于如何使用iphone获取建筑物内的当前位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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