Since I like Perl and like to fiddle around for myself, I used this script as a base:
I improved this with:
- sorting of the images by date and time
- calculate lat/long on GPX-position before and after image date/time
- calculate bearing
- use exiftool to create image with lat/long and bearing
When building this I discovered that my GPX-log had several hickups in the log. It recorded a position aprox. every second, but the time was off by much in the end of the track, grouped somehow (mush locations in the same second?! Uploading the GPX to OSM gave a perfect line of the track, but the timestamps were off!
When people are interested I’ll publish the code here