trk file specification

You can post here if you have found a bug or if you are faced to a strange behavior.
danhicks

trk file specification

Post by danhicks » Sun May 02, 2021 11:41 pm

I'm trying to use this Python script https://github.com/jachetto/alp2gpx to batch convert trk files to gpx. The script works correctly with a recording made on February 27. But starting with a recording made on March 21 the script has a lot of weird behavior — it reads the file version as 1347423745, can't find any metadata fields, and raises UTF-8 encoding errors once it starts trying to parse the segments.

Did the specification of the trk files change in March? All I've been able to find is this document, which is dated from 2017 but time-stamped last July. http://psyberia.net/res/specs/psyberia_ ... _specs.pdf

Psyberia-Support
Site Admin
Posts: 4898
Joined: Wed Apr 14, 2010 9:41 pm

Re: trk file specification

Post by Psyberia-Support » Mon May 03, 2021 4:17 pm

Did the specification of the trk files changed?
Yes absolutely, sorry for the lack of advertisement.
Since AQ 2.2.8 / OM 3.7, the files are saved in a new format version which is slightly different. Changes include fastest read/write support, multi-areas with holes support, additional data field bound to locations.
I'll update the specification file as soon as possible.
Until then, you can still bulk export your items from the app: https://www.alpinequest.net/en/help/v2/ ... iple_items
Do you like AlpineQuest ? Leave a small comment on Google Play !

ydespond
Posts: 10
Joined: Mon Mar 23, 2015 1:06 pm

Re: trk file specification

Post by ydespond » Thu May 13, 2021 2:30 pm

Hello,

I have the same issue as 'danhicks' and I am interrested to have the new file format too.

Best regards.

Psyberia-Support
Site Admin
Posts: 4898
Joined: Wed Apr 14, 2010 9:41 pm

Re: trk file specification

Post by Psyberia-Support » Tue May 25, 2021 2:49 pm

I've added the specification of the new files.
As a reminder, the document is available here: https://psyberia.net/res/specs/psyberia ... _specs.pdf
Do you like AlpineQuest ? Leave a small comment on Google Play !

Post Reply