A Metropolitan Railway was developed underground to connect many of such different railway terminals and was the entire world's 1st "Metro".
Inspection techniques involve monitor geometry cars or going for walks https://europeantimes.news/2024/07/polands-railway-transformation-a-e230-million-investment-in-green-energy/