adaptation of editdistance measurement for tracks with data points