part of the railway connecting a city