Larger settlements are divided into localities to reflect areas which are more easily identifiable as the towns and cities of Scotland. Statistics produced from this geography can be used to help understand the demographics of local communities. National Records of Scotland (NRS), produces 2 datasets which are designed to show the boundaries of urban areas in Scotland: these datasets are Settlements and Localities. The Census Locality boundaries have been created using the Census 2022 frozen Postcode boundaries.
Scottish Government SpatialData.gov.scot