From the Wikipedia article:
Filming locations
Despite being set in Edinburgh, almost all of the film was shot in Glasgow, apart from the opening scenes, which were shot in Edinburgh, and the final scenes which were shot in London.
Well, I stand corrected. I was familiar with all Edinburgh locations in the opening scene.