[Kde-imaging] [Bug 134747] New: GPS Sync: not optimal correlation
Fabien
fabien.ubuntu at gmail.com
Wed Sep 27 15:52:29 CEST 2006
------- 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=134747
Summary: GPS Sync: not optimal correlation
Product: kipiplugins
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kde-imaging kde org
ReportedBy: fabien.ubuntu gmail com
Version: svn (using KDE KDE 3.5.2)
Installed from: Ubuntu Packages
OS: Linux
When parsing a gpx file, gpssync stops at the first match when interval < max gap.
Extract from source code gpsdataparser.cpp:
for (GPSDataMap::Iterator it = m_GPSDataMap.begin();
it != m_GPSDataMap.end(); ++it )
{
// Here we check a possible accuracy in seconds between the
// Camera GMT time and the GPS device GMT time.
int nbSecs = abs(cameraGMTDateTime.secsTo( it.key() ));
if( nbSecs < maxGapTime )
{
gpsData = m_GPSDataMap[it.key()];
return true;
}
}
But, the first match is usually not the best one. gpssync should continue to iterate until it find the best value (min interval)...
More information about the Kde-imaging
mailing list