package mlgpx

  1. Overview
  2. Docs
Library and CLI for parsing and generating GPS Exchange (GPX) formats

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mlgpx-1.0.0.tbz
md5=5342bb7e601273245a9fe263e5a08770
sha512=cd73b16e988b3ed3cc427a6c6c6d6c9c745adb1eb7efaae3c34e8d006e9c03d9f9d2616cd4118564bd9873903969d3e4053b585e79dbd3e3e7d0f541e2faac83

doc/src/mlgpx.unix/gpx_unix.ml.html

Source file gpx_unix.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(** 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