It comes just days after similar legislation was scuppered at Westminster.
Rapist Jailed For 8 Years For Meadows Attack
A man who raped a student as she walked home from a party has been jailed for eight years.
Steven Davidson, 24, targeted the lone female as she made her way across in the Meadows in Edinburgh in the early hours of the morning.
The "despicable'' attack happened on November 15, 2014 when Davidson grabbed the 19-year-old from behind and forced her to the ground.
He ran off during a struggle but was later traced and linked to the rape by DNA evidence.
Davidson, from Newtongrange, Midlothian, was arrested by officers a month after the attack.
Convicted at the High Court in Edinburgh on January 20, he has been sentenced to eight years in prison and placed on the sex offenders' register.
Kenny Donnelly, procurator fiscal for High Court cases in the east of Scotland, said: "This was a despicable attack on a defenceless young woman, picked at random as she walked home.
"Prosecutors take crimes of rape and sexual offences extremely seriously and we are committed to ensuring that all such cases are investigated thoroughly and sensitively, and are prosecuted appropriately.
"Victims of such offences can be confident that they will be treated with the utmost professionalism by everyone involved in the investigation and prosecution, and we will do all we can to deliver justice for them.''
The officers were targeted as they responded to a call in the Knightswood area of Glasgow on Sunday night.
Jurors watched CCTV footage of Stefano Brizzi talking to officers at Lewisham police station following his arrest on April 7.
10,000 watched Andy Murray Live at the SSE Hydro in Glasgow last month.
Most Viewed Pictures On Heart
Recently Played Tracks
To listen live, choose your preferred location:
Deposit £10 to get a £40 Welcome Bonus - That's £50 to play bingo, slots and more!*
Over 50 tracks to make you feel-good. New album out now...
Find your local four day weather report here.
Make Heart the soundtrack to your day and you could be a winner with great prizes up for grabs throughout the day.
Find out more about some of the companies advertising on Heart Scotland- East.