Export GPS data in time based blocks?

Started by IUDSSL, September 06, 2020, 11:54:28 AM

Previous topic - Next topic

IUDSSL

Hi,

I'm trying to export GPS data (lat/long and speed) from a dashcam (.MOV format). So far, I've figured out the basic extraction.

exiftool.exe -ext mov -ee FILE gives me all tags including GPS data. For my dashcam (Transcend DrivePro 230), the following tags are exported.

GPS Date/Time
GPS Latitude 
GPS Longitude
GPS Speed     
GPS Speed Ref
GPS Track     
GPS Track Ref


Normal export happens in the above order, in repeating groups that start with a GPS Date/Time tag. That makes it easy to correlate lat/long and speed with time. However, if I specify the tags in the command line (-gpsdatetime, -gpslatitude, -gpslongitude etc), the export happens per tag, in the order specified in the command line. Then I have to assume a position based grouping to relate lat/long and speed to time.

Is there a way to limit the export to GPS tags, but still have them in time-based blocks?

Thanks,
IDS.

StarGeek

Does using a wildcard work for you?
exiftool.exe -ext mov -ee -GPS* FILE

There's also extracting to a geotrack file which might save you a step if you're trying to import into another program.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

IUDSSL

-GPS* works the way I want. i.e. limit the export to only the GPS tags and maintain the time-based blocks.

But, I was actually trying to create a gpx file and you saved my day! Much appreciate the tip on geotrack file export. Saw the -p gpx.fmt part earlier but couldn't get it to work.

StarGeek

You either have to copy/paste to create the gpx.fmt file or download it from GitHub.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype