I was trying to geotag a picture for the first time, but for some reason, the timestamp saved by gps-saver was exactly one day ahead, so no match was possible, of course. It turns out that ITOS 2008's gpsd, which gps-saver relies on, has a leap year bug until March this year. :-(
A fix is on the way, though, and the GPS unit itself is OK. Phew.
Meanwhile, I diddled the gps2photo source (part of gtag) to work around this bug (and another, involving undefined altitudes)... here you go. Just replace the one gtag installs in /usr/bin.
To run, I used
gtag -f gps.200802132236.1.log.gz -o tagged --credit "Alex Ibrado" --city Mandaluyong --state NCR --country Philippines --copyright "(c) 2008 Alex Ibrado" --keywords test *.jpg
and confirmed that these values were saved using
exiftool -a -u -g1 tagged/mypic.png
The GPS tags should also show up in any photo management software such as digiKam.
Thursday, February 14, 2008