当前位置:网站首页>GPS数据格式转换[通俗易懂]
GPS数据格式转换[通俗易懂]
2022-07-05 12:13:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
经纬度格式分为三种:度、 度–分、 度–分–秒
1.)ddd.ddddd °【度.度 格式】的十进制小数部分(5位)
2.)ddd°mm.mmm’ 【度分.分 格式】的十进制小数部分(3位) NMEA数据格式为$GPGGA时,得到gps数据为(度分.分)格式
3.) ddd°mm’ss’’ 【度.分.秒 格式】
Google 使用的是第三种格式 度。分’秒’’
度分转换:
将度分单位数据转换为度单位数据
度=度+分/60
例如: 经度 = 116°20.12’ 纬度 = 39°12.34’
经度 = 116 + 20.12 / 60 = 116.33533°
纬度 = 39 + 12.34 / 60 = 39.20567°
度分秒转换:
将度分秒单位数据转换为度单位数据
度=度+分/60 +秒/60/60
例如: 经度 = 116°20’43” 纬度 = 39°12’37”
经度 = 116 + 20 / 60 + 43/60/60 = 116.34528°
纬度 = 39 + 12 / 60 + 37/60/60 = 39.21028°
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/149207.html原文链接:https://javaforall.cn
边栏推荐
- 1. Laravel creation project of PHP
- Error modulenotfounderror: no module named 'cv2 aruco‘
- Seven polymorphisms
- What is the difference between canvas and SVG?
- Hiengine: comparable to the local cloud native memory database engine
- Yolov5 target detection neural network -- calculation principle of loss function
- 互联网公司实习岗位选择与简易版职业发展规划
- 【TFLite, ONNX, CoreML, TensorRT Export】
- leetcode:1200. Minimum absolute difference
- [calculation of loss in yolov3]
猜你喜欢

Simple production of wechat applet cloud development authorization login

【 YOLOv3中Loss部分计算】

Reinforcement learning - learning notes 3 | strategic learning

【L1、L2、smooth L1三类损失函数】

Pytorch softmax regression

Mmclassification training custom data

【PyTorch预训练模型修改、增删特定层】
![[pytorch pre training model modification, addition and deletion of specific layers]](/img/cb/aa0b1116ec9b98e3ee5725aa58f4fe.png)
[pytorch pre training model modification, addition and deletion of specific layers]

Uniapp + unicloud + Unipay realize wechat applet payment function

Four operations and derivative operations of MATLAB polynomials
随机推荐
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
无线WIFI学习型8路发射遥控模块
Yolov5 target detection neural network -- calculation principle of loss function
【L1、L2、smooth L1三类损失函数】
Principle of redis cluster mode
【PyTorch预训练模型修改、增删特定层】
Application of a class of identities (vandermond convolution and hypergeometric functions)
Intern position selection and simplified career development planning in Internet companies
图像超分实验:SRCNN/FSRCNN
Open3d mesh (surface) coloring
Liunx prohibit Ping explain the different usage of traceroute
嵌入式软件架构设计-消息交互
[HDU 2096] 小明A+B
What is digital existence? Digital transformation starts with digital existence
互联网公司实习岗位选择与简易版职业发展规划
Redis master-slave mode
One article tells the latest and complete learning materials of flutter
Recyclerview paging slide