Different laws apply depending on where you happen
to be within the British Isles.
Visitors from abroad might like to look at the very clear
advice for data protection and still photography in the UK
(found in the title bar link here).
It's worth finding out if buildings, in particular,
may be photographed. Some are protected.
After a tiring day of looking at all the legalities,
I'm off for a hearty stew.
Shan't have the energy to take photos, unfortunately.
Have a restful evening...