/omx2gpx

Javascript library for converting track files produced by ONmove 200/220 watches to GPX file format

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

OMX2GPX

Online tool for converting track files produced by Geonaute/Decathlon ONmove 200/220 watches (typically a pair of .OMD/.OMH files) to GPX file format.

Technical informations found in the work of Clement CORDE

Try

Live demo running here. Examples files in examples folder

Usage

<script src="omx2gpx.js"></script>
<script>
  const omxparser = new OMXParser();
  omxparser.addData(omh_data); // omh_data is the content of the .OMH file
  omxparser.addData(omd_data); // omd_data is the content of the .OMD file
  if (omxparser.valid) {
    console.log(omxparser.toGPX());
  }
</script>

You can also bypass the .OMH (header) loading but beware, the GPX file won't any have valid date.

const omxparser = new OMXParser();
omxparser.addData(omd_data); // omd_data is the content of the .OMD file
if (omxparser.containspoints) {
  console.log(omxparser.toGPX());
}

Credits

  • omx2gpx, C console program by Clement CORDE