Code heavily forked from (Aleiby).
Converts the flight activity collected by the Garmin D2 Mach 1 (should also work for the D2 Air X10) GPX tracklogs to G1000 CSV for importing to ForeFlight
- Export the Garmin Flight activity to GPX
- Run converter.py <gpx_file> python script (requires a python installation and referenced modules)
- Upload resulting csv files to where you can easily access them on your iDevice (e.g. Google Drive, iCloud)
- Import into ForeFight on your mobile device from More > Track Logs (link)