§ 302. Storage of petroleum. Crude petroleum, earth or rock oil, or any of its products, shall not be kept on sale or stored in any place or building within the corporate limits of any city in this state, except in the city of New York, unless in detached and properly ventilated warehouses, the exterior walls of which are stone, brick or iron, specially adapted to that purpose, with raised sills at least two feet high, or the ground floor of which is at least two feet below the level of the street or adjoining land, so as to effectually prevent the overflow of such substances beyond the premises where kept or stored.
No part of such warehouses shall be occupied as a dwelling, and if less than fifty feet from any adjacent building, such warehouse must be separated therefrom by a brick or stone wall at least ten feet in height and sixteen inches thick.
None of such articles shall be allowed to remain on the sidewalk beyond the front line of any building or in the street, a longer time than is actually necessary for the storage, shipment or delivery of the same, nor after sunset.