Hundreds line the route of a funeral procession carrying Gannon's body from a Hyannis funeral home to St. Pius X Church in South Yarmouth for his wake.

HYANNIS - People began gathering just before 2 p.m. today outside Doane, Beal & Ames Funeral Home on West Main Street for the funeral procession to carry the body of Yarmouth police K-9 Officer Sean Gannon to St. Pius X Church in South Yarmouth for his wake this afternoon and funeral Mass on Wednesday.

Gannon, 32, was shot and killed Thursday in the attic of a Blueberry Lane home in Marstons Mills while helping serve a warrant on Thomas Latanowich, 29, a notorious criminal police say has 125 past criminal charges. Nero, Gannon’s canine partner, was also shot and has a bullet lodged in his shoulder, but survived.

By 2:30 p.m., hundreds were gathered, many with blue ribbons pinned to their clothing and miniature American flags in hand. The procession began just before 3 p.m. traveling down West Main Street to South Street before turning onto Route 28 for the remainder of the journey to the church.

Law enforcement vehicles manned by officers from across the Cape and Islands accompanied the hearse carrying Gannon. Mourners lined up along the entire route and looked on in silence.

“This kind of stuff happens in Boston, so when it happens down here you don’t expect it,” said Michael Connolly, a retired airplane pilot from Marstons Mills. “Unfortunately it’s a fact of life in today’s world.”

A volunteer emergency medical technician, Connolly had heard reports of shots fired on his scanner last Thursday before it moved to a tactical channel, he said.

“I knew something was going down,” he said. “It’s just really sad. A young guy like that, so well-liked in the community.”

Since Gannon’s death Thursday, the community has held several vigils and continues to pay its respects to the fallen officer. Blue ribbons symbolizing law enforcement can be seen along roads throughout communities on Cape Cod.

On Saturday, Yarmouth Police Chief Frank Frederickson delivered an emotional speech about difficulties besetting police departments across the state, urging lawmakers to make changes to better protect police. His message carried over into Monday, when the community came together again in South Yarmouth.

“Turn Cape Cod Blue,” a movement highlighting the sacrifices of police officers, has gained traction on social media and the state announced today that it would be lighting several bridges and buildings blue tonight in Gannon’s honor.