Latitude Longitude in wrong format DDDMM.MMMM 2832.3396N

c, embedded, gps, javascript, latitude-longitude

Solution

To convert this to the decimal format, we start by keeping the DD portion and simply divide the MM.MMM by 60 to firm the MMM portion of the decimal format.

43. (48.225/60), -79.(59.074/60)  

43.(0.80375), -79.(0.98456)  

43.80375, -79.98456    

In your case

eg. 07717.3644 E is the DDDMM.MMMM format

077 --> degrees
17 --> minutes
.3644 --> minutes equals to sec/60


decimal = degrees + minutes/60 

decimal = 77 + (17.3644 / 60)  

decimal = 77.28941

See this Link Would help you

Problem

I have a gps module that gives me latitude in longitude in a weird format. ``` DDDMM.MMMM ``` As written on user manual, Degrees*100 + Minutes. As far as I know, It is degrees minutes seconds, and seconds is between 0-59, above than this will increment the minute. But this is giving minutes in decimal places. Does this means 1/1000th of a minute? ``` eg. 07717.3644 E 077 --> degrees 17 --> minutes 3644 --> ? E --> Direction ``` Also how will I convert it to decimal, I am using the formula ``` decimal = degrees + minutes/60 + seconds/3600. ```

Original source