Spline path finding ?

I have roads generated along a spline and wondering how to go about finding the shortest route ?