When I copy coordinates in digiKam, it formats the coordinates like:
-
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?
-
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 Looks like the issue is the (German) number format with a comma instead of a full stop. I don't know anything about this software, but you probably _could_ change your computer settings to use "." as a numerical separator (which would mess it up if you rely on the German format in other programs…)
-
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
try
41.91712 12.50266 or
41.91712, 12.50266
Then you are in Rom. -
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
That is lat, lon. OSM is using lon, lat, so switch them round and then remove the °E/N. As far as digikam, if it is not in the settitngs, it is likely hard to change. -
@ascherbaum
try
41.91712 12.50266 or
41.91712, 12.50266
Then you are in Rom.@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 Looks like the issue is the (German) number format with a comma instead of a full stop. I don't know anything about this software, but you probably _could_ change your computer settings to use "." as a numerical separator (which would mess it up if you rely on the German format in other programs…)
@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
That is lat, lon. OSM is using lon, lat, so switch them round and then remove the °E/N. As far as digikam, if it is not in the settitngs, it is likely hard to change.@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" ...
-
@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.