Important: These forums are for discussions between SkyDemon users. They are not routinely monitored by SkyDemon staff so any urgent issues should be sent directly to our Customer Support.

GPX Exports from SD not well formatted


Author
Message
HartmutS
H
Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)
Group: Forum Members
Posts: 2, Visits: 9
Hi, 
importing GPX export files from SD flight log into another software for post flight debriefing fails with an import failure.
The exported files from SD claim to be compliant with Topografix GPX 1.1, but validating the GPX against the scheme definition fails.
Apparently, the element <speed> is not part of the <trkpt> element, as defined in the GPX standard scheme. 
I strip of the <speed> element using GPSBabel, so I have a work-around which works fine for me. GPSBabel is freeware, importing the SD GPX files as "GPX XML" and exporting them as "GPX XML" again is all that is required.

Nevertheless, is there a way I could export my flight log as a formally correct GPX file?
Hartmut

 



Tim Dawson
Tim Dawson
SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)
Group: Forum Members
Posts: 7.8K, Visits: 8.5K
A quick look at the GPX manual says that the <speed> element is optional in <trkpt>.


KimW
K
Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)Too Much Forum (224 reputation)
Group: Forum Members
Posts: 39, Visits: 0
Tim Dawson - 12/6/2021 10:03:03 AM
A quick look at the GPX manual says that the <speed> element is optional in <trkpt>.


Not an expert in this domain, but it seem you are referring to GPX 1.0, were they state in the link "This Manual is Outdated!"
In GPX 1.1 there does not seem to be a <speed> element.
This seems to be the valid link for the current GPX standard: https://www.topografix.com/gpx.asp

Tim Dawson
Tim Dawson
SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)SkyDemon Team (625K reputation)
Group: Forum Members
Posts: 7.8K, Visits: 8.5K
Perhaps we need to revisit our GPX export at some point. It seems odd that 1.1 isn't backwards compatible with 1.0, and it isn't immediately obvious what <speed> has been replaced with.
HartmutS
H
Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)
Group: Forum Members
Posts: 2, Visits: 9
I am not an expert either, but may be it is a simple as escaping the <speed> with <extensions>:

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search