No such public garage or gasoline station shall be constructed or placed on any lot which possesses a lot line located less than 1,000 feet from any public or private school offering courses of general educational instruction, hospital, church, theater or library, and further provided that all gasoline or oil pumps shall be located at least 25 feet from the street line and no such garages or gasoline stations shall be erected or constructed within 1,000 feet of the nearest lot line of any existing garage or gasoline station.