335.2  Farms exempt.
  Except to the extent required to implement section 335.27, no ordinance adopted under this chapter applies to land, farm houses, farm barns, farm outbuildings or other buildings or structures which are primarily adapted, by reason of nature and area, for use for agricultural purposes, while so used. However, the ordinances may apply to any structure, building, dam, obstruction, deposit or excavation in or on the flood plains of any river or stream.
[C50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, S81, §358A.2; 
81 Acts, ch 117, §1070
; 
82 Acts, ch 1245, §16
]
C93, §335.2