Page 1 of 1

TRK to GPX conversion

Posted: Sat Feb 20, 2021 11:29 am
by ydespond
I tried to use the Python script 'alp2gpx' to convert TRK files to GPX.
I compare the resulting GPX file with the GPX file generated by the export function of AlpineQuest.
I found that the elevation and the timestamp are not the same.
After reading the code of 'alp2gpx', I am convinced that 'alp2gpx' do not modify the numbers extracted from the TRK file.
At this point, I suppose that AQ makes some corrections on elevation and timestamp when exporting from TRK to GPX.

Could you confirm that ?

Best regards.

Re: TRK to GPX conversion

Posted: Sun Feb 21, 2021 6:06 pm
by Psyberia-Support
Hi,
For the GPX format, AQ does export elevations in the EGM96 model (elevation above sea level, same values as displayed within the application) and timestamps in UTC as specified by this format.

alp2gpx may export elevations in the WGS84 model because they're stored like this in the TRK format (but I'm not the author and haven't checked). Concerning the timestamps I don't know but they must be in UTC for GPX.

Re: TRK to GPX conversion

Posted: Mon Feb 22, 2021 1:36 pm
by ydespond
Thank you for your answer which explain exactly the reasons of the differences.

I will try to contact the author of 'alp2gpx' to see how to adapt the programme.

Best regards