Use Oruxmaps GPX in Garmin Virb Edit

Started by kevdd, August 12, 2015, 02:22:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kevdd

Hello together!





I want to use the recorded Oruxmaps data via GPX export in Garmin Virb Edit to overlay my video.



Sometimes it works, sometimes not. I don't find the problem. When it goes wrong, the Virb Edit GPX import said, the file has no/no correct timestamp.



The XML header is in each case (work/does not work) the same style.



I've tried to track without "autopause" in Oruxmaps, because i thougt Garmin won't work, when there are parts "missing" or so. But that wasn't it.





Maybe anyone any ideas? :)





Thanks a lot, Kevin

kevdd

#1
I've found something!



The problem seems to be in the declaration:



<gpx xmlns="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1">http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="OruxMaps v.6.4.0beta4" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">http://www.topografix.com/GPX/1/1/gpx.xsd">





Garmin TrackPointExtrension v1 / topofrafix 1.1 maybe does not support speed for example?!?

kevdd

#2
It seems to be a problem within the extension:



<trkpt lat="51.1312642" lon="13.5625917">

<ele>106.52</ele>

<time>2015-08-12T09:11:32Z</time>

<extensions><gpxtpx:TrackPointExtension>

<gpxtpx:cad>68</gpxtpx:cad>

<gpxtpx:speed>5.09</gpxtpx:speed>

</gpxtpx:TrackPointExtension></extensions>

</trkpt>



---> Oruxmaps XML Layout. If the extension tag is removed, it works. (without sensor data)





Here es a Garmin GPX output with the XML style:



      <trkpt lat="49.143496435135603" lon="7.759557422250509">

        <ele>291.63999999999999</ele>

        <time>2015-05-17T12:01:44Z</time>

        <extensions>

          <gpxtpx:TrackPointExtension>

            <gpxtpx:hr>45</gpxtpx:hr>

          </gpxtpx:TrackPointExtension>

          <gpxx:TrackPointExtension />

          <acc:AccelerationExtension xmlns:acc="http://www.garmin.com/xmlschemas/AccelerationExtension/v1">http://www.garmin.com/xmlschemas/Accele ... tension/v1">http://www.garmin.com/xmlschemas/AccelerationExtension/v1">

            <acc:accel offset="44" x="-0.1" y="0.2" z="-0.6" />

            <acc:accel offset="144" x="-0.1" y="0.2" z="-0.9" />

            <acc:accel offset="244" x="0.1" y="0.2" z="-1.1" />

            <acc:accel offset="344" x="0" y="0.2" z="-1.1" />

            <acc:accel offset="444" x="0" y="0.2" z="-1.1" />

            <acc:accel offset="544" x="0.1" y="0.2" z="-0.9" />

            <acc:accel offset="644" x="0.1" y="0.3" z="-0.7" />

            <acc:accel offset="744" x="0.1" y="0.2" z="-1" />

            <acc:accel offset="844" x="0.1" y="0.3" z="-1.6" />

            <acc:accel offset="944" x="-0.1" y="0.4" z="-1.5" />

          </acc:AccelerationExtension>

        </extensions>

      </trkpt>





The header is also different in declaration for this:



<gpx creator="Garmin Desktop App" version="1.1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/WaypointExtension/v1">http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd">http://www8.garmin.com/xmlschemas/Waypo ... sionv1.xsd">http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1">http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd">http://www.garmin.com/xmlschemas/TrackP ... sionv1.xsd">http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3">http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd">http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/ActivityExtension/v1">http://www.garmin.com/xmlschemas/ActivityExtension/v1 http://www8.garmin.com/xmlschemas/ActivityExtensionv1.xsd">http://www8.garmin.com/xmlschemas/Activ ... sionv1.xsd">http://www8.garmin.com/xmlschemas/ActivityExtensionv1.xsd http://www.garmin.com/xmlschemas/AdventuresExtensions/v1">http://www.garmin.com/xmlschemas/Advent ... ensions/v1">http://www.garmin.com/xmlschemas/AdventuresExtensions/v1 http://www8.garmin.com/xmlschemas/AdventuresExtensionv1.xsd">http://www8.garmin.com/xmlschemas/Adven ... sionv1.xsd">http://www8.garmin.com/xmlschemas/AdventuresExtensionv1.xsd http://www.garmin.com/xmlschemas/PressureExtension/v1">http://www.garmin.com/xmlschemas/PressureExtension/v1 http://www.garmin.com/xmlschemas/PressureExtensionv1.xsd">http://www.garmin.com/xmlschemas/Pressu ... sionv1.xsd">http://www.garmin.com/xmlschemas/PressureExtensionv1.xsd http://www.garmin.com/xmlschemas/TripExtensions/v1">http://www.garmin.com/xmlschemas/TripExtensions/v1 http://www.garmin.com/xmlschemas/TripExtensionsv1.xsd">http://www.garmin.com/xmlschemas/TripExtensionsv1.xsd http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1">http://www.garmin.com/xmlschemas/TripMe ... ensions/v1">http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1 http://www.garmin.com/xmlschemas/TripMetaDataExtensionsv1.xsd">http://www.garmin.com/xmlschemas/TripMe ... ionsv1.xsd">http://www.garmin.com/xmlschemas/TripMetaDataExtensionsv1.xsd http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1">http://www.garmin.com/xmlschemas/ViaPoi ... ensions/v1">http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1 http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensionsv1.xsd">http://www.garmin.com/xmlschemas/ViaPoi ... ionsv1.xsd">http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensionsv1.xsd http://www.garmin.com/xmlschemas/CreationTimeExtension/v1">http://www.garmin.com/xmlschemas/Creati ... tension/v1">http://www.garmin.com/xmlschemas/CreationTimeExtension/v1 http://www.garmin.com/xmlschemas/CreationTimeExtensionsv1.xsd">http://www.garmin.com/xmlschemas/Creati ... ionsv1.xsd">http://www.garmin.com/xmlschemas/CreationTimeExtensionsv1.xsd http://www.garmin.com/xmlschemas/AccelerationExtension/v1">http://www.garmin.com/xmlschemas/Accele ... tension/v1">http://www.garmin.com/xmlschemas/AccelerationExtension/v1 http://www.garmin.com/xmlschemas/AccelerationExtensionv1.xsd">http://www.garmin.com/xmlschemas/Accele ... sionv1.xsd">http://www.garmin.com/xmlschemas/AccelerationExtensionv1.xsd http://www.garmin.com/xmlschemas/PowerExtension/v1">http://www.garmin.com/xmlschemas/PowerExtension/v1 http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd">http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd http://www.garmin.com/xmlschemas/VideoExtension/v1">http://www.garmin.com/xmlschemas/VideoExtension/v1 http://www.garmin.com/xmlschemas/VideoExtensionv1.xsd">http://www.garmin.com/xmlschemas/VideoExtensionv1.xsd" xmlns="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance" xmlns:wptx1="http://www.garmin.com/xmlschemas/WaypointExtension/v1">http://www.garmin.com/xmlschemas/WaypointExtension/v1" xmlns:gpxtrx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1">http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:trp="http://www.garmin.com/xmlschemas/TripExtensions/v1">http://www.garmin.com/xmlschemas/TripExtensions/v1" xmlns:adv="http://www.garmin.com/xmlschemas/AdventuresExtensions/v1">http://www.garmin.com/xmlschemas/Advent ... ensions/v1">http://www.garmin.com/xmlschemas/AdventuresExtensions/v1" xmlns:prs="http://www.garmin.com/xmlschemas/PressureExtension/v1">http://www.garmin.com/xmlschemas/PressureExtension/v1" xmlns:tmd="http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1">http://www.garmin.com/xmlschemas/TripMe ... ensions/v1">http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1" xmlns:vptm="http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1">http://www.garmin.com/xmlschemas/ViaPoi ... ensions/v1">http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1" xmlns:ctx="http://www.garmin.com/xmlschemas/CreationTimeExtension/v1">http://www.garmin.com/xmlschemas/Creati ... tension/v1">http://www.garmin.com/xmlschemas/CreationTimeExtension/v1" xmlns:gpxacc="http://www.garmin.com/xmlschemas/AccelerationExtension/v1">http://www.garmin.com/xmlschemas/Accele ... tension/v1">http://www.garmin.com/xmlschemas/AccelerationExtension/v1" xmlns:gpxpx="http://www.garmin.com/xmlschemas/PowerExtension/v1">http://www.garmin.com/xmlschemas/PowerExtension/v1" xmlns:vidx1="http://www.garmin.com/xmlschemas/VideoExtension/v1">http://www.garmin.com/xmlschemas/VideoExtension/v1">





Maybe the problem is, that are not all extensions defined in the OM GPX XML header?!





Edit:



In Garmin TrackPointExtension v1 (http://www8.garmin.com/xmlschemas/TrackPointExtensionv1.xsd">http://www8.garmin.com/xmlschemas/Track ... sionv1.xsd">http://www8.garmin.com/xmlschemas/TrackPointExtensionv1.xsd) are only this data fields included:



<xsd:element name="atemp" type="DegreesCelsius_t" minOccurs="0"/>

<xsd:element name="wtemp" type="DegreesCelsius_t" minOccurs="0"/>

<xsd:element name="depth" type="Meters_t" minOccurs="0"/>

<xsd:element name="hr" type="BeatsPerMinute_t" minOccurs="0"/>

<xsd:element name="cad" type="RevolutionsPerMinute_t" minOccurs="0"/>

<xsd:element name="Extensions" type="Extensions_t" minOccurs="0"/>





Speed and other data seems to be defined in another xml schema def.