There is only one solution for this situation, euthernize them all and don't stop there.
I understand, in rural Thailand, dogs are a necessity. Everybody has dogs, I have a few dogs too.
First of all to keep those unwanted critters, snakes and rats, out of your property.
Second as an alarm for the 2 legged critters in the night. You can hear which route the drug-head takes at the wee hours thru the village.
Anyways, where I stay each dog has an owner as long no accident happens.
What I have learned is, that those soi dogs are actually usless. They don't care about anything as long their belly is full. My dogs aren't mutts, they are from the military and wor dog school which got discharge from the training, still good enough and well trained for every home.