[Digikam-devel] [Bug 165613] New: Crash when GPS altitude is negative
Paweł Marciniak
pave at o2.pl
Thu Jul 3 07:29:20 BST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=165613
Summary: Crash when GPS altitude is negative
Product: digikam
Version: 0.9.3
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: digikam-devel kde org
ReportedBy: pave o2 pl
Version: 0.9.3 (using KDE 3.5.9)
Installed from: Unlisted Binary Package
When a negative altitude is assigned to a photo in the correlation process, that photo's exif data becomes corrupted and causes digikam to crash when displaying it. The workaround is to search for photos with negative altitude before clicking 'apply' in the correlator window, and manually change the altitude to some positive value.
I'm filing this as digikam bug because I'm not sure whether it's the plugin's fault when writing metadata or digikam's when displaying it.
exiv2 pr -pt corrupted_photo.jpg:
[...]
Exif.GPSInfo.GPSVersionID Byte 4 2 0 0 0
Exif.GPSInfo.GPSLatitudeRef Ascii 2 North
Exif.GPSInfo.GPSLatitude Rational 3 49deg 10.03620'
Exif.GPSInfo.GPSLongitudeRef Ascii 2 West
Exif.GPSInfo.GPSLongitude Rational 3 123deg 56.08980'
Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level
Exif.GPSInfo.GPSAltitude Rational 0
Exif.GPSInfo.GPSMapDatum Ascii 7 WGS-84
exiv2 pr -pt fixed_photo.jpg:
[...]
Exif.GPSInfo.GPSVersionID Byte 4 2 0 0 0
Exif.GPSInfo.GPSLatitudeRef Ascii 2 North
Exif.GPSInfo.GPSLatitude Rational 3 49deg 10.03620'
Exif.GPSInfo.GPSLongitudeRef Ascii 2 West
Exif.GPSInfo.GPSLongitude Rational 3 123deg 56.08980'
Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level
Exif.GPSInfo.GPSAltitude Rational 1 7.1 m
Exif.GPSInfo.GPSMapDatum Ascii 7 WGS-84
More information about the Digikam-devel
mailing list