| Summary: | "Copy Coordinates" in the map produces unrecognizable coordinates | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Andreas <ads-kde-bugs> |
| Component: | Geolocation-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 8.8.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/38bbd22441b8ccc008e86042cf9a1643cfd9649e | Version Fixed/Implemented In: | 9.0.0 |
| Sentry Crash Report: | |||
| Attachments: | Screenshot of the right sidebar map | ||
|
Description
Andreas
2026-02-08 15:46:27 UTC
What do you mean by "other maps" ? (In reply to caulier.gilles from comment #1) > What do you mean by "other maps" ? Typical workflow: - I have a picture from many years ago, taken somewhere in nature (forest, desert, you name it) - I need more context as to where I've been, for that: - I zoom out the map on the right sidebar (the sidebar map does not allow me to click on other objects and pull up details) - Right click, "Copy Coordinates" I expect these coordinates to work in OpenStreetMap or Google Maps. But both services tell me that the format is not recognized and not a valid coordinate. I added examples of what digiKam "Copy Coordinates" copies as example in my original post. There are several ways to handle text coordinates in the clipboard using the Marble API. Marble uses a localized form for the decimal separator, so this fails with Google Maps in languages that use a comma. It wouldn't be a problem to change this, however, Openstreetmap.org doesn't understand decimal coordinates. Let's see what the best solution is... Maik Note that there is a tool button in the right sidebar of the map to copy the current coordinates from the image to the clipboard, whose format is understood by both Google Maps and Openstreetmap.org. Maik (In reply to Maik Qualmann from comment #3) > Marble uses a localized form for the decimal separator, so this fails with > Google Maps in languages that use a comma. Why are coordinates localized? There is no locale setting for coordinates. So this is most likely using decimal number format, and this breaks. And not the right way to handle coordinates. My number format is indeed German (my system language is set to English, but currency and number format are German, because I live in Germany). I don't want to change this, as I use the format quite often. > copy the current coordinates from the image to the clipboard That would be a workaround, as it will not copy the coordinates of where I clicked on a POI in the map. Might be quite a bit away from where the picture was taken. In general, this renders the "Copy Coordinates" right click option unusable (for me). What I currently do is: - scroll in the map until I find something I remember, or which is obvious to look at - remember the name - type this into a map - scroll back to where the picture was taken or the POI is - find out more details by clicking at details (something the map in digiKam does not allow) or looking up more details (right click in OSM, what's here) Git commit 38bbd22441b8ccc008e86042cf9a1643cfd9649e by Maik Qualmann. Committed on 08/02/2026 at 18:06. Pushed by mqualmann into branch 'master'. copy simple decimal coordinates to the clipboard When using the context menu of the Marble map. FIXED-IN: 9.0.0 M +1 -1 NEWS M +1 -1 core/utilities/geolocation/engine/core/MarbleWidgetPopupMenu.cpp M +20 -1 core/utilities/geolocation/engine/geodata/data/GeoDataCoordinates.cpp M +2 -1 core/utilities/geolocation/engine/geodata/data/GeoDataCoordinates.h https://invent.kde.org/graphics/digikam/-/commit/38bbd22441b8ccc008e86042cf9a1643cfd9649e |