GPS Exchange Format library/CLI in OCaml
1(** Unix API for GPX operations *)
2
3module IO = Gpx_io
4open Gpx
5
6(** Convenience functions for common operations *)
7
8(** Read and parse GPX file *)
9let read = IO.read_file
10
11(** Write GPX to file *)
12let write = IO.write_file
13
14(** Write GPX to file with backup *)
15let write_with_backup = IO.write_file_with_backup
16
17(** Pretty print GPX statistics *)
18let print_stats gpx =
19 Format.printf "%a@." Doc.pp_stats gpx