Dunedin, a city in Pinellas County, is named for Dùn Èideann, the Scottish Gaelic name for Edinburgh, the capital of Scotland. The population was 35,321 at the 2010 census.