Page
Library
Module
Module type
Parameter
Class
Class type
Source
Gpx.Route
SourceThe Route
module handles planned paths represented as ordered sequences of waypoints. Routes typically represent intended journeys rather than recorded tracks. Each route can include:
Route types and operations
Route point is an alias for waypoint
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;
rtepts : point list;
}
Main route type
Create route from coordinate list.
Get route extensions
Add extensions
Pretty print route