Canada Day 2017 in the capital produced mixed feelings. 

Long lineups for security and buses put a damper on things almost as much as the weather, but it didn't stop people from flocking to Parliament Hill. 

Decked out head to toe in rain gear, many still managed to enjoy the country's birthday party in Ottawa.

Here are some of the best photos of the day.

Canada Day 20170701

People take shelter from the rain as they wait in line during Canada 150 celebrations in Ottawa. (Sean Kilpatrick/THE CANADIAN PRESS)

Canada Day 20170701

Camilla, Duchess of Cornwall and Prince Charles made an appearance, riding in a carriage with Governor General David Johnston and his wife Sharon Johnston. (Sean Kilpatrick/THE CANADIAN PRESS)

Canada Day 20170701

Prince Charles and Camilla Duchess of Cornwall watched some Indigenous dancers with Prime Minister Justin Trudeau and his family. (Sean Kilpatrick/THE CANADIAN PRESS)

Canada Day 20170701

But the royals couldn't escape the rainy weather, with Prince Charles, Camilla Duchess of Cornwall, Prime Minister Justin Trudeau, Sophie Gregoire Trudeau, Hadrien Trudeau, Ella-Grace Trudeau and Xavier Trudeau (left to right) taking in the celebrations under umbrellas. (Sean Kilpatrick/THE CANADIAN PRESS)

Canada Day 20170701

Hadrien Trudeau holds his dad's hand, Prime Minister Justin Trudeau, as Sophie Gregoire Trudeau holds her daughter Ella-Grace Trudeau. (Sean Kilpatrick/THE CANADIAN PRESS)

Canada Day 20170701

Happy people were able to greet Prince Charles on the Hill. (Adrian Wyld/THE CANADIAN PRESS)

Canada Day 20170701

People look on during the Canada Day noon hour show on Parliament Hill. (Justin Tang/THE CANADIAN PRESS)

Canada Day 20170701

The rain poncho seemed to be the most popular clothing item in Ottawa for Canada Day. (Justin Tang/THE CANADIAN PRESS)

Canada Day 20170701

Canada's newest astronauts Joshua Kutryk and Jennifer Sidey were announced during the Canada 150 celebrations on Parliament Hill in Ottawa. (Sean Kilpatrick/Canadian Press)

Canada Day 20170701

It was a long wait for members of the public wait who wanted to see the festivities on Parliament Hill. (Patrick Doyle/Canadian Press)