A new ordinance penalizes people for loitering, sleeping in public or trespassing.