The 19-mile new train route has been given the green light.