Moving the problem is the same as fixing the problem. People are choosing to live outside, or they economically can't afford a place to live, or they have mental illness that prevents them from taking care of themselves, or they have addiction that prevents them from taking care of themselves.
For people choosing to live outside, well it's ok for society to demand they follow the rules like everyone else.
For people who can't afford a place to live, displacing them to somewhere else is the best thing you could do, living in SF requires an absurdly high income, if they move to Montana (or Idaho or honestly throw a dart at a map, the US is cheap if you don't try to live in the top 20 most expensive zipcodes) they could rent an apartment for $500/month, which is $250 if you have a roomate. That's less than one week of work at minimum wage. Lots of my friends are software engineers, and are moving to Oakland because SF is too expensive. So my friends with high paying jobs are expected to move, but someone can set up a tent and they have a human right to stay right where they are? It's ludicrous.
For the people with mental illness or an addiction, which is more than 95% of the people living on the street, what fixes the problem? They can't function in their current state, and it's illegal to force them to take medication, and impossible to make them stop doing drugs. Fine, lets provide them with shelter at least. Lets build the shelter somewhere really cheap, and provide them with free transportation to get there. Maybe the same places I mentioned above, where it would be very inexpensive to provide them with food and shelter, which is basically everywhere besides SF. Of course this is again a non-starter, since no matter what you do, literally anything you do at all to help them, unless they are homeless and living on the sidewalk in San Francisco, people are going to claim it's a violation of their human rights.