Bug 438120 - Geolocation data not being saved.
Summary: Geolocation data not being saved.
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Gps (other bugs)
Version First Reported In: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-05 15:11 UTC by Roger
Modified: 2022-01-07 05:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger 2021-06-05 15:11:52 UTC
SUMMARY


STEPS TO REPRODUCE
1.Select jpg file(s)
2. Menu - Item - Edit Geolocation.
3. Paste GPS data- Apply- Apply

OBSERVED RESULT
In Digikam the pasted GPS data is visible. But, if I view properties of the jpg file in a file manager or Irfanview, the GPS location is not there. Copied the file to a Linux machine and viewed in Digikam and GPS data is not there. Various file managers on the Linux machine do not show the GPS either.
So GPS must be stored in the Digikam that it was inserted in, but not being saved to be visible by other apps or Digikam app.

I get the same result if I try from the Linux machine first also.

EXPECTED RESULT
Pasted and saved GPS data should be visible to any other app or file manager on any machine.


SOFTWARE/OS VERSIONS
Windows: 10 21H1
macOS: 
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-06-05 15:15:12 UTC
In the digiKam settings for the metadata, the writing of geolocation information like other metadata must be activated. This setting is relatively new in digiKam.

Maik
Comment 2 Roger 2021-06-05 15:19:15 UTC
Settings Metadata Geolocation data is checked.
Comment 3 Maik Qualmann 2021-06-05 15:23:11 UTC
Well, the metdata will then be written for sure. Download DebugView and post the output as described here for Windows:

https://www.digikam.org/contribute/

Don't forget to set the debug environment variable.

Maik
Comment 4 Maik Qualmann 2021-06-05 15:31:45 UTC
What do you mean by step 3 paste coordinates, text coordinates? Are the coordinates valid? You know that you can drag and drop images from the image list onto the map?

Maik
Comment 5 Roger 2021-06-05 15:41:45 UTC
I went into the Linux version again and I did not have the Settings Metdata Geolocation data checked. But all of the other boxes in tath area except Face Tags was checked. I checked the Geolocation box and tested and it worked fine. then I went back to the Windows machine and checked all the samed settings boxes. Now it works fine.

So, maybe problem solved.
Comment 6 Roger 2021-06-05 15:45:08 UTC
(In reply to Maik Qualmann from comment #4)
> What do you mean by step 3 paste coordinates, text coordinates? Are the
> coordinates valid? You know that you can drag and drop images from the image
> list onto the map?
> 
> Maik

I had several pictures with the same coordinates. Under Item Edit Geolocation - I selected one with the proper coordinates and right clicked to copy the coordinates. Then I selected the other picture and right clicked on it and pasted the coordinates.