Lovely. This is not an anti-drug ordinance. Most people have private places to use their drugs. This is an anti-homeless ordinance. All the fucking liberals (progressive and conservative alike) in all states and all cities love those. When they can't outright simply criminalize the fact of being unhoused, they criminalize all the behaviours which being unhoused requires, or encourages because you simply don't have a house in which to do everything people do in life.
So just like criminalizing crack cocaine orders of magnitude more than powder cocaine contributed heavily to systemic racism, this move has a very definite classist and racist purpose.