Except as provided by § 21-45-28, upon requisite proof being made, the court must order partition of the property in kind according to the respective rights of the parties, as ascertained by the court, and must designate the portion to remain undivided for the owners whose interests remain unknown or are not ascertained. For partition in kind the court must appoint three referees unless the parties file written consent for one, in which case one only shall be appointed and may perform all of the duties required of three.
SDCL 21-45-15