地理定位:有没有办法找到某人是否正在上升的高度
我正在尝试开发一个应用程序,在该应用程序中我必须跟踪人们是否在建筑物的不同楼层上行走。我尝试使用 GeolocationAPI 给我海拔高度(以米为单位),但由于它是同一栋建筑,纬度、经度将相同,并且海拔高度始终相同。
我可以使用的语言是 Javascript / Actionscript 尝试做一个 Andoid air / ios 应用程序。
I am trying to develop an application in which i have to track if people are travelling up on different floor in the building. I tried using GeolocationAPI that gives me altitude in meters above the sea level but as its a same building the lat,long is going to be the same and altitude is always same.
The languages I can use is Javascript / Actionscript trying to do a Andoid air / ios application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
海拔几米就是你想要的。当用户在建筑物中上下移动时,海拔高度会发生变化。
您将面临的真正挑战是准确测量这一点。在室外条件良好的情况下,GPS 的精确度约为 +-10 英尺左右。在大多数建筑物中,楼层之间的距离为 10-12 英尺(当然差异很大)。因此,即使在最好的条件下,您也很难确定楼层。实际上,在建筑物中您将很难获得准确的 GPS。
Meters above sealevel is what you want. The user's height above sea level will change as they move up and down in the building.
The real challenge you are going to have is accurately measuring that. In good conditions outside your GPS can have an accuracy around +-10 feet or so. In most buildings the distance between floors will be 10-12 feet (of course that varies a lot). So even in best conditions you will have difficulty determining floor. Actually in a building you will have a very difficult time getting accurate GPS at all.