TORONTO - Toronto's medical officer of health has issued a heat alert for the city amid soaring temperatures.

It will be in effect until further notice.

In issuing the alert, Dr. David McKeown urged the public to call or visit family, friends and neighbours to make sure they are OK.

Other groups at risk include people with chronic and pre-existing illnesses, infants and young children, people on certain medications and those who are marginally housed or homeless.

McKeown also advised the public to beat the heat by drinking a lot of water or natural fruit juices, going to air-conditioned places such as shopping malls and staying out of the sun.

The temperature was expected to hit 31 degrees Sunday.

The heat alert comes alongside a smog advisory for parts of southern and central Ontario.

The affected region includes Toronto, Hamilton, Barrie, Peterborough, London, Sarnia, and Windsor.

A southwestertly flow of polluted air from the United States is expected to combine with locally produced pollution.

Environment Canada predicts the air quality index for the region will be in the poor range.

The agency says it will feel more like the high 30s when the humidity is factored in.

During a smog advisory, people are encouraged to do their part for air quality by parking their vehicles and taking public transit, walking or biking. People are also discouraged from working outside for long periods.