I'm looking for a way to add exif location data to raspistill pictures in realtime. The end goal is to have accurate exif tags on raspistill images with Date, Time, and GPS Location.
Currently I'm using exiftool to tag the images, but that requires an accurate timestamp on the files. The pi is usually not connected to the network and gets powered on/off frequently, so it's time is rarely correct.
I have a USB GPS dongle (BU-353) connected to generate the gps tracks. I found this in the raspistill docs:
But how can I:--exif GPS.GPSLongitude=5/1,10/1,15/100
1. Get the correct data from the GPS device
2. convert it to a format raspistill recognizes
Would the python picamera library work better?