When I copy coordinates in digiKam, it formats the coordinates like:
-
@anderslund I don't want to do that manually for every single coordinate or picture I'm working on
That's thousands ...I want digiKam to export valid coordinates when I click "copy coordinates" ...
@ascherbaum There is software, if you have the data in the image metadata. I believe digikam will insert valid data into the EXIF, there are standards for that. What is it you want to do?
-
@MiAlLo I somehow expect digiKam to export valid coordinated when I right click on the map and click "copy coordinates". This - in theory - should have nothing to do with any environment settings.
@ascherbaum It depends on what you mean by "valid coordinates" - they certainly are the valid ones for _your_ locale. The issue is that most programs (in this case OSM and GMaps) are US centric and only considers US number formatting as "correct". So technically digiKam is right here, but Google probably would never fix this. I don't know if there is a way in digiKam to ignore your global locale settings

-
When I copy coordinates in digiKam, it formats the coordinates like:
12,50266°E, 41,91712°N
But this format is not recognized by OSM, nor Google Maps. Does anyone know if it is possible to change the coordinates format in digiKam?
@ascherbaum LC_NUMERIC=C or so will just override the number format. But let’s start with a bug report, as it is kind of broken.
-
@Joe_Wiegetritt And how do I get digiKam to give me this format when i right click on the map and copy parameters? I don't want to reformat every single coordinate by hand.
@ascherbaum I would first look for ways to change the coordinate format in the camera or in the digiKam settings.
-
@ascherbaum There is software, if you have the data in the image metadata. I believe digikam will insert valid data into the EXIF, there are standards for that. What is it you want to do?
@anderslund I'm tagging pictures and for some pictures I don't know where the picture was taken. digiKam shows a map, and the map has a right click: "copy coordinates". That's where the wrong data comes from.
-
@ascherbaum It depends on what you mean by "valid coordinates" - they certainly are the valid ones for _your_ locale. The issue is that most programs (in this case OSM and GMaps) are US centric and only considers US number formatting as "correct". So technically digiKam is right here, but Google probably would never fix this. I don't know if there is a way in digiKam to ignore your global locale settings

@MiAlLo How is digiKam correct if it exports the wrong coordinates in a wrong format?
And as for Google: OSM also does not recognize the format.
I don't get why digiKam would apply locale settings to coordinates in the first place, and not keep the data in a usable format.
-
@anderslund I'm tagging pictures and for some pictures I don't know where the picture was taken. digiKam shows a map, and the map has a right click: "copy coordinates". That's where the wrong data comes from.
@ascherbaum I believe digikam allows you to place the image in the map, and then embed the coordinates in the image metadata, where other apps should be able to read it from.
I haven't used digikam for years, but that is how I remember it working.
-
@ascherbaum I would first look for ways to change the coordinate format in the camera or in the digiKam settings.
@Joe_Wiegetritt That's what I am trying to do, but I don't find an option to change the format in the app. Hence my question.
-
@ascherbaum I believe digikam allows you to place the image in the map, and then embed the coordinates in the image metadata, where other apps should be able to read it from.
I haven't used digikam for years, but that is how I remember it working.
@anderslund It does not touch (change) the images, it reads the Exif data and uses the GPS data to place the image on a map it shows in the app. Then I can click anywhere in the map right, and click "copy coordinates". So it's not even the GPS data from the image, but data generated by digiKam, based on the right click.
And the resulting data is broken.
-
@anderslund It does not touch (change) the images, it reads the Exif data and uses the GPS data to place the image on a map it shows in the app. Then I can click anywhere in the map right, and click "copy coordinates". So it's not even the GPS data from the image, but data generated by digiKam, based on the right click.
And the resulting data is broken.
@ascherbaum Yes, I can see that.
The manual says that digikam is able to add coordinates to your images and embed them, see this page: https://docs.digikam.org/en/geolocation_editor/geoeditor_map.html, and the geocoordinates tool page as well.
-
@MiAlLo How is digiKam correct if it exports the wrong coordinates in a wrong format?
And as for Google: OSM also does not recognize the format.
I don't get why digiKam would apply locale settings to coordinates in the first place, and not keep the data in a usable format.
@ascherbaum How do you "correctly" write the number "twenty and a half" in German digits? It is "20,5" (with a comma, not a dot). It doesn't matter if the unit is mm, € or °. Eventually I gave up fighting software with decimal points and changed my locale. You are right - in most software, the _defacto_ standard is a decimal point (because it is US centric). digiKam does the right (but unhelpful) thing and properly adapts to how a _German_ expects the numbers (but not computers)
-
@ascherbaum How do you "correctly" write the number "twenty and a half" in German digits? It is "20,5" (with a comma, not a dot). It doesn't matter if the unit is mm, € or °. Eventually I gave up fighting software with decimal points and changed my locale. You are right - in most software, the _defacto_ standard is a decimal point (because it is US centric). digiKam does the right (but unhelpful) thing and properly adapts to how a _German_ expects the numbers (but not computers)
@MiAlLo Eh, this is not about German digits, why would it be? This is about coordinates. Why would digiKam use a locale setting in the first place, when coordinates do not use locale settings.
-
@ascherbaum Yes, I can see that.
The manual says that digikam is able to add coordinates to your images and embed them, see this page: https://docs.digikam.org/en/geolocation_editor/geoeditor_map.html, and the geocoordinates tool page as well.
@anderslund That's ... not what the problem is at hand.
Here's an example, I click on "Copy Coordinates" and digiKam copies the coordinates from the click. And formats the coordinates in a format which is unknown to maps.
Nothing to do with pictures in the moment, just the app.
-
@anderslund That's ... not what the problem is at hand.
Here's an example, I click on "Copy Coordinates" and digiKam copies the coordinates from the click. And formats the coordinates in a format which is unknown to maps.
Nothing to do with pictures in the moment, just the app.
@ascherbaum @anderslund Do you use Digikam on a Mac? Apple Maps also outputs this strange format (N & E is not required for WGS 84).
Only guessing: Although Digikam uses OSM, the coordinates or their formatting may be generated by the operating system.
Edit: I missed your first hashtag. Nevertheless, it may be worth considering whether the problem lies outside of Digikam.
-
When I copy coordinates in digiKam, it formats the coordinates like:
12,50266°E, 41,91712°N
But this format is not recognized by OSM, nor Google Maps. Does anyone know if it is possible to change the coordinates format in digiKam?
@ascherbaum Have you tried changing the angel units in Map View Settings? https://docs.digikam.org/en/setup_application/geolocation_settings.html#map-view-settings
-
@ascherbaum Have you tried changing the angel units in Map View Settings? https://docs.digikam.org/en/setup_application/geolocation_settings.html#map-view-settings
@midor Yes, tried that, the results (for all three different settings):
12° 28' 15,3"E, 41° 57' 02,8"N
12,50207°E, 41,93154°N
33T 290286.97 m E, 4644249.79 m NLooks broken. At this point I wonder if anyone is even using this feature ...
-
@ascherbaum @anderslund Do you use Digikam on a Mac? Apple Maps also outputs this strange format (N & E is not required for WGS 84).
Only guessing: Although Digikam uses OSM, the coordinates or their formatting may be generated by the operating system.
Edit: I missed your first hashtag. Nevertheless, it may be worth considering whether the problem lies outside of Digikam.
@midor @anderslund I am using it on Linux.
I'm trying to understand how this is an outside problem: I'm clicking on the map, copy coordinates. If these coordinates do not work, how is that an outside problem?
-
@midor @anderslund I am using it on Linux.
I'm trying to understand how this is an outside problem: I'm clicking on the map, copy coordinates. If these coordinates do not work, how is that an outside problem?
Dette indlæg er slettet! -
@midor @anderslund I am using it on Linux.
I'm trying to understand how this is an outside problem: I'm clicking on the map, copy coordinates. If these coordinates do not work, how is that an outside problem?
You said you are tagging images. So I assumed you wanted to add location data to your images which does not have that. To do that, drag them onto the map, and then activate element->write metadata to file.
Or, after placing your image on the map, rightclick it in the list below the map, and activate 'copy geolocation'. That will produce a geo: URL with the correct coordinates.
I still didn't understand what you actually want to do. I don't think it is a OS issue btw.
-
You said you are tagging images. So I assumed you wanted to add location data to your images which does not have that. To do that, drag them onto the map, and then activate element->write metadata to file.
Or, after placing your image on the map, rightclick it in the list below the map, and activate 'copy geolocation'. That will produce a geo: URL with the correct coordinates.
I still didn't understand what you actually want to do. I don't think it is a OS issue btw.
@anderslund @midor My workflow:
I have an image, it has GPS coordinates already. It's maybe 10 years old, and maybe I took it somewhere in a forest, or in a dessert, or at a river. I don't know anymore, but want to find out.
I zoom out the map, and right click on a place which looks more familiar, maybe a city, POI or such. Want to copy the coordinates, use the coordinates to go to OSM and find out more. This does not work. Not sure what the "Copy Coordinates" button is for ...