Gpx.DocSourceThe Doc module represents complete GPX documents containing:
Main GPX document type
type t = {version : string;creator : string;metadata : Metadata.t option;waypoints : Waypoint.t list;routes : Route.t list;tracks : Track.t list;extensions : Extension.t list;}Main GPX document type
type stats = {waypoint_count : int;route_count : int;track_count : int;total_points : int;has_elevation : bool;has_time : bool;}Document statistics
Create GPX document with metadata
Get metadata
Get waypoints
Get extensions
Update metadata
Add waypoint
Add waypoints
Add extensions
Pretty print statistics
Pretty print document