Do you have data suggesting that SF is in fact attracting homeless more than other cities?
What end game are you trying to get at?
Rich European countries which have solved this problem don't do it by putting all the homeless in Paris or Berlin. They're distributed throughout urban, suburban, and rural areas of the country, which is what we need to do.
It's cities that have the jobs and make policies that drive up the cost of housing. There's much that can be done at the city level.