OTTAWA -- Global Affairs Canada says there are no reports of Canadians among those killed and injured in a terror attack in Barcelona.
Someone drove a van into a crowd on the popular Las Ramblas tourist area near the centre of the city, killing at least 13 people and injuring many more.
Global Affairs says it is ready to assist Canadians in Barcelona as required.
It is also warning Canadians to avoid the Las Ramblas area and says anyone who is already there should stay indoors and follow the instructions of the authorities.
The department urged Canadians in Spain to let their "loved ones know you are safe."
Prime Minister Justin Trudeau said in a statement that he was "deeply saddened" by the news.
"While we cannot ignore the outrage we feel, together we must renew our commitment to protect the freedom found in societies that promote unity, openness and inclusion," wrote Trudeau, who has been out of the spotlight on a family vacation in British Columbia this week.
"Spain, we grieve with you and denounce hate and violence in all of its forms. Canada will continue working with the international community to fight terrorism and build a world where we can all feel safe and secure."
The attack happened shortly before 5:30 p.m. local time.
"It was clearly a terror attack, intended to kill as many people as possible," Josep Lluis Trapero, senior police official, told a news conference late Thursday.
Carles Puigdemont, president of Spain's Catalonia region, told a news conference two suspects had been arrested, but officials have said neither of them was the van's driver.
Spanish authorities say 13 people were confirmed dead and about 100 hurt, at least 15 of them seriously.
The attack occurred just over a kilometre from Canada's consulate in Barcelona.
Global Affairs says Canadians in the Spanish city should monitor local media, including social media, for information and can contact the local consulate or the Emergency Watch and Response Centre in Ottawa for help.
Charles Mordret, a Quebecer who spends a lot of time in Barcelona, was not far from the area when he heard something had happened and started going towards it.
"People were coming in the opposite direction and I ended up going into a cafe," Mordret told La Presse canadienne.
Initial reports suggested one of the suspects may have been hiding in a bar just off the popular tourist strip but police later dismissed those reports.
Mordret said there were a lot of people on the street when it happened, but they cleared away.
"There are a lot of police officers. Every street is blocked off and at each corner there's a police cruiser. Helicopters are flying over the area. The streets are empty."
Police cordoned off the area and metro stations in the neighbourhood have all been closed.
Las Ramblas is a tree-lined pedestrian mall lined with cafes and souvenir kiosks. There are two narrow service roads running along either side of the pedestrian mall.
"Las Ramblas is bit like Sainte-Catherine Street in Montreal," said Mordret. "It's the main street, where the tourists are. Whoever did this wanted to cause a lot of damage."
Politicians around the world, including U.S. President Donald Trump, expressed sadness.
Canadian Conservative Leader Andrew Scheer tweeted: "Our thoughts and prayers are with the victims. We stand together condemning these horrific acts of terrorism."
NDP Leader Tom Mulcair called it terrible news: "We stand with Spain and all those impacted by this terror attack."
Canadians in Spain – For emergency consular assistance, +34 93 270 3614 or sos@international.gc.ca
— travel.gc.ca (@TravelGoC)
Spain: Avoid the area of Barcelona. Monitor local media. Follow the instructions of authorities.
— travel.gc.ca (@TravelGoC)