[KPhotoAlbum] GPS support in KPhotoAlbum

Jan Kundrát jkt at gentoo.org
Wed Jul 22 20:17:39 CEST 2009

Risto H. Kurppa wrote:
> - I record a track with my GPS (=Openmoko Freerunner) and get a GPX
> file. Then I have a stack of photos. I'd want to easily be able to add
> the GPS location to each photo (=EXIF, I think). There are some tools
> that can do it, I've never though tried it. I wouldn't care if KPA
> could do it for me, but I also accept that some external app does it.
> One of the difficulties there is the sync: the camera clock is never
> exactly on time with the GPS -> I usually take a photo of the GPS
> device showing the exact time so this way I'm able to compare the GPS
> and EXIF times and find out the offset.

That's exactly how I work, too (except that I use garmin eTrex Vista HCx
as the logging device). I can recommend the `jhead` command line tool
for adjusting the image timestamps and then `gpscorrelate` for embedding
 the coordinates into EXIF. From that on, it's KPhotoAlbum's turn indeed.

> - but after this, when I have apps with locations encoded, I'd
> appreciate the possibility to
> a) see on the (openstreetmap) map where the photo has been taken

I'm strongly in favor of using Marble. Considering that they (the Marble
 developers) have already invested more than one year of development
time into producing a usable widget showing a map, I doubt we can do
that in one afternoon. If we desperately need a more detailed layer
(Google Maps, perhaps) and Marble doesn't support it already, I guess we
should focus on fixing Marble instead of developing our own dirty hack.

I planned to do something similar (adding basic functionality to KPA,
not improving Marble) last year, but as stuff usually ends here, I got
no time. Right now, the DB already has fields for storing the
coordinates, but there's no code that actually reads them from the EXIF
data. I wanted to finish that EXIF/IPTC rework before that, as it fits
quite nicely together. It shouldn't be that hard to add reading from the
relevant EXIF fields and populating the DB from them.

Anyway, if Jesper has time, it'd be great if he can add the support
himself. It's been more than one year since I bought mine GPS thingy and
I still haven't committed any substantial support to KPA :(, so I'm
looking forward to your work, boss :).


cd /local/pub && more beer > /dev/mouth

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : /mailman/pipermail/kphotoalbum/attachments/20090722/f15013c6/attachment.pgp 

More information about the KPhotoAlbum mailing list