TfNSW real-time map

I’m not really sure what you mean here. Are you asking how they access realtime data for past services? AnyTrip records all transit data, so that would be how they can display this information:

Are you after historical transit data? Our data may be suitable for you. AnyTrip has a vast collection of data including timetables, vehicle locations and arrival/departure times. We also have data playback facilities to allow you to go back in time and test real-time data feeds. Contact us if you want to learn more.

Sorry if that isn’t what you meant, I found your message a bit unclear.

@llui85 so for example in the above the Bangaroo station has switch wharf 1 Side B to Wharf 1 Side A.
This is shown in the real time trip updates. however in the above example it shows that the ferry will arrive at 7:45. I believe this is done by adding the delay to the timetabled arrival time for the trip in file trips.txt by referencing the trip id and stop id however if the stop id changes like above how do you get the arrival time for the new stop on that same trip ?