I used to work as a cook, and before I could cook I had to learn every other job in the restaurant. Believe me I've cleaned my share of junkie-occupied toilets. It's a problem, but not the insurmountable problem you claim.
http://www.cityofsydney.nsw.gov.au/community/health-and-safe...
> Community sharps are needles, syringes and lancets that are used to administer medications and drugs outside a clinical setting.
> We need to dispose of sharps safely to prevent needlestick injury in our public places, at home and for workers who remove waste or clean facilities.
> Whether or not a community sharp is used for medication or drug use, sharps are to be treated as clinical waste, like they would be in a hospital.
> Local councils have a number of community sharps bins installed in community centres, libraries and public toilets to encourage sharps waste to be managed separately from general waste.
While annoying, it's better than no public toilets; and presumably easier for the people maintaining the toilets than dealing with junkies.
(I think they still had sharp bins.)
Most telling if you had twice as many of them you would not get twice as many people shooting up.
Public municipal toilets in Europe are staffed, just one person constantly keeping the place clean, and ready to call the police if anything like that goes on.
And it works. Certainly works better than having elevator shafts in MUNI and BART smell of excrement.
Those should make it difficult for anyone to hog them.
Don't think they're self cleaning though.
Melbourne also has pop-up urinals that come out of the sidewalk late at night because all the drunks used to just piss on the street or the sides of buildings...
http://ca.complex.com/pop-culture/2016/02/australia-pop-up-u...
Because what's better than being 20 minutes into the worst diarrhoea shit of your life whilst away from home? Oh yeah, the door deciding to swing open when you're 21 minutes in.
Lots of reasons why a small building providing nothing but toilet services gets re-purposed. I think the German system would work in San Francisco, but if the Bremen experience is correct it should be possible to pay a restaurant $500 a month for leaving their toilet open. That might help fund the additional cleaning and supplies needed.
I've noticed that since I was a kid, something has developed such that the public library seems to be used as a free day care center for poor people. The solution to that societal ill is probably not to ban libraries, or ban being poor.
The book Chasing the Scream explores this in detail.