We take a look at 14 of the most memorable major movies that have featured the Scottish capital.
While Filth, a dark, Irvine-Welsh adapted comedy centred around a corrupt local police officer with a penchant for illicit activities, is hardly an advert for Edinburgh, the city itself looks superb.
The film adaptation of the much-loved book by David Nicholls about a couple who meet on the same day every year for twenty years before finally falling in love. The Old and New Towns feature prominently, with some memorable scenes filmed on Arthur's Seat.
Sign up to our daily newsletter
The i newsletter cut through the noise
A lot of fun and very, very of its time, Restless Natives centres around two young Edinburgh teens who take to a life of crime, holding up tour buses in the Scottish Highlands while wearing silly masks. Central Edinburgh takes centre stage in plenty of key scenes.
Directed by Dexter Fletcher, this 2013 effort is the all singing, all dancing screen adaptation of the stage musical by the same name and heavily features the works of The Proclaimers. Key scenes were filmed on The Mound and around the Shore in Leith.
Based on a true story, this inspirational movie directed by Hugh Hudson centres around the trials and tribulations of two young British athletes aiming to compete at the 1924 Olympic Games in Paris. One of the athletes happens to be Edinburgh boy Eric Liddell, and the film features plenty of his home city.
Sylvain Chromet's charming animation featured Edinburgh heavily, recreating the city as it looked in the 1950s. Landmarks such as Arthur's Seat and Jenners department store star prominently.
Thirties Edinburgh is convincingly portrayed in this masterpiece adapted from Muriel Spark's best-selling novel. Henderson Row and Edinburgh Academy feature prominently. Other filming locations include the Grassmarket, Edinburgh Castle, and the Royal Museum on Chambers Street.
A top-notch effort by a then unknown director. This hugely-enjoyable black comedy was Danny Boyle's directorial debut and also marked the first starring role for Ewan McGregor. Scenes are mostly focused around a flat in the city's New Town.
Irvine Welsh's tale of Edinburgh heroin addicts went on to become a cultural phenomenon. Like the book, most of Trainspotting is set in Edinburgh. The movie's opening chase scene has become one of the most recognisable and parodied moments in modern cinema.
The classic thriller, loosely based on John Buchan's novel, boasts a string of movie adaptations. The scene where main character Richard Hannay escapes from a train on the Forth Bridge is easily the film's most memorable. Interior shots of Waverley Station were also used in the film.
Colin Firth and Nicole Kidman star in this extraordinary true story about an Edinburgh man who is haunted by his experiences as a POW during the Second World War. Calton Hill is featured in the film and on the official movie poster.
Seldom has Edinburgh featured in a bigger blockbuster than this Marvel Studios effort. This 2 billion dollar behemoth boasts key scenes around the Old Town and a memorable fight sequence in Waverley Station.
Danny Boyle's follow-up to the 1996 classic Trainspotting was years in the making. This time around though Edinburgh featured even more prominently than in the first instalment, with plenty of scenes filmed on location.
The latest blockbuster to arrive in Edinburgh has just wrapped up filming at the time of writing. Stars including Vin Diesel and Chris "Ludacris" Bridges were warmly welcomed by Edinburghers during filming around the city centre.