简体   繁体   English

如何获得建筑物iphone内的当前位置

[英]how to get current location inside a building iphone

How is it possible to obtain the current location inside a building. 如何获得建筑物内的当前位置。 I want to develop an application similar to this http://matadornetwork.com/goods/point-inside-indoor-map-application-for-the-iphone-and-android/ (on a smaller/less complicated scale) and wondering on the approach i should take. 我想开发一个类似于这个http://matadornetwork.com/goods/point-inside-indoor-map-application-for-the-iphone-and-android/的应用程序(在较小/较不复杂的规模上)并且想知道关于我应该采取的方法。 Are there any tutorials/examples/articles that would point me in the right direction? 是否有任何教程/示例/文章可以指出我正确的方向? Thanks ... 谢谢 ...

Using kCLLocationAccuracyBestForNavigation or kCLLocationAccuracyBest you can expect to get a relatively accurate location of your user [see Apple's Location Awareness Programming Guide ]. 使用kCLLocationAccuracyBestForNavigationkCLLocationAccuracyBest您可以获得相对准确的用户位置[请参阅Apple的位置感知编程指南 ]。 You need to consider that 你需要考虑这一点

  • Indoor use of the GPS will make precise location difficult 室内使用GPS将使精确定位变得困难
  • iPod Touch and iPad users won't be able to get precise location iPod Touch和iPad用户将无法获得精确的位置
  • I doubt altitude will be precise enough to make the difference between floors in high rises 我怀疑海拔高度是否足够精确,以便在高楼层之间产生差异

Also consider you'll have to gather a ton of information on the buildings you want to map (not only draw their floorplan but also get their precise coordinates). 还要考虑你必须收集大量关于你想要绘制的建筑物的信息(不仅要绘制它们的平面图,还要得到它们的精确坐标)。

After you have all this information, presenting a glowing dot on an image shouldn't be difficult, just a matter of transforming the geo coordinates into something more manageable (at the scale of the CGRect of the different images representing the buildings). 获得所有这些信息后,在图像上显示一个发光点应该不难,只需将地理坐标转换为更易于处理的事物(在代表建筑物的不同图像的CGRect的范围内)。 No need to use mapkit. 无需使用mapkit。

As of the software your linking to, I have doubts it can accurately delivers results in term of the current location of users (but still being useful to get phone numbers and compass information for example). 在您链接到的软件中,我怀疑它可以根据用户的当前位置准确地提供结果(但仍然有助于获取电话号码和指南针信息)。 Unfortunately though, this kind of technology is very promising. 不幸的是,这种技术非常有前途。

用于手持设备的室内导航系统显示了室内导航如何工作的一些可能性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM