Skip to content
/ go-igc Public
forked from marni/goigc

Package igc provides means to parse and analyse files in the IGC format

License

Notifications You must be signed in to change notification settings

igcfs/go-igc

 
 

Repository files navigation

go-igc

Build Status Coverage Status GoDoc Go Report Card Maintainability Test Coverage Project Status

Go library for processing and manipulating IGC files.

Current version

v0.1.0

Note: the library status is alpha. The API is subject to change. No backwards compatibility should be assumed. Use at your own risk.

First stable release will be v1.0.0.

Usage

package main

import (
	"fmt"

	"github.com/igcfs/go-igc"
)

func main() {
    s := "http://skypolaris.org/wp-content/uploads/IGS%20Files/Madrid%20to%20Jerez.igc"
    track, err := igc.ParseLocation(s)
    if err != nil {
        fmt.Errorf("Problem reading the track", err)
    }

    fmt.Printf("Pilot: %s, gliderType: %s, date: %s", 
        track.Pilot, track.GliderType, track.Date.String())
}

Resources

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/igcfs/go-igc

Acknowledgements

This is a fork from original project by Ricardo Rocha https://github.com/ezgliding/goigc

Contributing

Any form of contribution is more than welcome. Please create pull requests, contribute to the Wiki pages, or gives us heads up about ongoing projects that make use of this library. Any suggestions or feedback through email or issue tracker.

About

Package igc provides means to parse and analyse files in the IGC format

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.1%
  • Shell 2.9%