[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [digikam] [Bug 324323] New: Hang on opening Geolocation pane on photos with XMP GPS tags.
From:       Alexander Meshcheryakov <alexander.s.m () gmail ! com>
Date:       2013-08-31 15:37:48
Message-ID: bug-324323-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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@kde.org
          Reporter: alexander.s.m@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic