当前位置:网站首页>Analysis and processing of GPS data format [easy to understand]
Analysis and processing of GPS data format [easy to understand]
2022-06-28 13:44:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
GPS The output statements of the receiver are :GPGGA,GPRMC,GPVTG,GPGSV,
1.$GPGGA,GPS Fix data Output statement
Its standard format is :
$GPGGA,(1),(2),(3),(4),(5),(6),(7),(8),(9),M,(10),M,(11),(12)*hh(CR)(LF)
With $GPGGA,082006.000,3852.9276,N,11527.4283,E,1,08,1.0,20.6,M,,,,0000*35 For example , The meaning of each part is as follows ,
(1) location UTC Time :08 when 20 branch 06 second
(2) latitude ( Format ddmm.mmmm: namely dd degree ,mm.mmmm branch );
(3) N/S( North or south latitude ): North latitude 38 degree 52.9276 branch ;
(4) longitude ( Format dddmm.mmmm: namely ddd degree ,mm.mmmm branch );
(5) E/W( East or west longitude ): East longitude 115 degree 27.4283 branch ;
(6) Quality factor (0= No location ,1= real time GPS,2= Difference GPS):1= real time GPS;
(7) Number of satellites available (0~8): Number of satellites available =08;
(8) Horizontal accuracy factor (1.0~99.9); Horizontal accuracy factor =1.0;
(9) Antenna elevation ( The sea level ,-9999.9~99999.9, Company :m); Antenna elevation =20.6m);
(10) The height of the ellipsoid relative to sea level (-999.9~9999.9, Company :m): nothing ;
(11) Difference GPS Data age , real time GPS No time : nothing ;
(12) Differential reference station No (0000~1023), real time GPS No time : nothing ;
* Checksum field ;hh Checksum :35(CR)(LF) enter , Line break .
2. $GPRMC,GPS Recommended location information
Its standard format is :
$GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11><CR><LF>
With $GPRMC,082006.000,A,3852.9276,N,11527.4283,E,0.00,0.0,261009,,*38 For example , The semantics of each part are as follows ,
(1) Standard positioning time (UTC time) Format : Every minute . Seconds seconds seconds seconds (hhmmss.sss).
(2) Positioning status ,A = Data available ,V = Data not available .
(3) latitude , Format : Degrees and minutes . Minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute (ddmm.mmmm).
(4) Latitude distinction , Northern Hemisphere (N) Or the southern hemisphere (S).
(5) longitude , Format : Degrees and minutes . Minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute .
(6) Longitude discrimination , In the east (E) Hemisphere or Western (W) hemisphere .
(7) Relative displacement velocity , 0.0 to 1851.8 knots
(8) Relative displacement direction ,000.0 to 359.9 degree . actual value .
(9) date , Format : Day after day, month after month, year after year (ddmmyy).
(10) Pole variable ,000.0 to 180.0.
(11) Degrees .
(12) Checksum.( Check position )
3. $GPVTG,GPS Ground speed information
Its standard format is :
$GPVTG,<1>,T,<2>,M,<3>,N,<4>,K,<5>*hh
With $GPVTG,0.0,T,,M,0.00,N,0.0,K*50 For example , The semantics of each part are as follows ,
<1> Ground course with true north as reference (000~359 degree , Ahead 0 Will also be transmitted )
<2> Ground course with magnetic north as reference (000~359 degree , Ahead 0 Will also be transmitted )
<3> Ground speed (000.0~999.9 section , Ahead 0 Will also be transmitted )
<4> Ground speed (0000.0~1851.8 km / Hours , Ahead 0 Will also be transmitted )
<5> Mode indication ( only NMEA0183 3.00 Version output ,A= Self positioning ,D= Difference ,E= Estimate ,N= Invalid data )
4. $GPGSV,GPS Visual satellite status output statement
Its standard format is :
$GPGSV,(1),(2),(3),(4),(5),(6),(7),…(4),(5),(6),(7)*hh(CR)(LF)
With $GPGSV,2,1,08,06,33,240,45,10,36,074,47,16,21,078,44,17,36,313,42*78 For example , The semantics of each part are as follows ,
(1) The total GSV The number of sentence messages ;2;
(2) At present GSV Statement number :1;
(3) The total number of visual satellites :08;
(4) Satellite :06;
(5) Elevation (00~90 degree ):33 degree ;
(6) azimuth (000~359 degree ):240 degree ;
(7) Signal-to-noise ratio (00~99dB):45dB( The following is... In turn 10,16,17 Information from satellite );
* Checksum field ;
hh Checksum :78;
(CR)(LF) enter , Line break .
notes : Each statement contains information about up to four satellites , The information of each satellite has four data items , namely :
(4)- Satellite ,(5)- Elevation ,(6)- azimuth ,(7)- Signal-to-noise ratio .
5. $GPGSA,GPS Current satellite information
Its standard format is :
$GPGSA,<1>,<2>,<3>,<3>,,,,,<3>,<3>,<3>,<4>,<5>,<6>,<7>
<1> Pattern :M = Manual , A = Automatically .
<2> Positioning type 1 = Not located , 2 = Two dimensional positioning , 3 = Three dimensional positioning .
<3>PRN Numbers :01 to 32 Table number of satellites in use in the sky , Up to 12 Satellite information .
<4> PDOP Position accuracy factor (0.5~99.9)
<5> HDOP Horizontal accuracy factor (0.5~99.9)
<6> VDOP Vertical precision factor (0.5~99.9)
<7> Checksum.( Check position ).
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/150644.html Link to the original text :https://javaforall.cn
边栏推荐
- Mature case and source code of hash quiz game system development technology
- 2.01 backpack problem
- php获取数字的个位数并替换为指定的尾数
- MySQL从库Error:“You cannot ‘Alter‘ a log table...“
- 如何备份mysql_史上最全的MYSQL备份方法
- 再談exception——异常拋出時會發生什麼?
- 公司领导说,个人代码超10个Bug就开除,是什么体验?
- Jerry's wif interferes with Bluetooth [chapter]
- 2022年中国运维安全产品市场规模及发展趋势预测分析
- i++ , ++i
猜你喜欢

《蛤蟆先生去看心里医生》阅读笔记

众昂矿业着眼氟化工产业,布局新能源产业链

The company leader said that if the personal code exceeds 10 bugs, he will be dismissed. What is the experience?

Introduction to PWN (1) binary Basics

Mobile web training day-1

你的代码会说话吗?(上)

药物发现新方法,阿斯利康团队通过课程学习改进从头分子设计

Inftnews | technology giants accelerate their march into Web3 and metauniverse

Why do more and more users give up swagger and choose apifox

PostgreSQL超越MySQL
随机推荐
Kubernetes' in-depth understanding of kubernetes (II) declaring organizational objects
Nature子刊 | 绘制植物叶际菌群互作图谱以建立基因型表型关系
PHP obtains the beginning and end time of the month according to the month and year
Hubble数据库x某股份制商业银行:冠字号码管理系统升级,让每一张人民币都有 “身份证”
What is generics and how to use generics analysis
Pytorch model parameter adjustment and training related contents
《蛤蟆先生去看心里医生》阅读笔记
Vscode shortcut key
程序员坐牢了,会被安排去写代码吗?
真香啊!最全的 Pycharm 常用快捷键大全!
决策树预测红酒品质
Special test for cold and hot start of app
Visual design tutorial of word cloud
NPOI导出Excel并下载到客户端
(原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)
Stackoverflow 2022 database annual survey
1015. picking flowers
Oracle 云基础设施扩展分布式云服务,为组织提供更高的灵活性和可控性
Operation and maintenance thinking | do you know the relationship between CMDB and monitoring?
腾讯云国际云服务器登录之后没有网络,如何排查?