Closed GoogleCodeExporter closed 9 years ago
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:
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
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
[deleted comment]
Issue 8 has been merged into this issue.
Original comment by jconr...@gmail.com
on 21 Dec 2014 at 10:28
Problem reproduced in-house
Original comment by jconr...@gmail.com
on 21 Dec 2014 at 10:34
Original comment by jconr...@gmail.com
on 21 Dec 2014 at 10:35
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
Original issue reported on code.google.com by
djhome....@gmail.com
on 20 Aug 2014 at 5:43Attachments: