Export the data for rail lines in your drawing.
The resulting file will contain data for each station of the rail line for validation of the calculations or for uses in other applications.