Coming back from vacation I wanted to geotag a bunch of images with gpscorrelate. But this did not work correctly, for most of the pictures no fitting coordinate could be found.
I found out that the .gpx files of the GPS (Garmin Vista HCX) had some implausible dates in some points ("2043-10-"). The time itself seems to be correct for these points, also the coordinates seem not to be off.
Although this does not make sense it seems to happen quite often. I suspect that gpscorrelate expects the points in a monotonic increasing order and the year 2034 outliers breaks the order. Please implement some filter and throw away the points that are not in an increasing order when reading the input gpx data.
Yes, it assumes dates to be sequential order. A GPX file does does not do that
is malformed, so GIGO. It might be useful for gpscorrelate to check this and
abort if it finds such a malformed input.
Coming back from vacation I wanted to geotag a bunch of images with gpscorrelate. But this did not work correctly, for most of the pictures no fitting coordinate could be found.
I found out that the .gpx files of the GPS (Garmin Vista HCX) had some implausible dates in some points ("2043-10-"). The time itself seems to be correct for these points, also the coordinates seem not to be off.
Although this does not make sense it seems to happen quite often. I suspect that gpscorrelate expects the points in a monotonic increasing order and the year 2034 outliers breaks the order. Please implement some filter and throw away the points that are not in an increasing order when reading the input gpx data.