A method of terrain-based localization of a vehicle is provided. The method may include determining the vehicle is within a threshold distance of a road segment end point and comparing a measured road profile to a reference road profile associated with the road segment. A method of identifying a…