I have a gps module that gives me latitude in longitude in a weird format.
DDDMM.MMMM
As written in the user manual, Degrees * 100 + Minutes.
As far as I know, these are degrees minutes seconds, and seconds between 0-59, higher than this will increase the minute. But it gives minutes in decimal places. Does this mean 1 / 1000th of a minute?
eg. 07717.3644 E 077 --> degrees 17 --> minutes 3644 --> ? E --> Direction
Just as I will convert it to decimal, I use the formula
decimal = degrees + minutes/60 + seconds/3600.
c javascript embedded latitude-longitude gps
Ishmeet
source share