Towns & cities
Dunfermline
City and former Royal Burgh in Fife, Scotland, UK
Wikipedia names Dunfermline as where 1 film or series was filmed; its page links to the sentence that says so. Wikidata records no shoot here yet.

Filmed here, per Wikipedia
Wikipedia says these were filmed in Dunfermline. Each title’s page links to the sentence that says so.
Filming locations nearby
-
Towns & cities
Dunfermline Abbey
Scotland · under 1 km
Church in Fife, Scotland, UK
-
Landscapes & nature
Charlestown Harbour
Scotland · 5 km south-west
Harbor in Charlestown, Fife, Scotland, UK
-
Towns & cities North Queensferry
Scotland · 8 km south-east
Village in Fife, Scotland, UK
-
Castles & palaces
Blackness Castle
Scotland · 8 km south-west
Castle near the village of Blackness, Scotland
-
Castles & palaces Hopetoun House
Scotland · 8 km south
Country house in Abercorn, West Lothian, Scotland, UK
-
Streets & squares
Forth Bridge
Scotland · 9 km south-east
Railway bridge in eastern Scotland