The bill would prohibit camping within 500 feet of schools, open spaces and transit stops, as well as on streets if shelter is available.