How to measure a vehicle with a high accuracy with mm?

Why , if the THING runs along "tracks", do you need 2 axis ?? Surely you know where the "track"is !