In the 1940s, I knew of a man elected as mayor of a small town, whose sole platform was to personally shoot all the stray dogs. He carried out his campaign promise and was reelected.
In South America, there is an old tradition of itinerant dog poisoners, who go from town to town. In addition to their pay, the town provides them with a barrel, poison, and bad meat from a butcher. On the given day, signs are posted to keep all pets indoors that night, and the meat is soaked in poison in the barrel.
In the late evening, the meat is put out on the street to be eaten. Then before dawn, the poisoner collects any leftover meat and the dead dogs, and hauls them away for burial.
It serves both to prevent packs of strays, and rabies abatement.
In this country dogs occupy the same place as cows do in India. Poisoning strays would get you more jail time than robbing a bank.