Interesting, thanks.
I'm guessing we're unlikely to find anything above the 20-odd miles of Selby to Brough?
Wouldn't it gain height towards the middle then lose the same amount to be back where it started (purely curvature of the earth related, not any other gradients)?
If it was perfectly and absolutely straight, including with respect to its vertical layout (which I suspect is not usually included in what people mean when talking about straight track), as measured by a light beam, then it would be lowest in the middle and highest at the ends, relative to the curved earth.
On the other hand if it was at a constant height above sea level or Ordnance datum throughout its length, so that a trolley on it had no tendency to roll either way, then it would not be a perfectly straight line as seen from the side.
Being Selby to Brough, its height above sea level is not very much (probably single digit metres throughout).