Bug 488411 - Format from copying coordinates is unhelpful
Summary: Format from copying coordinates is unhelpful
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Engine (other bugs)
Version First Reported In: 8.1.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 10:58 UTC by tomashnyk
Modified: 2024-06-12 19:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomashnyk 2024-06-12 10:58:12 UTC
When I copy coordinates using context menu in Geolocation editor, it has the following format:

geo:-33.4278039996,-70.4862990001,1569.684

That is not very helpful:
1) The prefix geo: seems superfluous (only mapy.cz accepts it, JOSM and google maps cannot find the coordinate when I paste it into a map)

2) I am not sure altitude (1569.684) is very useful, it confuses Google maps and also JOSM

As a solution:
a) remove the geo: prefix,
b) do not include altitude
c) add action that only copies the coordinates without altitude (probably best to remove the current action to "copy coordinates and altitude" - possibly "copy altitude can be added though not sure if anybody would use that)

Related:
I. could this action have a (configurable) keyboard shortcut that could ideally be accessible also from outside the Geolocation Editor? (though it is said taht is not indended here: https://bugs.kde.org/show_bug.cgi?id=424058#c1 )

II. Is this bug still valid: https://bugs.kde.org/show_bug.cgi?id=279474 ? I am not sure if GPSSync is a thing still.

(PS: I am not on the latest Digikam but I doubt it has changed, if it has, sorry for the noise)
Comment 1 Maik Qualmann 2024-06-12 11:22:18 UTC
The "geo:" format comes from the Marble map plugin and is used to apply a coordinate from a Marble map to the images in the items list.
If you want to open an external map, you can do this in the main view of digiKam using the map in the right sidebar. There you will find various map providers and the coordinate will open automatically.

Maik
Comment 2 tomashnyk 2024-06-12 12:54:14 UTC
Aha, that is what I was looking for. However, the providers I use are not listed. How difficult is it to add other map providers (both online and local)? The five currently in offer are not really that useful to me, as I said, I would need to open this in JOSM.
Comment 3 Maik Qualmann 2024-06-12 19:20:19 UTC
Git commit b4a3ba1e7b2438a2e938d3e5577c785192f22ac2 by Maik Qualmann.
Committed on 12/06/2024 at 19:19.
Pushed by mqualmann into branch 'master'.

add tool button to the map in the right side bar,
to copy GPS coordinates in simple text format to the clipboard
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +28   -0    core/libs/properties/geolocation/itempropertiesgpstab.cpp
M  +1    -0    core/libs/properties/geolocation/itempropertiesgpstab.h

https://invent.kde.org/graphics/digikam/-/commit/b4a3ba1e7b2438a2e938d3e5577c785192f22ac2
Comment 4 tomashnyk 2024-06-12 19:26:26 UTC
That was quick! Thank you:-).