(** Unix API for GPX operations *) module IO = Gpx_io open Gpx (** Convenience functions for common operations *) (** Read and parse GPX file *) let read = IO.read_file (** Write GPX to file *) let write = IO.write_file (** Write GPX to file with backup *) let write_with_backup = IO.write_file_with_backup (** Pretty print GPX statistics *) let print_stats gpx = Format.printf "%a@." Doc.pp_stats gpx