在iOS上使用Core Location进行室内定位 - 不准确? [英] Indoor positioning on iOS with Core Location - not accurate?

查看:170
本文介绍了在iOS上使用Core Location进行室内定位 - 不准确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用WWDC提供的示例代码,我一直在尝试编写一个简单的概念验证应用程序,在我的办公大楼中执行室内定位。我有一个平面图,并在演示代码中替换了标准图像。我还完成了将GPS坐标映射到两个锚点的像素的必要映射。当我在模拟器中运行应用程序并指定静态GPS坐标时,我看到该位置在模拟器中按预期更新。然而,当我在手机上运行它时,体验并不像苹果在视频中宣传的那样无缝。在我的iPhone 5s上,定位到处都是,而且几乎没有接近准确的地方。即使坐在靠近天空的窗户旁边,我仍然得到非常不准确的结果。



我认为这可能与某些事情有关我们的物理布局,WiFi拓扑或其他这样的参数。不过,我也注意到,苹果有一个门户网站,您可以注册您的设施以用于室内定位。这是否与我的应用程序中的糟糕结果有关?我无法想象苹果如何能够帮助这种情况,但认为它可能与它有关。



是否有其他步骤我应该采取提高我的应用程序的准确性?有没有办法利用iBeacons改善室内定位?我还没有找到任何文件说明如此,但也许有人在这里会知道。

你是对的,苹果有门户网站 https://mapsconnect.apple.com 上提供



在此门户网站,您可以添加您的场地,苹果将指导您设置它。然而,您的场地必须具备以下所有属性:





  • 每年访问者数量超过100万美元

  • 完整,准确和缩放后的参考地图的可用性
  • Wi- Fi

  • 如果您的场地拥有所有场地所需的属性,那么您还需要回答这些有关您的使用情况的问题:


    1. 您打算如何使用室内定位? (广告,导航,提供内容)

    2. 您想在室内定位时使用多少场地?
    3. 您有什么类型的场地? (机场,医院,博物馆,购物中心,办公室)
    4. 你有什么类型的平面图? (CAD,BIM,GeoJSON,AI,PDF,PNG等)
    5. 场地是否配备Wi-Fi和/或iBeacon?

    6. 最大会场名称
    7. 最大会场地址

    一旦完成了整个形式并跳过最后一圈,你会被带到一个确认细节的页面。一旦完成,这一切都在他们手中,他们会联系你。


    Using the sample code provided from WWDC, I've been trying to write a simple proof-of-concept app that performs indoor positioning in my office building. I have a floor plan image and replaced the standard image in the demo code. I've also done the requisite mapping of GPS coordinates to pixels for the two anchor points.

    When I run the app in the simulator and specify static GPS coordinates, I see the position updated as expected in the simulator. When I run it on my phone, however, the experience isn't nearly as seamless as Apple advertised in the video. On my iPhone 5s, the positioning is all over the place, and rarely anywhere close to accurate. Even sitting next to a window with a clear line-of-sight to the sky I still get very inaccurate results.

    I would assume that this might have something to do with our physical layout, WiFi topology, or other such parameters. However, I also noticed that Apple has a portal where you can register your facility for use with indoor positioning. Does this have something to do with the poor results in my app? I can't imagine how Apple would be able to help with such a scenario, but thought it might have something to do with it.

    Are there other steps I should take to increase the accuracy of my app? Is there a way to leverage iBeacons for improved positioning indoors? I haven't found any documentation indicating so, but thought maybe someone here would know.

    解决方案

    You're right, Apple has the portal available at https://mapsconnect.apple.com

    At this portal you can add your venue and Apple will guide you on setting it up. However, your venue must have all of the following attributes:

    • Accessible to the general public
    • Annual visitors in excess of 1 million per year
    • Availability of complete, accurate, and scaled reference maps
    • Wi-Fi throughout the area
    • Associated app that's authorized by venue owner

    If your venue has all the required attributes, then you also will need to answer these questions about your usage:

    1. How are you planning to use indoor positioning? (Ads, Navigation, Delivering content)
    2. How many venues would you like to enable with indoor positioning?
    3. What type of venue do you have? (Airport, Hospital, Museum, Mall, Office)
    4. What type of floor plans do you have? (CAD, BIM, GeoJSON, AI, PDF, PNG, etc)
    5. Are the venues equipped with Wi-Fi and/or iBeacon?
    6. Name of the largest venue
    7. Address of the largest venue

    Once you have completed the entire form and jumped through the last hoop, you will be brought to a page that confirms the details. Once done, it's all in their hands and they will contact you.

    这篇关于在iOS上使用Core Location进行室内定位 - 不准确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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