Formula for converting GPS data

pilgrim45 Posted messages 47 Status Member -  
pilgrim45 Posted messages 47 Status Member -
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.

2 answers

  1. Zoul67 Posted messages 2001 Status Member 149
     
    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!
    13