Thinkware dash cam gpx data

Started by Murray1974, February 13, 2024, 11:30:42 AM

Previous topic - Next topic

StarGeek

I found this post on the Garmin forums from years ago which says
QuoteThe issue is that this gpx format is version 1.0, not 1.1 which is the one that is usually used. VIRB Edit does not support 1.0, and we do not plan to add support for it at this time.

Your latest post shows gpx version 1.1.  I don't know enough about the format to know what the differences are in 1.0 and 1.1.  As a long shot, you could try changing this line in the gpx.fmt file from
#[HEAD]<gpx version="1.0"
to
#[HEAD]<gpx version="1.1"

heh, ninja edit
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

@StarGeek: Heh, Got me. :)

I think this should work.  The <trk> structure is pretty much identical.  Sort of stupid if they don't even try to read version 1.0.

The other thing you could try is removing this line:

#[HEAD]<number>1</number>
Oh, and it looks like you should also change

#[HEAD] xmlns="http://www.topografix.com/GPX/1/0"
#[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">

to

#[HEAD] xmlns="http://www.topografix.com/GPX/1/1"
#[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Murray1974

BOOM!!!

ok guys, I have to thank you for your amazing help in getting this issue resolved for me.

so I changed the gpx.fmt file Line by line based on what you both gave as suggestions.

first I changed to [HEAD]<gpx version="1.1" run it and Virb didn't take it

second I removed the line [HEAD]<number>1</number> run it and it didn't take it

finally I replaced the lines suggested to

[HEAD] xmlns="http://www.topografix.com/GPX/1/1"
[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">

run it and BOOM it worked, perhaps a combination of all these changes made it work?


But most of all it works!! Amazing and thank you!