Home Page Forums Raspberry Pi Shields GPS – minutes/seconds don't match with Google maps API Reply To: GPS – minutes/seconds don't match with Google maps API

#2979

Mark
Participant

RESOLVED!
Being a noob w/Lat/Lon I didn’t realize there’s a conversion.
Based on the python example it was simply moving the decimal point, it’s not.
parse degrees (0)XX then take ALL minutes MM.MMMMMM, divide by 60 and move the value to the right of the decimal. Carry out 6 places and round. That’s for the Google API anyway.

Thanks again