Dorset's towns and villages, landscape and language permeates all of Hardy's writing- so Dorchester itself is Hardy's Casterbridge,
the coastal town of Bere Regis becomes KingsBere and Cerne Abbas is Abbot's Cernel,
the last two both featuring in Tess of the D'Urbervilles.