Importing GPX file

Former Member
Former Member
Hello,

I have an old etrex 'yellow' unit which I want to use to import data into Virb Edit. I have successfully extracted my track data from the unit (using gspbabel-1.4.4), but Virb Edit complains that it is not the correct format when I try to import it. What is the required format for Virb Edit to accept my data?

My data:
<?xml version="1.0" encoding="UTF-8"?>
<gpx
version="1.0"
creator="GPSBabel - http://www.gpsbabel.org"
xmlns:xsi="www.w3.org/.../XMLSchema-instance"
xmlns="www.topografix.com/.../0"
xsi:schemaLocation="www.topografix.com/.../0 www.topografix.com/.../gpx.xsd">
<time>2013-10-13T22:55:36Z</time>
<bounds minlat="-37.971646786" minlon="144.393332005" maxlat="-37.819447517" maxlon="144.960436821"/>
<trk>
<name>13-OCT-13</name>
<trkseg>
<trkpt lat="-37.961454391" lon="144.407644272">
<ele>85.682495</ele>
</trkpt>
<trkpt lat="-37.962312698" lon="144.408180714">
<ele>85.682495</ele>
</trkpt>
<trkpt lat="-37.963235378" lon="144.409146309">
<ele>86.643921</ele>
</trkpt>
<trkpt lat="-37.963299751" lon="144.409403801">
<ele>87.605103</ele>
</trkpt>
<trkpt lat="-37.963128090" lon="144.410026073">
<ele>88.566528</ele>
</trkpt>
<trkpt lat="-37.962720394" lon="144.410648346">
<ele>88.566528</ele>
</trkpt>
<trkpt lat="-37.962634563" lon="144.410605431">
<ele>89.047119</ele>
</trkpt>
<trkpt lat="-37.962613106" lon="144.410820007">
<ele>85.201904</ele>
</trkpt>
</trkseg>
</trk>
<trk>
<name>ACTIVE LOG</name>
<number>1</number>
<trkseg>
<trkpt lat="-37.962484360" lon="144.410498142">
<ele>89.539917</ele>
<time>2013-10-12T22:52:03Z</time>
</trkpt>
</trkseg>
<trkseg>
<trkpt lat="-37.962548733" lon="144.410498142">
<ele>91.462524</ele>
<time>2013-10-12T22:58:07Z</time>
</trkpt>
</trkseg>
<trkseg>
<trkpt lat="-37.962205410" lon="144.410068989">
<ele>88.578735</ele>
<time>2013-10-12T22:59:59Z</time>
</trkpt>
</trkseg>

etc.....

</trk>
</gpx>

  • Former Member
    0 Former Member over 11 years ago
    After changing the gpx header in the file, I was able to import it to Garmin Connect. However, the same file is still not accepted by Virb Edit. Does Virb Edit expect some other tags? Does it not handle some tags?

    Does anyone have a .gpx that has worked with Virb Edit?
  • Former Member
    0 Former Member over 11 years ago
    Ok, after some futher editing of the .gpx file, I was able to get Virb Edit to accept the file. Here is what I found.

    - It doesn't like the <time> and <bounds> tags after the <gpx> tag. <time> insdie <trkpt> is ok.
    - It doesn't like more than 30 <trkseg> tags.

    It would also be a good idea to put a proxy settings/configuration 'thing' to access Google/Bing maps.
  • Former Member
    0 Former Member over 11 years ago
    Time and Bounds don't seem the problem.
    I've removed the "etc..." and imported it in Mapsource, than saved it als .gpx.
    You can also import it in Basecamp and export it as .gpx.
    But that didn't do the trick.
    I couldn't get the 13-OCT-13 track to be displayed in Google earth.
    I could import the active log.
    Also when I removed the 13-OCT-13 track from the file exported gpx VIRB-Edit was able to read it
    The original 13-OCT-13 track misses the time component.
    The file below is exported from MapSource as it's header is much smaller as that from Basecamp.
    This file can be read in VIRB but displays only the 13-OCT-13 track.
    When no time is added to the 13-OCT-13 track the Active Log is displayed in VIRB-Edit.
    Probably VIRB-Edit only displays one track but the tracks were partly on the same time and date.
    In the file below I've inserted the "time" for each point of the 13-OCT-13 track.
    Points without time are ignored by VIRB-Edit

    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <gpx xmlns="www.topografix.com/.../1" creator="MapSource 6.16.3" version="1.1"

    xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:schemaLocation="www.topografix.com/.../1

    www.topografix.com/.../gpx.xsd">

    <metadata>
    <link href="www.garmin.com">
    <text>Garmin International</text>
    </link>
    <time>2013-10-18T22:03:24Z</time>
    <bounds maxlat="-37.961454391479492" maxlon="144.41082000732422" minlat="-37.963299751281738"

    minlon="144.40764427185059"/>
    </metadata>

    <trk>
    <name>13-OCT-13</name>
    <trkseg>
    <trkpt lat="-37.961454391479492" lon="144.40764427185059">
    <ele>85.682495000000003</ele>
    <time>2013-10-12T22:52:03Z</time>
    </trkpt>
    <trkpt lat="-37.962312698364258" lon="144.40818071365356">
    <ele>85.682495000000003</ele>
    <time>2013-10-12T22:53:03Z</time>
    </trkpt>
    <trkpt lat="-37.963235378265381" lon="144.40914630889893">
    <ele>86.643921000000006</ele>
    <time>2013-10-12T22:54:03Z</time>
    </trkpt>
    <trkpt lat="-37.963299751281738" lon="144.40940380096436">
    <ele>87.605103</ele>
    <time>2013-10-12T22:55:03Z</time>
    </trkpt>
    <trkpt lat="-37.963128089904785" lon="144.41002607345581">
    <ele>88.566528000000005</ele>
    <time>2013-10-12T22:56:03Z</time>
    </trkpt>
    <trkpt lat="-37.962720394134521" lon="144.41064834594727">
    <ele>88.566528000000005</ele>
    <time>2013-10-12T22:57:03Z</time>
    </trkpt>
    <trkpt lat="-37.962634563446045" lon="144.41060543060303">
    <ele>89.047118999999995</ele>
    <time>2013-10-12T22:58:03Z</time>
    </trkpt>
    <trkpt lat="-37.962613105773926" lon="144.41082000732422">
    <ele>85.201903999999999</ele>
    <time>2013-10-12T22:59:03Z</time>
    </trkpt>
    </trkseg>
    </trk>

    <trk>
    <name>ACTIVE LOG</name>
    <trkseg>
    <trkpt lat="-37.962484359741211" lon="144.41049814224243">
    <ele>89.539917000000003</ele>
    <time>2013-10-12T22:52:03Z</time>
    </trkpt>
    <trkpt lat="-37.962548732757568" lon="144.41049814224243">
    <ele>91.462524000000002</ele>
    <time>2013-10-12T22:58:07Z</time>
    </trkpt>
    <trkpt lat="-37.962205410003662" lon="144.41006898880005">
    <ele>88.578734999999995</ele>
    <time>2013-10-12T22:59:59Z</time>
    </trkpt>
    </trkseg>
    </trk>

    </gpx>
  • Former Member
    0 Former Member over 11 years ago
    I did another experiment.
    I've drawn a track in MapSource, just three points, and exported it as .gpx.
    When I opened the track it doesn't contain the time component as it is drawn, not recorded.
    When I try to load it into VIRB-Edit the following message appears:

    (translates to something like: The GPS- or FIT-file doesn't contain valid tracks, or the tracks in the file have no timestamp.) <= (this is why I would like to have a setting to change the language)
    So in order to make sence of a track, VIRB-Edit needs a timestamp to synchronise it with the video.
  • Former Member
    0 Former Member over 11 years ago
    When you import a file in VIRB Edit and it contains more than 1 track it should ask you which track you want to use.

    VIRB Edit will only accept tracks with time stamps. There is no way for us to line up track and video without time stamps.
  • Former Member
    0 Former Member over 11 years ago
    Yes that works, loaded as GPX with 27 tracks.

    Just one point to keep you busy  .
    When I "changed my mind" and wanted to have another track I needed to find the GPX again.
    BTW. VIRB expects GPXses in the My Videos directory. Am I doing something wrong?
    Can it be changed into the place the tast time a GPX was found or is this feature to persuade people to get a VIRB :)
    Still not available here in NL.
  • Former Member
    0 Former Member over 11 years ago
    Thanks again for your feedback.

    Remembering the last folder selection is something I should easily be able to make happen (in 2.2 hopefully). There are no plans currently to change the track of an already imported gpx file, hopefully that is not something you would need often. Either the track is the correct one for the video or it isn't. So we didn't expect the user to fiddle much with that.
  • Former Member
    0 Former Member over 11 years ago
    You're welcome, just having fun fiddling around and writing what comes to mind.
    It's always nice when what your programming does what you want it to.

    When VIRB Edit rembers the folder, it's no great effort loading the GPX again.
    It was just annoying having to go to the folder with GPXses over and over again, so I solved it to move some into the "my videos" folder.
  • Former Member
    0 Former Member over 11 years ago
    Ok...i'm trying to track my route using my Gnexus with OruxMaps application and it seems Virb recognises the gpx file.....tomorrow i'll try to merge video and gps data....


    i don't know if only lat data will be stored in this file, or the other smartphone sensors can be used (such as accelerometer...)
  • Former Member
    0 Former Member over 10 years ago
    VIRB Edit Won't Load GPX File

    I have a valid .gpx file (attached) and I cannot find any way to get VIRB Edit to load it. Each time I try, I get the error "The GPS or FIT file selected has no valid GPS logs, or the GPS logs in the file have no timestamps."

    The file has timestamps on each Track Point in the format
    <trkpt lat="36.1582007100000" lon="-115.2903196700000">
    <ele>854.74</ele>
    <speed>0.38</speed>
    <time>2015-01-21T14:35:55Z</time>
    </trkpt>

    PLEASE HELP!!