GPS跟踪器坐标转换为Google地图格式和精确度 [英] GPS tracker coordinate conversion into google maps format and preciseness
本文介绍了GPS跟踪器坐标转换为Google地图格式和精确度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我拥有发送经纬度给我的服务器的gps tracker,正如它在gps tracker手册中所描述的(Latitude,Longitude的例子一样):
xxmm.dddd,其中
xx = degrees;
mm =分钟;
dddd =分钟的小数部分;例如11度。 26.6639分钟。
我想将收到的坐标转换为Google地图格式,因此我使用的公式为:
result = xx +(mm.dddd)/ 60
因为有一个除法结果可以表示为周期性分数,例如 - 1.6666(6),但是它非常糟糕,因为我失去了很多GPS精度。
问题
- 我接收坐标的格式名称是什么?
- 谷歌地图使用的格式名称是什么?
- 将收到的gps地址转换为Google地图格式的最佳公式是什么?
解决方案
$ b
I own gps tracker that send latitude and longitude to my server, as it is described in gps tracker manual(example for Latitude, for Longitude the same):
xxmm.dddd, where
xx = degrees;
mm = minutes;
dddd = decimal part of minutes; for example 11 deg. 26.6639 min.
I`d like to convert received coordinates into google maps format, for this purpuse I am using formula:
result = xx + (mm.dddd)/60
since, there is a division result could be presented as periodically fraction, for example - 1.6666(6), but it is very bad cause I am loosing so much of GPS preciness.
Questions
- What is the name of format I am receiving coordinates?
- What is the name of format that google maps are using?
- What is the best formula to conversate received gps locations into google maps format?
解决方案
- degrees, minutes, seconds
- decimal degrees
- decimal degrees = degrees + (minutes/60) + (seconds/3600)
这篇关于GPS跟踪器坐标转换为Google地图格式和精确度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文