Gpx.WaypointSourceThe Waypoint module handles individual GPS points, including waypoints, route points, and track points. Each waypoint contains:
Fix types indicate GPS quality: none, 2D, 3D, DGPS, or PPS.
Waypoint data and GPS fix types
GPS fix types as defined in GPX spec
type t = {lat : Coordinate.latitude;lon : Coordinate.longitude;ele : float option;time : Ptime.t option;magvar : Coordinate.degrees option;geoidheight : float option;name : string option;cmt : string option;desc : string option;src : string option;links : Link.t list;sym : string option;type_ : string option;fix : fix_type option;sat : int option;hdop : float option;vdop : float option;pdop : float option;ageofdgpsdata : float option;dgpsid : int option;extensions : Extension.t list;}Main waypoint type - shared by waypoints, route points, track points
Pretty print fix type
Create waypoint with required coordinates
val make_from_floats :
lat:float ->
lon:float ->
?name:string ->
?desc:string ->
unit ->
(t, string) resultCreate waypoint from float coordinates with validation
Get coordinate pair
Get latitude
Get longitude
Get magnetic variation
Get extensions
Functional operations for building waypoints
Update magnetic variation
Add extensions
Pretty print waypoint