[英]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. 我想我已经解决了...非常感谢。
I have converted coordinates into radians. 我已将坐标转换为弧度。
I have changed the latitude/longitude (in radians) to ECEF xyz. 我已将纬度/经度(以弧度为单位)更改为ECEF xyz。
I've done some math to calculate the intersection of three circles. 我已经做了一些数学运算来计算三个圆的交点。
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.