Versions in this module Expand all Collapse all v0 v0.1.1 Jun 14, 2024 Changes in this version + func D(d, m, s float64) float64 + func Read(rs io.ReadSeeker) (Collection, Format, error) + func Write(w io.Writer, wc Collection, format string) error + type Collection []*T + func (wc Collection) MarshalJSON() ([]byte, error) + type CompeGPSFormat struct + func NewCompeGPSFormat() *CompeGPSFormat + func (*CompeGPSFormat) Extension() string + func (*CompeGPSFormat) Name() string + func (*CompeGPSFormat) Read(r io.Reader) (Collection, error) + func (*CompeGPSFormat) Write(w io.Writer, wc Collection) error + type Format interface + Extension func() string + Name func() string + Read func(io.Reader) (Collection, error) + Write func(io.Writer, Collection) error + func New(format string) (Format, error) + type FormatGeoFormat struct + func NewFormatGeoFormat() *FormatGeoFormat + func (f *FormatGeoFormat) Extension() string + func (f *FormatGeoFormat) Name() string + func (f *FormatGeoFormat) Read(r io.Reader) (Collection, error) + func (f *FormatGeoFormat) Write(w io.Writer, wc Collection) error + type GeoJSONFormat struct + func NewGeoJSONFormat() *GeoJSONFormat + func (f *GeoJSONFormat) Extension() string + func (f *GeoJSONFormat) Name() string + func (f *GeoJSONFormat) Read(r io.Reader) (Collection, error) + func (f *GeoJSONFormat) Write(w io.Writer, wc Collection) error + type GeoJSONWaypoint struct + Geometry struct{ ... } + ID string + Properties struct{ ... } + Type string + type GeoJSONWaypointFeatureCollection struct + Features []GeoJSONWaypoint + Type string + type OziExplorerFormat struct + func NewOziExplorerFormat() *OziExplorerFormat + func (f *OziExplorerFormat) Extension() string + func (f *OziExplorerFormat) Name() string + func (f *OziExplorerFormat) Read(r io.Reader) (Collection, error) + func (f *OziExplorerFormat) Write(w io.Writer, wc Collection) error + type SeeYouFormat struct + func NewSeeYouFormat() *SeeYouFormat + func (*SeeYouFormat) Write(w io.Writer, wc Collection) error + func (f *SeeYouFormat) Extension() string + func (f *SeeYouFormat) Name() string + func (f *SeeYouFormat) Read(r io.Reader) (Collection, error) + type T struct + Altitude float64 + Color color.Color + Description string + ID string + Latitude float64 + Longitude float64 + Radius float64 + func (w *T) MarshalJSON() ([]byte, error)