The city centre of Edinburgh is roughly 1.5 miles (2.4 km) from the sea at Leith, its historic port district.