Open ncartron opened 5 years ago
Hi Nico, can you send that GPX file to me? I would try and make Laufhelden compatible to it.
I sent you a message using the contact form on Openrepos - i don't have your email address :)
Interesting file, thanks for that. It is good to make Laufhelden compatible to that type of file.
It would be interesting how the keywords (
I can try othet activities. And do the same with my Suunto watch :)
On Friday, 11 January 2019, Jens Drescher wrote:
Interesting file, thanks for that. It is good to make Laufhelden compatible to that type of file. It would be interesting how the keywords (
RUNNING ) are for other workout types in that file type. Maybe you have a few examples?-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/jdrescher2006/Laufhelden/issues/149#issuecomment-45364549
-- Sent from my Sailfish device
That would be good. That way we could raise compatibility to this format.
Btw. if we are talking about XML files. There is an XML parser generator tool called KODE: https://github.com/cornelius/kode
If I see correctly from the posted image: the garmin provides the XSD files, so it would be pretty straightforward to generate the parser code.
The file is basically a GPX standard file. With only one difference and that is the highlighted line in the posted image. I do not think we need a new parser for this file, we just have to tweak the old parser and everything will be fine. I am working on that right now.
I agree, that's a super small difference, both for Suunto and Tomtom. @jdrescher2006 I have not yet done workouts with other types of sport, but that's on my todo list for the coming days :)
any news on this?
any news on this?
Not really. Jens abandoned the project, and there were not much development since then. If you could post an example GPX I might be able to look into it.
Edit: By looking into the actual code and the screenshot in the original issue described by @ncartron it should just work. The parser looks for the trk tag, and reads the childs of that until the trkpt or trkseg is not found. The tags with other keys are simply ignored.
I just wanted to know about this because this could be a game changer if it does not work. But as you wrote it should work. Offtopic ... Does it still run on latest Sailfish 4.5.x ? Is it worth giving it a try?
cheers bernd
Hi @berndhahnebach Is Sailfish 4.5.x released already?
upps 4.4. ... https://forum.sailfishos.org/tag/release-notes
Is it worth giving it a try?
I used to use it on my XA2, however the GPS lock time got irregularly long thanks to some software bug in the system itself (not in Laufhelden), and I have not used it recently. Takes ages to get GPS fix. But give it a try an report back.
Hi,
in my effort to get rid of my non-SailfishOS phones, I am trying not to use Android or iOS to sync with Strava, and therefore wants to use Laufhelden to upload my activities to Strava.
It works well when running with Laufhelden, or with an Amazfit Bip (thanks to Amazfish app), however when download a GPX file from Suunto (via their Movescount.com website) or Tomtom, the GPX file is not recognised by Laufhelden and is just displayed as "0 kms".
I did some quick "debugging" and found out that by removing the "activity " which follows the "" section, it works well and Laufhelden recognises the GPX file (displays map, charts and info).
I have added the below screenshot to explain, but basically removing this line fixes the issue - the highlighted line is the one to be deleted: