[Digikam-devel] [digikam] [Bug 324323] New: Hang on opening Geolocation pane on photos with XMP GPS tags.
Alexander Meshcheryakov
alexander.s.m at gmail.com
Sat Aug 31 16:37:48 BST 2013
https://bugs.kde.org/show_bug.cgi?id=324323
Bug ID: 324323
Summary: Hang on opening Geolocation pane on photos with XMP
GPS tags.
Classification: Unclassified
Product: digikam
Version: 3.3.0
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: Geolocation
Assignee: digikam-devel at kde.org
Reporter: alexander.s.m at gmail.com
I have noticed, that several photos have XMP GPS tags. When I import this
photos to digiKam album, digiKam stores invalid coordinates in DB
MariaDB [digikam4]> SELECT latitude,latitudeNumber,longitude,longitudeNumber
FROM ImagePositions WHERE latitudeNumber>90;
+------------------+--------------------+-----------+--------------------+
| latitude | latitudeNumber | longitude | longitudeNumber |
+------------------+--------------------+-----------+--------------------+
| NULL | 817.1666666666666 | NULL | 885.6166666666667 |
| NULL | 773.9166666666666 | NULL | 988.2666666666667 |
| 266,38.00000000N | 266.6333333333333 | NULL | 1455.2833333333333 |
| 267,16.00000000N | 267.26666666666665 | NULL | 1459.9333333333334 |
| NULL | 785.0666666666667 | NULL | 981.0666666666667 |
+------------------+--------------------+-----------+--------------------+
If I remove XMP GPS coordinates from these photos (exiv2 -v -M 'del
Xmp.exif.GPSLongitude' -M 'del Xmp.exif.GPSLatitude') digiKam read correct GPS
info from EXIF tags.
Reproducible: Always
Actual Results:
Photos with XMP GPS tags are not visible in "Map" view and "Map Search"
sidepane. digiKam hangs if I try to open Geolocation sidepane for such picture.
Expected Results:
1. digiKam should validate coordinates before inserting into DB;
2. digiKam should try to read EXIF GPS coordinates if reading XMP GPS
coordinates failed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list