用于实时交通数据的 iOS api(如 geoloqi 和 Waze) [英] iOS api for real time traffic data (like geoloqi and Waze)

查看:17
本文介绍了用于实时交通数据的 iOS api(如 geoloqi 和 Waze)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在访问一些服务 api 网站,但找不到我要找的东西.我的问题更多是针对使用哪些资源,而不是具体应该如何使用.

I have been visiting some services api website but can't find what I am looking for. My question is more aimed at what resources to use rather than how exactly it should be done.

我的 iphone 应用要求能够跟踪附近的用户、正在通勤的用户并在地图上定位他们.额外的要求可能是给他们发短信、打电话、与他们进行视频会话等.在高层次上,这将转换为类似

My iphone app requirement is to be able to track users that are nearby, are commuting and locate them on map. Additional requirement maybe texting them, call them, have video session with them etc. On a high level, this will convert to something like

  • 根据经纬度获取用户详细信息
  • 了解他们是否是订阅服务的注册用户
  • 向用户发送消息
  • 使用 iphone 电话 API 或专用应用会话呼叫用户
  • 视频通话

Waze 就是其中之一.虽然它是开源的,但关于如何将其用作实时交通数据的后端的文档却很少.

Waze is one of them. While it is open source, there is quite less documentation on how one can use it as backend for real time traffic data.

然后是这个 Geoloqi,它是付费的,但有 iOS SDK 和丰富的 api.但是,当我查找上面列出的要求时,我找不到对我有用的部分.我相信一定有很多应用程序已经依赖于这样一个有用的服务.如果其中任何一个是开源/教程,那么对于我来说,geoloqi 的可行性将是最有用的资源.Geoloqi 还向用户收取使用他们的 api 的费用,因此了解哪些功能的价格对我来说也很重要.

Then there is this Geoloqi which is paid, but has iOS SDK as well as rich api. However I cannot find sections that are useful to me when I look up to my requirements listed above. What I believe is that there must be many apps already relying on such a useful service. If any of them are open source / tutorials, it would be most useful resource for me for feasibility of geoloqi. Geoloqi also charges users for using their api, so it is also important for me to know what features come at what price .

推荐答案

对于您感兴趣的数据/信息级别以及功能,您应该制作自己的应用程序,我认为您不需要那些 API.

For the level of data/information your interested in, and the functionality, you should just make your own app, I dont think you need those APIs.

您可以找到使用您的应用程序的人的坐标并将其发送到您的服务器.然后你需要确定它们之间的距离,看看它们是否在谈话区域,或者你上面列出的任何其他功能.

You can find and send the coordinates of the people who are using your app to your server. Then you need to determine the distance between them, to see if they are in the zone of talking, or whatever other functionality you have listed above.

要确定两个人之间的距离,这个答案应该会有所帮助:Calculate distance between2 GPS坐标

To determine the distance between two people, This answer should be helpful: Calculate distance between 2 GPS coordinates

这篇关于用于实时交通数据的 iOS api(如 geoloqi 和 Waze)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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