
The
For-
mats
21
If multiple track segments are provided in the input file, the one with the most points will be used.
A route stored in another format representing a task declaration can be converted into an IGC file:
gpsbabel -i gpx -f myrte.gpx -o igc -F mytask.igc
A route and a track in other formats can be included into a single IGC file:
gpsbabel -i gpx -f mytrk.gpx -f myrte.gpx -o igc -F myflight.igc
A similar result can be obtained by downloading the track log and routes directly from a GPS device
connected to a PC. For example to create an IGC file from data recorded in a Garmin GPS connected to
the first serial port of a PC running Linux:
gpsbabel -t -r -i garmin -f /dev/ttyS0 -o igc -F myflight.igc
For Windows operating systems:
gpsbabel -t -r -i garmin -f com1 -o igc -F myflight.igc
A waypoint file in another format containing a waypoint whose short name is "PILOT" can be merged into
an IGC file. The description field of the waypoint will be used for the pilot name in the IGC file header:
gpsbabel -i gpx -f mytrk.gpx -f myrte.gpx -f mywpt.gpx -o igc -F
myflight.igc gpsbabel -w -t -r -i garmin -f /dev/ttyS0 -o igc -F
myflight.igc
Some formats such as GPX allow routes, tracks and waypoints to exist in the same file and can be used
to fully populate an IGC file:
gpsbabel -i gpx -f myall.gpx -o igc -F myflight.igc
Converting from IGC format
Data in an IGC file can be converted into other formats. For example to generate OziExplorer files contain-
ing tracks representing the recorded flight (myozi.plt) and routes representing declared tasks (myozi.rte):
gpsbabel -i igc -f myflight.igc -o ozi -F myozi
Or to GPX format:
gpsbabel -i igc -f myflight.igc -o gpx -F myflight.gpx
Header information from the IGC file will be written to the description field of the track(s).
If both pressure altitude and GNSS altitude are recorded in the IGC file, two tracks will be written to the
new track file, representing the two altitude tracks. The latitude, longitude and timestamps in the tracks
will be identical.
Comentarios a estos manuales