Skip to content

twpayne/go-igc

Repository files navigation

go-igc

PkgGoDev

Package igc handles IGC files.

Features

  • Robust, flexible parser for real IGC files, including common deviations from the IGC specification.
  • Support for all IGC record types.
  • Support for B record additions.
  • Support for K record additions.
  • Support for sub-second resolution timestamps with the TDS B record addition.
  • Support for high-resolution coordinates with the LAD and LOD B record additions.
  • Support for UTC midnight rollover.
  • Support for CIVL's Open Validation Server.

Validation

A simple command line client for CIVL's Open Validation server is included. Install and run it with:

$ go install github.com/twpayne/go-igc/cmd/validate-igc@latest
$ validate-igc filename.igc
filename.igc: Valid
$ echo $?
0

The exit code is 0 if the IGC file is valid, 1 if it is invalid, or 2 if it could not be validated.

License

MIT

About

Package igc handles IGC files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages