Image geolocation metadata question

Hi all,
for some time, I have been correlating my photos with a GPX file recorded with a Garmin device using Digikam / Item / Edit Geolocation / Load GPX Files… I was quite happy to watch the photo location on the map inside Digikam.

Other programs cannot show the location. So I examined the metadata on these images. I could not find any. No idea how Digikam manages to display the photo location.

Some help how to find geolocation metadata, i.e. their names, would be great!
Thank you in advance.

Geolocation data will always be stored in the (digikam) database (like other metadata and thumbnails). The database is what digikam uses for display in the thumbnail view to get the maximum possible speed.

Whether the information is written elsewhere as well, depends on a few things:

  • do you allow writing metadata to the images?
  • can digikam write to the image format you or your camera use(s)? JPG shouldn’t cause problems, raw files are tricky or impossible(*), DNG should also allow writing.
  • optionally, metadata can also be written to sidecar files. I’m not sure all viewers, etc., can use such files.

If the geolocation data are written to the file, finding the shoudn’t be difficult, the names are explicit enough. The issue is first determining if digikam will write them to the files, and for that, you don’t give enough information (the device recording the GPS data is actually irrelevant…)

(* : many different formats without any formal specification that allows writing to them, some programs systematically refuse to write to raw files, Digikam allows it “when possible” but advices against it)

1 Like

I’d assume digiKam would use the standard XMP tags for lat/long. These are indeed standard tags for this, so it should be fairly portable.

It does, darktable has no problem reading the data. But if the data are only written to sidecar files, other programs would have to read those files (the data formatting isn’t the issue). And e.g. darktable would never write (geolocation) data to the original image files.

My fault: all metadata are written to the image files, just apart from the geolocation metadata. After activating this, everything works as expected.

Thank you!

Due to my workflow, my settings are: read sidecars files, but dont write them.