A mapmatching framework for GPS data calibration