It’s not just poverty that keeps people on the streets. Criminal gangs use the encampments to make money, stash drugs, stake out turf, and fund their other operations.