Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambit2gpx stopped working with latest Suunto Update #7

Closed
GoogleCodeExporter opened this issue Oct 3, 2015 · 8 comments
Closed

Ambit2gpx stopped working with latest Suunto Update #7

GoogleCodeExporter opened this issue Oct 3, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

In August 2014, Suunto forced an update to their software and the output is now 
in a file called .sml instead of .xml  Ambit2gpx no longer outputs anything 
meaningful even if the new file is renamed as .xml.  Attached are 3 files:
1. A track in Pre-August format .xml which processes fine on ambit2gpx. 
2. The exact same track in Updated format .sml which does not process on 
ambit2gpx.
3. A copy of the ambit2gpx .gpx output when processing the .sml format.  Note, 
regardless of input .sml file size, all output gpx files are 571 bytes long.

If one compares the .sml and the .xml files one can see that there are header 
differences ... and probably some data differences as well.  

Can we have an updated ambit2gpx ???  1.7 ???

Thanks, 
Doug 

djhome.net@gmail.com 


Original issue reported on code.google.com by djhome....@gmail.com on 20 Aug 2014 at 5:43

Attachments:

@GoogleCodeExporter
Copy link
Author

Try the attached patch for the script.  I've run the modified script on your 
file and one of mine and the resulting GPX files validate and mined look right.

Original comment by mr.greg...@gmail.com on 23 Aug 2014 at 9:47

Attachments:

@GoogleCodeExporter
Copy link
Author

I've cloned and patched at 
http://code.google.com/r/mrgregson-ambit2gpx/source/list?name=feature%2Fmoveslin
k-1.2.8 I updated the patch so both XML and SML formats can be converted.

Original comment by mr.greg...@gmail.com on 23 Aug 2014 at 11:09

@GoogleCodeExporter
Copy link
Author

Works GREAT with both xml and sml.   THANKS

I enjoyed seeing the changes you made and was gratified that I could provide
appropriate files to enable you to pinpoint the changes made by Suunto.
Good thinking on your part to test for file type xml vs sml.

When I come back from multi day trip, I often have a bunch of xml/sml files
I want to convert.  So I wrote a batch script to process them sequentially.
I had to change that also to accommodate xml vs sml.  Below is copy of
script fyi...  Runs on windows 8.1

Doug

----------------              ----------------------
--------------------

REM navigate to where Suunto Directory
CD C:\users\drj\AppData\Roaming\Suunto\
REM move all the log xml or sml files to a working directory
move Moveslink2\*.?ml inproc
REM run the converter program on the files in the inproc directory
for %%i in ("inproc\*.?ml") do ambit2gpx.py "%%i"
REM move the converted files from inproc to gpx or archive
move inproc\*.gpx gpx
REM move the original files from inproc to archive xml.
move inproc\*.?ml archive
echo ":-)"
explorer.exe c:\users\drj\appdata\roaming\suunto\gpx

Original comment by djhome....@gmail.com on 23 Aug 2014 at 4:17

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Issue 8 has been merged into this issue.

Original comment by jconr...@gmail.com on 21 Dec 2014 at 10:28

@GoogleCodeExporter
Copy link
Author

Problem reproduced in-house

Original comment by jconr...@gmail.com on 21 Dec 2014 at 10:34

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Original comment by jconr...@gmail.com on 21 Dec 2014 at 10:35

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Handle now new sml format. As the upgrade is 4 months old now, I did not try to 
deal with both old xml format and new sml format. Current version of script is 
dealing with new sml format only, I'm assuming this is fine and enough this way.

Original comment by jconr...@gmail.com on 21 Dec 2014 at 10:37

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant