Burntisland became an important port for the local herring and coal industries, and in 1847 the Edinburgh and Northern Railway opened from Burntisland north to Lindores and Cupar. By 1850 the world's first roll-on/roll-off rail ferry service was crossing the Firth of Forth between Burntisland and Granton, enabling goods wagons to travel between Edinburgh and Dundee without the need for unloading and re-loading at the ferries. (Passengers however had to disembark and use separate passenger ferries). This operated until 1890 when the Forth Bridge opened. In the late 19th century, the area experienced a short-lived boom in oil shale mining and processing at the Binnend Works.