package gpx

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type gpx = {
  1. version : string;
  2. creator : string;
  3. metadata : metadata option;
  4. wpt : wpt list;
  5. rte : rte list;
  6. trk : trk list;
  7. extensions : extension option;
}
and metadata = {
  1. name : string option;
  2. desc : string option;
  3. author : person option;
  4. copyright : copyright option;
  5. time : date_time option;
  6. keywords : string option;
  7. bounds : bounds option;
  8. extensions : extension option;
}
and wpt = {
  1. lat : latitude;
  2. lon : longitude;
  3. time : date_time option;
  4. ele : float option;
  5. magvar : degrees option;
  6. geoidheight : float option;
  7. name : string option;
  8. cmt : string option;
  9. desc : string option;
  10. src : string option;
  11. sym : string option;
  12. typ : string option;
  13. fix : fix option;
  14. sat : int option;
  15. vdop : float option;
  16. hdop : float option;
  17. pdop : float option;
  18. ageofdgpsdata : float option;
  19. dgpsid : dgps_station option;
  20. extensions : extension option;
}
and rte = {
  1. name : string option;
  2. cmt : string option;
  3. desc : string option;
  4. src : string option;
  5. number : int option;
  6. typ : string option;
  7. extensions : extension option;
  8. rtept : wpt list;
}
and trk = {
  1. name : string option;
  2. cmt : string option;
  3. desc : string option;
  4. src : string option;
  5. number : int option;
  6. typ : string option;
  7. extensions : extension option;
  8. trkseg : trkseg list;
}
and extension = Xml.xml
and trkseg = {
  1. trkpt : wpt list;
  2. extensions : extension option;
}
and email = {
  1. id : string;
  2. domain : string;
}
and person = {
  1. name : string option;
  2. email : email option;
}
and bounds = {
  1. minlat : latitude;
  2. minlon : longitude;
  3. maxlat : latitude;
  4. maxlon : longitude;
}
and latitude = float
and longitude = float
and degrees = float
and fix =
  1. | FIX_none
  2. | FIX_2d
  3. | FIX_3d
  4. | FIX_dgps
  5. | FIX_pps
and dgps_station = int
and date_time = {
  1. year : int;
  2. month : int;
  3. day : int;
  4. hour : int;
  5. minute : int;
  6. second : float;
  7. timezone : timezone option;
}
and timezone =
  1. | TIMEZONE_Z
  2. | TIMEZONE_plus of int * int
  3. | TIMEZONE_minus of int * int
val of_xml : Xml.xml -> gpx
val to_xml : gpx -> Xml.xml
OCaml

Innovation. Community. Security.