Maybe instead of going full-feels, you should pause and contemplate why those sorts of regulations and laws exist. I would imagine it relates to the premise that public spaces are supposed to be a benefit to all, which doesn't happen if they mostly serve as an encampment for a minority of a population.
Well-intentioned actions like the ones in the parent post can actually come with negative externalities that entirely outweigh them; places like San Francisco are learning that particular lesson as we speak.