Formula for converting GPS data
pilgrim45
Posted messages
47
Status
Membre
-
pilgrim45 Posted messages 47 Status Membre -
pilgrim45 Posted messages 47 Status Membre -
Hello,
I am looking for a formula to convert GPS data from the format XX.YYY.ZZZ to degrees, format 00.0000000000, or a formula to convert angle units from radians to degrees.
Thank you in advance for any help provided on this subject.
Best regards.
I am looking for a formula to convert GPS data from the format XX.YYY.ZZZ to degrees, format 00.0000000000, or a formula to convert angle units from radians to degrees.
Thank you in advance for any help provided on this subject.
Best regards.
2 réponses
Hello,
Your first format is undoubtedly DMS (degrees - minutes - seconds), and not radians! The principle of conversion is similar to hours - minutes - seconds.
So D_with_decimals = X + Y/60 + Z/3600
You can check it with https://www.coordonnees-gps.fr/conversion-coordonnees-gps
See you!
Your first format is undoubtedly DMS (degrees - minutes - seconds), and not radians! The principle of conversion is similar to hours - minutes - seconds.
So D_with_decimals = X + Y/60 + Z/3600
You can check it with https://www.coordonnees-gps.fr/conversion-coordonnees-gps
See you!