Format type of GPS data

∥☆過路亽.° 提交于 2019-12-25 12:46:40

问题


While getting GPS data from a receiver I get it in this format 4119.03283,7203.39095. Does anybody know what kind of format that is? I just can't get my mind around what format this is like is it DMS, Decimal?


回答1:


The format is called DM (Degrees and decimal minutes).

4119.03283,7203.39095

is 41° and 19.03283 minutes (the first two digits in latitude), same for

7203.39095: 72° 3.39095' (attention here: it should be 3 digits for longitude: so 07203.39095, check if you have 5 digits before comma, then the first 3 are degrees, else the first 2 are degrees. check further for missing leading zerors)

to convert to decimal degrees (format name DEG): 72 + 3.39095 / 60.0



来源:https://stackoverflow.com/questions/24393593/format-type-of-gps-data

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!