简体   繁体   English

如何实现网络三角剖分?

[英]How to implement Network Triangulation?

I am developing an application in android 2.2 to identify location of user by Network: 我正在android 2.2中开发一个应用程序,以通过网络识别用户的位置:

1) First: 1)首先:

location= (GsmCellLocation)tm.getCellLocation();

cellId= location.getCid();

lac= location.getLac();

2) Second 2)第二

wonder "http://www.google.com/glm/mmap" to get latitude and longitude and range. 想知道“ http://www.google.com/glm/mmap”以获得纬度,经度和范围。

3) Third 3)第三

I repeat this step three times to obtain information from three different cells 我重复此步骤三遍,以从三个不同的单元获取信息

How can I implement the triangulation? 如何实现三角剖分? It is possible to perform a mapping between latitude/longitude and xy co-ordinates? 是否可以在纬度/经度与xy坐标之间执行映射?

I think I've solved it... many thanks. 我想我已经解决了...非常感谢。

  1. I have converted coordinates into radians. 我已将坐标转换为弧度。

  2. I have changed the latitude/longitude (in radians) to ECEF xyz. 我已将纬度/经度(以弧度为单位)更改为ECEF xyz。

  3. I've done some math to calculate the intersection of three circles. 我已经做了一些数学运算来计算三个圆的交点。

  4. I've re-converted the coordinates of this intersection, from ECEF to latitude & longitude and subsequently to degrees. 我已经将这个交集的坐标从ECEF重新转换为纬度和经度,然后又转换为度。

您可以使用得到的三角形的顶点进行线性插值

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

相关问题 Android中的网络三角剖分 - Network Triangulation in Android 如何在Android中实现Mesh网络 - How to implement a Mesh network in Android 如何为实时游戏实现网络 - how to implement network for real time game 这是如何工作的。 寻找电话的三角测量 - How does this works. Triangulation to find a phone 如何在Android的评论屏幕上实现网络通话的最佳做法? - How are the best practices to implement network calls on a comments screen on Android? Android系统。 从数据库中获取数据,然后进行网络查询。 如何执行? - Android. Fetch data from database and then make network query. How to implement? 如何在ZeroMQ(jzmq)中使用XPUB和XSUB与代理实现Pub-Sub网络 - how to implement Pub-Sub Network with a Proxy by using XPUB and XSUB in ZeroMQ(jzmq) 3.xx 如何不使用AsyncTask和不使用库在Android中实现长时间运行的网络上传 - How to implement long-running network uploads in Android not using AsyncTask and not using libraries 如何实现网络通话,当用户在另一个通话中并且他的通话不受干扰 - How to implement network calling , when the user is in another call and his call is not disturbed 实施MVP,将数据从网络传递到列表视图 - Implement MVP for passing data from network to listviews
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM