Thanks for the suggestion, but none of the routing services or tools seems to be designed for rail/subway - they seem to work for street shapes-based routing.