Firmware: How to convert GPS values to google maps format

hi,

I get values from gps module as follows:

Lat 4057.9106
Long 07413.1862

how do I convert to google maps format:
19°09’58.6"N 72°51’01.4"E

thanks

gps module
https://www.electronicwings.com/particle/gps-module-interfacing-with-particle-photon

https://lmgtfy.com/?q=convert+gps+decimal+to+dms

1 Like

Those decimal Lat/Long coordinates look wrong tho’
The latitude should fall into the range of -90.0 .. +90.0 and longitude into -180.0 .. +180.0