# README
goigc
Go library for processing and manipulating IGC files.
Forked from original project by Ricardo Rocha https://github.com/ezgliding/goigc
Usage
TBA
Testing
Tests rely on the golden files. To update the golden files, run the tests with the -update
flag:
go test -update .
Documentation
$ godoc github.com/marni/goigc
# Packages
No description provided by the author
# Functions
DecimalFromDMD returns the decimal representation (in radians) of the given DMD.
DecimalFromDMS returns the decimal representation (in radians) of the given DMS.
Distance returns the sum of distances between each of the points in the Task.
NewBruteForceOptimizer returns a BruteForceOptimizer with the given characteristics.
NewPoint returns a new Point set to latitude and longitude 0.
NewPointFromDMD returns a Point corresponding to the given string in DMD format.
NewPointFromDMS returns a Point corresponding to the given string in DMS format.
NewPointFromLatLng returns a new Point with the given latitude and longitude.
NewTrack returns a new instance of Track, with fields initialized to zero.
Parse returns a Track object corresponding to the given content.
ParseLocation returns a Track object corresponding to the given file.
# Constants
DateFormat is the golang time.Parse format for IGC time.
EarthRadius is the average earth radius.
TimeFormat is the golang time.Parse format for IGC time.
# Variables
Manufacturers holds the list of available manufacturers.
# Structs
Event holds data records triggered at a given time.
Header holds the meta information of a track.
K holds flight data needed less often than Points.
LogEntry holds a logbook/comment entry, in free format.
Manufacturer holds manufacturer name, short ID and char identifier.
Point represents a GPS recording (single point in the track).
Satellite holds the IDs of the available satellites at a given Time.
Task holds all the metadata put in a pre-declared task to be performed.
Track holds all IGC flight data (header and GPS points).
# Interfaces
Optimizer returns an optimal Task for the given turnpoints and Score function.
# Type aliases
Score functions calculate a score for the given Task.