If you walk down Market Street (the main street in SF) at 8-8:30 AM, you see the business owners washing the urine and feces off the sidewalk in front of their places. Businesses have sign saying "There is a public toilet in XXXX", please do not use our doorway as a urinal."
The underground MUNI (city transit) and BART (Bay Area Rapid Transit) stations don't have any gates to close them off at night. They don't run all night, so the bums sleep there and use them as toilets.
I was walking down Market once and a woman starts changing here clothes in the middle of the sidewalk. Luckily for me she had long johns on.
The city is run by so many left wing loonies that don't want to hurt the feelings of the homeless. San Francisco has the lowest % of children to overall population of any major city in the US. All of the families move out if they can.