[KPhotoAlbum] GPS - get info from gpx, not from Exif
Tobias Leupold
tobias.leupold at gmx.de
Thu Feb 23 13:52:15 GMT 2017
Hi Benny!
There's no "official" way to bypass storing the GPS data in the EXIF
header. The EXIF DB is just a cache so that the data does not have to be
read from the images directly, so changes to the database will be
overwritten if some image's data is re-read.
Why don't you want to store the data in the EXIF header? This won't change
your image data, and there's a specific EXIF field for this very use case.
It's just like storing the correct roation of an image.
Getting the correct coordinates from a GPX track is not such an easy task
in some cases (according to my experience), thus I check the coordinates
and store them in the images to be sure they are correct.
At the moment, I don't see a reliable and persistant way to bypass the EXIF
mechanism and still use the map parts of KPA ...
Cheers, Tobias
Am Donnerstag, 23. Februar 2017 12:21:57 CET schrieb Benny Simonsen:
> Hi,
>
> If I have understood the GPS mechanism correct, then the GPS
> location is taken from the Exif data.
> But I have also some gpx files that I would like to use for
> getting GPS positions of my images *without* modifying my
> pictures.
>
> I know that I can use e.g. gpsprune to embed the GPS data into
> the exif of the images, but I don't like to modify my original
> images from camera.
>
> What is the recommended way or how does other use the GPS support?
> My approach is to embed the GPS into exif-info.db from a script
> - but are there cases where the data in exif-info.db are
> flushed, except if I delete it; regenerate it from KPhotoAlbum?
>
> The script should be fully automatic based on:
> - Camera ID(first part of filename)+timestamp in index.xml
> - gpx-files (named depending on if it is mine, or another family member)
> - A separate meta-data file:
> - Correlates camera and qpx files (can change over time)
> - Time offset in cameras
>
> Anyone knowing of something that I should look into to get
> inspired / reuse - It could e.g. be a good tool for injecting
> GPS data into images that I modify to inject it into
> exif-info.db instead.
>
> Br,
> Benny
>
>
More information about the Kphotoalbum
mailing list