In a data alignment process for aligning measured track data collected along a length of railroad track to a reference data set for the same length of track, a method for coarse estimation of odometer error manifest along the track length of measured track data and refining the coarse estimate to produce a final estimate used in correcting the actual odometer error manifest in the measured track data comprising steps of:
- (a) creating a plurality of simulated data sets from the measured track data, each data set simulating a different odometer error value, each value taken at a different predetermined interval point along a predetermined maximum error range applied to the measured track data set, the range having a zero interval point at center thereof;
- (b) cross-correlating each of the simulated data sets against the.reference data set at each interval point along the maximum range allowed obtaining a coefficient value for each of the simulated data sets;
- (c) identifying a single best coefficient value from those obtained in step (b) that defines a best alignment to data contained in the reference data set;
- and
- (d) repeating steps (a) through (c) using a smaller range having smaller intervals, the smaller range centered over the range interval in the first range of the measured track data associated the best coefficient identified.