Skip to content

sagotch/ocaml-gpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPX for OCaml

OCaml library for GPX documents manipulation.

Provides a Gpx module defining types to match GPX document structure and functions to navigate between gpx type and Xml.xml from xml-light OCaml library.

Installation

Via opam:

opam install gpx

Usage

Gpx.of_xml returns a Gpx.gpx value from a Xml.xml value.

Gpx.to_xml returns a Xml.xml value from a Gpx.gpx value.

Example:

let _ = Xml.parse_in stdin
        |> Gpx.of_xml
        |> Gpx.to_xml
        |> Xml.to_string
        |> print_endline

Documentation

Browse online documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages