(a) It shall be unlawful to place, deposit or dump, or cause to be placed, deposited or dumped, any garbage, swill, cans, bottles, papers, ashes, refuse, carcass of any dead animal, offal, trash or rubbish or any noisome, nauseous or offensive matter in or upon any public or private highway or road, including any portion of the right-of-way thereof, or in or upon any private property without the consent of the owner, or in or upon any public park or other public property other than property designated or set aside for such purpose by the county governing authority, in accordance with applicable state and federal regulations. (b) It shall be unlawful to place, deposit or dump, or cause to be placed, deposited or dumped, any rocks or dirt in or upon any private highway or road, including any portion of the right-of-way thereof, or any private property, without the consent of the owner, or in or upon any public park or other public property, without the consent of the state or local agency having jurisdiction over such highway, road or property.