Bug 388199 - no context menu to copy coordinates from map
Summary: no context menu to copy coordinates from map
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Workflow (show other bugs)
Version: 5.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-24 17:30 UTC by Uwe Stöhr
Modified: 2018-10-12 11:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
initial album view (294.87 KB, image/jpeg)
2017-12-25 16:44 UTC, Uwe Stöhr
Details
map is shown but album view is now empty (175.97 KB, image/jpeg)
2017-12-25 16:44 UTC, Uwe Stöhr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Stöhr 2017-12-24 17:30:45 UTC
I want to add coordinates to an image. I read the docs and in sec. 5.1.2 "Edit Coordinates" it writes:

"Eventually you click with the right mouse button at the desired position and choose Copy Coordinates."

The bug is that I don't get a context menu. I played around but cannot find a way to copy the coordinates. The kind of map (marble or OSM) doesn't matter.

How can I get coordinated from the map?
Comment 1 Maik Qualmann 2017-12-24 21:00:06 UTC
Currently this menu that comes from Marble is disabled. It also includes the possibility to create bookmarks. but these are not compatible with our bookmarks management and do not run on all operating systems. That caused confusion among users. It is not possible to remove only the bookmark management, therefore the whole menu is disabled. The Google Map does not have such a menu either. Therefore, this section must be removed in the manual.

Maik
Comment 2 Uwe Stöhr 2017-12-24 23:20:11 UTC
> Therefore, this section must be removed in the manual.

Please not. I mean that is the feature why I installed digiKam!
I mean I want a program to tag the location of my holiday images.

Currently I do this:
1. go to the location in OSM: https://www.openstreetmap.org/search?query=bilbao#map=18/43.26633/-2.92743
2. copy "-2.92743" to the clipboard
3. paste this to the longitude field of the geolocation editor
4. copy "43.26633" to the clipboard
5. paste this to the latitude field
6. press apply

So why can't digiKam offer this?:
1. go to the desired location in the geolocation editor
2. right-click onto it in the map
3. a context menu pops up "use this location for the selected images"
4. one selects this menu
5. one presses apply to accept the change

This is also possible for Google maps, because the URL contains the coordinates as well:
https://www.google.de/maps/place/Bilbao,+Bizkaia,+Spanien/@43.2662736,-2.9292067,440m
Comment 3 Maik Qualmann 2017-12-25 07:30:14 UTC
Why so complicated? The normal way to work with the geolocation editor is to drag & drop the image from the list to the appropriate location on the map. No complicated copying of the coordinates.

Maik
Comment 4 caulier.gilles 2017-12-25 08:52:27 UTC
I agree to Maik, the D&D is not too much complicated to use.

More generally, digiKAm use D&D everywhere in workflow.

To MAik : perhaps a label or a tooltips can help end user to discover the D&D feature in Geolocation editor.

Gilles Caulier
Comment 5 Uwe Stöhr 2017-12-25 16:44:09 UTC
> The normal way to work with the geolocation editor is to drag & drop the image from the list to the appropriate location on the map. No complicated copying of the coordinates.

Many thanks for your quick reply. I am a newbie and therefore follow the manual. Maybe I am too untalented but I don't get it to work. What I do is:
1. open the album view
2. select there an image I want to tag, see the attached screenshot
3. now I want to drag it onto the map as you wrote, therefore I open a map on the left side.

result: the album view is now empty and therefore I cannot drag the image to the map, see the attached screenshot.

So how is it done correctly step by step? Can this instruction please also appear in the manual?
Comment 6 Uwe Stöhr 2017-12-25 16:44:31 UTC
Created attachment 109515 [details]
initial album view
Comment 7 Uwe Stöhr 2017-12-25 16:44:53 UTC
Created attachment 109516 [details]
map is shown but album view is now empty
Comment 8 Maik Qualmann 2017-12-25 16:51:32 UTC
The left sidebar is for finding images with geolocation positions. There you can create a rectangle over the map and all images within the coordinates will be displayed. But we talk about Drag & Drop via the Geolocation Editor (Ctrl+Shift+G).

Maik
Comment 9 Uwe Stöhr 2017-12-25 18:00:53 UTC
> But we talk about Drag & Drop via the Geolocation Editor
> (Ctrl+Shift+G).

But how can I do this in a convenient way? I created now a separate bug report because I am still stuck:
bug 388219

So the main question is how I can drag an image from the album view into a map to set its location. If I open the geolocation editor I cannot do this because I cannot see anymore the album to drag images from the album to the map of the editor.
Comment 10 caulier.gilles 2018-05-04 12:38:38 UTC
*** Bug 393838 has been marked as a duplicate of this bug. ***
Comment 11 Maik Qualmann 2018-05-10 14:53:50 UTC
Git commit 14037ab2f54a2f19bd5f52c1cc8e4fee223b6ef1 by Maik Qualmann.
Committed on 10/05/2018 at 14:52.
Pushed by mqualmann into branch 'master'.

enable the Marble right button context menu and hide only the bookmark action
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +11   -3    core/utilities/geolocation/geoiface/backends/backendmarble.cpp

https://commits.kde.org/digikam/14037ab2f54a2f19bd5f52c1cc8e4fee223b6ef1
Comment 12 Maik Qualmann 2018-10-12 11:33:02 UTC
*** Bug 399705 has been marked as a duplicate of this bug. ***