There shall be no jury trial in the magistrate court for violation of this article. Any defendant who is charged with one or more violations of this article may, at any time before trial, demand that the case be removed for a jury trial to the superior court of the county. Such a demand shall be written. Upon such a demand the court shall grant the demand. Failure to so demand removal of the case shall constitute a waiver of any right to trial by jury which the defendant may otherwise have.