Petrichor-Labs / nmea_data_convert

Convert NMEA data to CSV files, or import NMEA data to PostgreSQL database
13 stars 3 forks source link

Geographic coordinate conversion #4

Closed marcuzz0 closed 2 years ago

marcuzz0 commented 2 years ago

Hi,

is it possible after extrapolating "lat "and "lon" coordinate to automatically convert it into sexagesimal or sexadecimal degrees? Maybe I'm not getting something back? I attach the file:

2022-07-09_18-14-05-190.log 2022-07-09_18-14-05-190_GNGGA.csv

nabelekt commented 2 years ago

Hey, @marcuzz0. Sorry about the delay here. As you can see, what you are getting in your output is what is contained in the NMEA GGA sentence. For that, no further conversion is done by this library. It would have to be done as a post processing step. If you know Python or a similar language, I think it would be a pretty short script.

marcuzz0 commented 2 years ago

yes, thank you, I made an ad hoc script