/gpx-to-csv

Reads GPX 1.1 files and writes out CSV compatible with exiftool and its geotag feature.

Primary LanguageGo

GPX to CSV

Reads GPX 1.1 files and writes out CSV compatible with exiftool and its geotag feature.

Only GPX version 1.1 is supported, usually generated by a location tracker app.

Usage

Install:

go install go.chimbori.app/gpx-to-csv@latest

Use with exiftool as follows:

TRACK_FILE=gps-track.csv
gpx-to-csv *.gpx > $TRACK_FILE
exiftool -r -if 'not $gpsdatetime' -overwrite_original -geotag=$TRACK_FILE .