As can be seen on the test track or especially coming into Hagen from Lemathe, the distance to a station shown on the HUD is a trig radial result, not the track distance. Your distance on approach should not go from 5.1 km to 5.3 km and then stay there for 30 secs at 100 kph. This may not be trivial given map locations, but this is a rail sim, not a flight sim. We need to have milepost logic, not trig function results.
If I recall right, rather than the total distance being based on "as the crow flies" (also known as a straight line), it goes on the track length itself. Curves and bends would make the distance longer/shorter depending on the track layout of the route you're taking.