No vacant land in any district established under the provision of this title shall hereafter be occupied or used, except for agriculture uses other than livestock farming or dairying, and no building hereafter erected, structurally altered or moved in any such district shall be occupied or used until a certificate of uses and occupancy shall have been issued therefor by the city building inspector.