The Swanage Railway is a six-mile ( 10 km ) long heritage railway in the Purbeck district of Dorset , England . The Swanage Railway is a 6 m long heritage railway in the Purbeck district of Dorset , England .