Skip to content

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

License

Notifications You must be signed in to change notification settings

spasutto/omx2gpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published