The sequel to Trainspotting, which has begun principal filming in Edinburgh and Glasgow, has just been given an official release date.

Trainspotting 2, the follow-up to the 1996 original, will be released on January 27, 2017.

The film sees the cast of the original movie – Ewan McGregor, Robert Carlyle, Jonny Lee Millerand Ewan Bremner – reunite with director Danny Boyle.

Like Trainspotting, some of the filming will be in Glasgow.

Glasgow Film Office said it is assisting with locations and road closures and other practical measures to aid the filming.

A spokesman said: "We’re delighted to welcome another major film production to Glasgow, in this case the sequel to an iconic Scottish movie that was also partly filmed in the city."

Edinburgh locations include the Central Bar in Leith among others.

Bremner, who starred as Spud in the 1996 classic, was caught filming scenes in the Muirhouse area of Edinburgh.

The film is loosely based on author Irvine Welsh’s Trainspotting follow-up, Porno, and follows the main characters 20 years on.

Malcolm Roughead, chief executive of VisitScotland, said: “The original Trainspotting was a cultural phenomenon, with posters displayed on students’ bedroom walls up and down the land, famous lines becoming part of popular culture and stars becoming household names.

"There will undoubtedly be a huge amount of interest in Danny Boyle’s long-awaited sequel, with some fans keen to visit locations associated with the movie.

"The new film is not only exciting news for those who remember Trainspotting first time around, but also for a new generation of cinema goers.”

John Donnelly, chief executive from Marketing Edinburgh said: "20 years on from the success of Trainspotting, it is terrific to have Danny Boyle and the rest of the crew back filming in Edinburgh.

"There is already a huge amount of excitement and anticipation around the sequel.

"We know from experience that popular, high profile films, such as Sunshine on Leith and One Day, which showcase the city’s dramatic skyline, play an important role in attracting new visitors to the city.

"Visit Britain calculate as much as 40% of international visitors are influenced in their choice of holiday destinations by what they have seen on TV or film."

Mr Donnelly added: "I’ve also noticed some of the cast members are out exploring and getting reacquainted with the city, sharing social media posts of Edinburgh’s iconic places like Arthur Seat and Greyfriars Kirk.

"We’re delighted they’re getting the chance to make the most of the city and it’s a real testament to the many hidden gems Edinburgh has to offer."