Except as otherwise specifically provided, whenever a person is arrested for a violation of any provision of this title punishable as a misdemeanor, the arresting officer shall take the name and address of the person and the license number of his motor vehicle and driver's license and issue a summons or otherwise notify him in writing to appear at a time and place to be specified in the summons or notice. The time shall be at least five days after the arrest unless the person arrested demands an earlier hearing. The arresting officer shall upon the person's written promise to appear, release him from custody. Any person refusing to give a written promise to appear shall be taken immediately by the arresting officer before the nearest or most accessible magistrate. Any person who intentionally violates his written promise to appear is guilty of a Class 2 misdemeanor regardless of the disposition of the charge upon which he was originally arrested. A nonresident arrested for a violation of any provision of this title may be required to post bond in the amount set forth on the fine and bond schedule provided by the presiding circuit court judge, or in an amount set by a magistrate or judge for that offense, before being released from custody.
SDCL 32-33-2