Exif.GPSInfo.{GPSLongitude,Latitude} are not decoded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyexiv2 |
Fix Released
|
Medium
|
Olivier Tilloy |
Bug Description
the GPS latitude and longitude data is not decoded: use the example picture at http://
exiv2 -Pkyctv /downloads/
Exif.Image.GPSTag Long 1 1313 1313
Exif.GPSInfo.
Exif.GPSInfo.
Exif.GPSInfo.
Exif.GPSInfo.
Exif.GPSInfo.
Exif.GPSInfo.
Exif.GPSInfo.
Exif.GPSInfo.
pyexiv2 however returns:
import pyexiv2
image = pyexiv2.
image.readMetad
print image['
(8L, 1L)
print image['
(47L, 1L)
the value for altitude is correct, though:
print image['
(1908629L, 1250L)
which comes out as:
1908629/float(1250)
1526.9032
Changed in pyexiv2: | |
milestone: | none → 0.2 |
status: | Fix Committed → New |
importance: | High → Medium |
Changed in pyexiv2: | |
status: | New → Confirmed |
Changed in pyexiv2: | |
status: | Fix Committed → Fix Released |
Successfully reproduced with the given example file.
Unfortunately, multiple value fields for EXIF tags are currently not correctly dealt with: only the first value is extracted and returned.