Save as otherwise expressly provided in this Act, no building or land shall be entered without the consent of the occupier, or if there is no occupier, of the owner thereof, and no such entry shall be made without giving the said occupier or owner, as the case may be, not less than four hours written notice of the intention to make such entry : ...