Version: svn (using KDE KDE 3.5.2) Installed from: Ubuntu Packages OS: Linux The first time I correlate photo with a gpx file inside GPS Sync, altitude is correctly taken from gpx file. Altitude is also correct in Metadata/GPS. But, when I go back to GPS Sync to edit again the values, altitude is wrong (0 or other values if gps tags were put by another tool - eg. gpsPhoto.pl) while latitude/longitude are correct. Note (wish) : it would be great in Metadata/GPS to have real values (eg 1739.64m) instead of fractions (4349107/2500). BTW: congratulations Gilles for this new plugin !
Angelo : already done in bugzilla (:=)) Gilles
SVN commit 589065 by cgilles: kipi-plugins from trunk : fix GPS altitude value extraction. BUG: 134749 M +2 -2 exiv2iface.cpp --- trunk/extragear/libs/kipi-plugins/common/exiv2iface/exiv2iface.cpp #589064:589065 @@ -768,8 +768,8 @@ if (altRef.isEmpty()) return false; QString alt = getExifTagString("Exif.GPSInfo.GPSAltitude"); if (alt.isEmpty()) return false; - num = rational.section("/", 0, 0); - den = rational.section("/", 1, 1); + num = alt.section("/", 0, 0); + den = alt.section("/", 1, 1); altitude = num.toDouble()/den.toDouble(); if (altRef == "1") altitude *= -1.0;
Thanks !