Tent cities are a public safety hazard. Needles, fires, weapons, toxic chemicals, shit everywhere, violence, etc. There are good reasons for cities not wanting them on city/public property.
Sure, some people are homeless. If they take care of their tent and the space around it to keep it safe, the rest of society won't have a fit when they and their closest hundred buddies move into a local community park.