If you’re homeless, why wouldn’t you come to California?
However, as I recall from previous discussion, most California homeless come from California.
But about San Francisco, "out of town" could mean elsewhere in California.
As for the police, I honestly don't think I've ever seen one police officer harass a homeless person (or anyone really harass them, for that matter). Santa Monica police were always remarkably respectful when dealing with the homeless population there, and I don't believe I've ever witnessed an interaction between LAPD and any of the homeless near my current home.
Officers can be respectful while ticketing and arresting the homeless. And perhaps Santa Monica isn't targeting homeless as much as LA generally.
I say all this, but again reiterate that I hurt every day I have to walk four blocks to get groceries, and pass a dozen people in a remarkable state of sadness and disrepair. I want each and every one of them to get the help they deserve as human beings (regardless of why they got there, what their race or country of origin, just don’t care... they are human beings who deserve our support). But, i know it’s a collective action issue, and potentially a national issue, and so we have to find a way to make elect officials at a local and national level who are capable of addressing this challenge.