当前位置:网站首页>Conversion du format de données GPS [facile à comprendre]
Conversion du format de données GPS [facile à comprendre]
2022-07-05 12:13:00 【Chef de station du programmeur de pile complète】
Bonjour tout le monde,On se revoit,Je suis ton ami, le chef de l'armée..
Il existe trois formats de latitude et de longitude:Degré、 Degré–Points、 Degré–Points–Secondes
1.)ddd.ddddd °【Degré.Degré Format】La partie décimale de(5Bits)
2.)ddd°mm.mmm’ 【Degrés.Points Format】La partie décimale de(3Bits) NMEADonnéesLe format est$GPGGAHeure,Je l'ai.gpsLes données sont les suivantes:(Degrés.Points)Format
3.) ddd°mm’ss’’ 【Degré.Points.Secondes Format】
Google Un troisième format est utilisé Degré.Points’Secondes’’
Conversion des degrés:
Convertir les données des unités de degré en données des unités de degré
Degré=Degré+Points/60
Par exemple: Longitude = 116°20.12’ Latitude = 39°12.34’
Longitude = 116 + 20.12 / 60 = 116.33533°
Latitude = 39 + 12.34 / 60 = 39.20567°
Conversion degrés - minutes - secondes:
Convertir les données des unités de degrés - minutes - secondes en données des unités de degrés
Degré=Degré+Points/60 +Secondes/60/60
Par exemple: Longitude = 116°20’43” Latitude = 39°12’37”
Longitude = 116 + 20 / 60 + 43/60/60 = 116.34528°
Latitude = 39 + 12 / 60 + 37/60/60 = 39.21028°
Éditeur:Programmeur de pile complète,Veuillez indiquer la source de la réimpression.:https://javaforall.cn/149207.htmlLien vers le texte original:https://javaforall.cn
边栏推荐
- 一款新型的智能家居WiFi选择方案——SimpleWiFi在无线智能家居中的应用
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
- Xi IO flow
- Simple production of wechat applet cloud development authorization login
- 【load dataset】
- 【上采样方式-OpenCV插值】
- pytorch-线性回归
- Codeforces Round #804 (Div. 2)
- II. Data type
- Uniapp + unicloud + Unipay realize wechat applet payment function
猜你喜欢

Principle of redis cluster mode

July Huaqing learning-1

Get all stock data of big a
![[cloud native | kubernetes] actual battle of ingress case (13)](/img/1a/9404f6dcedd15827fa45f8f6f4c093.png)
[cloud native | kubernetes] actual battle of ingress case (13)

【主流Nivida显卡深度学习/强化学习/AI算力汇总】

Master the new features of fluent 2.10

【 YOLOv3中Loss部分计算】

Linux Installation and deployment lamp (apache+mysql+php)

Why learn harmonyos and how to get started quickly?

【TFLite, ONNX, CoreML, TensorRT Export】
随机推荐
Select drop-down box realizes three-level linkage of provinces and cities in China
Take you two minutes to quickly master the route and navigation of flutter
[yolov3 loss function]
One article tells the latest and complete learning materials of flutter
自动化测试生命周期
Tabbar configuration at the bottom of wechat applet
[singleshotmultiboxdetector (SSD, single step multi frame target detection)]
【load dataset】
想问问,如何选择券商?在线开户是很安全么?
How to make your products as expensive as possible
【 YOLOv3中Loss部分计算】
Recyclerview paging slide
July Huaqing learning-1
MySQL data table operation DDL & data type
Flutter2 heavy release supports web and desktop applications
Proof of the thinking of Hanoi Tower problem
Why learn harmonyos and how to get started quickly?
Pytorch MLP
mmclassification 训练自定义数据
Mmclassification training custom data