Try again, San Francisco.
American cities again failed to knock Canadian locales out of the top ranks of North American cities for Quality of Living, in an annual survey released by the Mercer consulting firm on Monday.
Vancouver topped all North American cities for the fourth year in a row, taking fifth place in the world, behind Vienna (1st), Zurich (2nd), Auckland (3rd) and Munich (4th).
Among North American cities, Vancouver was followed by Toronto, which tied with Melbourne, Australia for 16th place globally, and national capital Ottawa, which landed in 18th place.
The closest competitor from America was San Francisco, which came in at 29th place, tied with Canberra, Australia.
READ MORE: Canada’s best cities for full-time jobs
Mercer’s survey aims to provide multinational companies with advice on how to compensate their employees fairly when locating them on assignments around the world.
The rankings are based on 39 factors that are divided into 10 categories, such as a city’s economy, its housing, its natural environment as well as health and medical considerations.
Mercer’s latest survey included a separate ranking for infrastructure, which looked at areas such as a city’s drinking water, electricity, telephone services and public transportation.
“City infrastructure, ranked separately this year, plays an important role when multinationals decide where to establish locations abroad and send expatriate workers,” said a news release.
Vancouver, again, ranked highest of all North American cities on infrastructure, coming in at ninth place globally, a placing that tied it with Zurich.
It was followed by Montreal, which tied with Atlanta for 14th place.
Last year, Montreal announced a $6.3-billion capital works plan to help with repairs to roads and infrastructure, as well as transportation and sewer work. It includes $38.5 million being spent on the replacement of the Jacques-Bizard Bridge.
The world’s worst city for infrastructure was Port-au-Prince, Haiti, at 231st place.
It ranked below cities such as Baghdad (230), Sana’a, Yemen (229), Brazzaville, Congo (228) and Conakry, Guinea (227).