Page
Library
Module
Module type
Parameter
Class
Class type
Source
Gpx.Track
SourceThe Track
module handles recorded GPS traces, typically representing actual journeys. Tracks are divided into segments to handle GPS interruptions:
Track types and operations
Track point is an alias for waypoint
Track segment
type t = {
name : string option;
cmt : string option;
desc : string option;
src : string option;
links : Link.t list;
number : int option;
type_ : string option;
extensions : Extension.t list;
trksegs : segment list;
}
Main track type
Create track from coordinate list (single segment).
Get track extensions
Add extensions
Pretty print track