#merge gpx files
gpsbabel -i gpx -f file1.gpx -f file2.gpx -o gpx -F merged.gpx
#attach GPX to photo get needed libs first
pip install gpxpy
brew install pyexiv2 exiftool
git clone https://github.com/mapillary/mapillary_tools.git
python geotag_from_gpx.py path/to/photos gpx_track.gpx timeoffset