In Cuzco Peru (very touristy) a few years ago I noticed that a lot of the feral dogs were outfitted with football (soccer) jerseys, often famous international teams. So, I think they would get a food donation advantage from fans of that team (e.g. Barcelona). I also saw dogs carefully waiting at stoplights to cross a street. It occurred to me that the angry/agressive dogs probably don't make it because its not an effective survival strategy. Probably an outlier situation from an international perspective, but interesting. A pack of dogs ran up to me at one point and I was pretty scared, but they just went past and kept going. They seemed to have a lot of agency, meaning that they survived without any "owner" as we think of it in the USA.