To service the proposed new metropolitan cemetery the railway line to Melbourne was extended from Caulfield to Frankston between 1881 and 1882. The first section from Caulfield to Mordialloc opened on 19 December 1881. The second section from Mordialloc to Frankston opened on 29 July 1882. The course of the railway line was directly influenced by the location of the proposed cemetery. From Mordialloc to Seaford it runs adjacent to what is now Nepean Highway—which was built over a 1000-year-old sand dune that once ran parallel to the coastline. After Seaford it curves inland eastwards to where a "mortuary station" was to be located (now Kananook railway station) near the border of the proposed cemetery, then continues to Frankston.