Issues of fact in any civil or criminal action in the circuit court shall be tried in the county in which the action is brought, or to which the place of trial is changed by order of the court upon the consent of the parties to such action or their attorneys, or upon the grounds now or hereafter provided by law. Nothing in this section or § 16-6-16 prevents the judge of any circuit court from making any order at chambers at any place within the state in any matter properly before the judge.
SDCL 16-6-17