All actions, special proceedings, motions, and applications of a criminal nature, arising under the laws of this state of which a circuit court has jurisdiction may be heard and determined at any place in the judicial circuit in which is situated the county where the same is brought or pending; but issues of fact in any criminal action must be tried in the county in which the same is brought or to which the place of trial is changed by order of court. Neither this section nor § 23A-45-11 shall prevent the judge of any circuit court from making an order in chambers at any place within the state in any criminal matter properly before him.
SDCL 23A-16-5