No public garage shall have an opening in the roof or side or rear walls, less than 20 feet from any property line or street right-of-way, and no public garage or private garage accommodating more than five cars or gasoline filling station shall have an entrance within 500 feet, measured in a straight line, to a public school, public library, church, theater or other public gathering place or park or playground.