A permit shall not be issued by the building official for the construction of any building, or for the alteration of any building which will affect the exterior walls, bays, balconies, or other appendages or projections fronting on any street, alley or public lane, or for the placing on any lot or premises of any building or structure removed from another lot or premises, unless the applicant ascertained the lines of the public street on which he or she proposes to build, erect or locate said building; and the building official shall see that the street lines are not encroached upon except as provided for in the building code.