In the British Isles it occurs on damp acidic soils in Scotland, Ireland, Wales, northern and southwestern England, and in scattered locations elsewhere in England, at altitudes up to about 915 meters .