No concentrated animal feeding operation that includes a number of animals equal to or greater than one thousand animal units may be located over a shallow aquifer unless a groundwater discharge permit has been approved in accordance with chapter 34A-2. For purposes of this section, a shallow aquifer is any aquifer having the following characteristics:
This section does not apply to any concentrated animal feeding operation that was operating on or before July 1, 1997. This section does not limit or prohibit the expansion of any concentrated animal feeding operation that was operating on or before July 1, 1997.
The provisions of this section do not apply to any county which has officially adopted a comprehensive plan and zoning ordinances pursuant to chapter 11-2 and wellhead protection ordinances pursuant to § 7-18-20.
SDCL 34A-3A-24