GPS跟踪器坐标转换为谷歌地图格式和精确度
我拥有 GPS 跟踪器,它将纬度和经度发送到我的服务器,如 GPS 跟踪器手册中所述(例如纬度,经度相同):
xxmm.dddd, where
xx = degrees;
mm = minutes;
dddd = decimal part of minutes; for example 11 deg. 26.6639 min.
我想将收到的坐标转换为谷歌地图格式,为此目的我是使用公式:
result = xx + (mm.dddd)/60
因为,有一个除法结果可以表示为周期性分数,例如 - 1.6666(6),但这是非常糟糕的,因为我失去了很多 GPS 精度。
问题
- 我接收的坐标格式的名称是什么?
- 谷歌地图使用的格式名称是什么?
- 将接收到的 GPS 位置转换为谷歌地图格式的最佳公式是什么?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想将 DDD MM.MMM 转换为十进制度,我假设您知道该位置的东南或西。
纬度示例:
经度示例:
转换:
If you would like to convert DDD MM.MMM to Decimal Degress, I assume that you know the North South East or West for that location.
Example Latitude:
Example Longitude:
Conversion: