A. 
Where authorized by the terms and provisions of the Vehicle Code, and in accordance therewith and subject to the terms and provisions thereof, as well as subject to the terms and provisions of this chapter, the city council may adopt regulations pertaining to the operation, driving, standing and parking of vehicles and pedestrian traffic upon the roads, streets, highways, sidewalks and other public places of the city, where necessary in order to protect the public health, safety and welfare, and where pursuant to traffic or other study determining the necessity therefor. Any regulation or posting or signing adopted pursuant thereto shall conform to all requirements of the Vehicle Code.
B. 
Such regulations shall, in addition, be subject to the following:
1. 
Any provision of this title or this code, or any ordinance or resolution of the city regulating traffic or delegating the regulation of traffic upon state highways in any way for which the approval of the Department of Public Works of the state is required by state law, shall cease to be operative six months after receipt by the city council of written notice of withdrawal of approval by the Department of Public Works;
2. 
Whenever this code or this title or any ordinance or resolution of the city delegates authority to a city officer, or authorizes action by the city council to regulate traffic upon a state highway in any way which by state law requires the prior approval of the Department of Public Works, no such officer shall exercise such authority nor such action by the city council be effective with respect to any state highway without the prior approval in writing of the Department of Public Works when and to the extent required by the Vehicle Code.
(Prior code § 3323)
The director of public works shall determine the installation and proper timing and maintenance of traffic-control devices and signals, conduct engineering analyses of traffic accidents, and devise remedial measures, conduct engineering and traffic investigation of traffic conditions, and cooperate with other city officials in the development of ways and means to improve traffic conditions, and to carry out the additional powers and duties bestowed upon him or her by any ordinance of the city. Whenever, by the provisions of this code, a power is granted to the director of public works, or a duty imposed upon him, the power may be exercised or the duty performed by his or her deputy or by a person authorized in writing by him.
(Prior code § 3323.1(part))
The director of public works, as city traffic engineer, shall have the following powers and duties in addition to any other power and duty bestowed upon him or her by this code:
A. 
The director of public works shall place or maintain, or cause to be placed and maintained, official traffic-control devices when and as required to make effective the provisions of this title.
B. 
Whenever the Vehicle Code or this title requires for the effectiveness of any provision thereof that traffic-control devices be installed to give notice to the public of the application of such law, he or she is authorized to install or cause to be installed the necessary devices, subject to any limitation or restriction set forth in the Vehicle Code or this title applicable thereto.
C. 
Whenever the city council has determined by resolution or ordinance that certain streets, sidewalks, intersections or areas within the dedicated right-of-way, or portions of any of the foregoing, by reason of traffic conditions or lack of visibility or other factors, necessitate the placement and maintenance of traffic-control devices, regulations or pavement marking in order to protect the public health and safety, he or she shall install and maintain traffic-control devices or warning postings or paintings as he or she may deem necessary or proper to regulate traffic or to guide or warn traffic or pedestrian use of the foregoing.
D. 
The director of public works may also place and maintain or cause to be placed and maintained such additional traffic-control devices, postings or pavement markings as he or she deems necessary or proper to regulate vehicular and pedestrian traffic, or to guide or warn the same in the following cases, provided such determination is based upon traffic warrants of the city council and traffic investigation, and in accordance with such standards, limitations and rules as may be set forth in this title or may be determined by the city council:
1. 
Designating and establishing boulevard stops on each and every street intersecting a through or major street, as established by the city council;
2. 
Designating and establishing boulevard stops or yield right-of-way intersections at those intersections where he or she has, pursuant to engineering studies and accident reports, determined the same hazardous to the public use thereof without such regulations;
3. 
Designating and establishing marked crosswalks at intersections;
4. 
Designating or establishing intersections where pedestrians shall not cross in a crosswalk, indicated at the intersections where engineering studies and accident reports indicate the necessity for such control in order to protect the public health and safety;
5. 
Designating by pavement markings travel lanes upon the surface of any highway;
6. 
Temporarily designating by pavement marking or signposting travel lanes upon the surface of any highway, regardless of the centerline of the highway, where necessary in an emergency or in the course of a construction project in order to protect the public health and safety;
7. 
Designating by markers, buttons or signs a different course of travel than that specified in Section 22100 of the Vehicle Code to be traveled by vehicles turning at intersections, or allocating and indicating more than one lane of traffic from which drivers of vehicles may make right-hand or left-hand turns where traffic studies and accident reports indicate the necessity for such control in order to protect the public health and safety;
8. 
Designating no-parking or no-stopping zones in those areas where he or she has determined pursuant to traffic studies and accident reports that the parking or stopping of a vehicle would constitute a traffic hazard or endanger life or property;
9. 
Designating temporary no-parking zones on any street or highway:
a. 
Where the use of such street or highway, or a portion thereof, is necessary for the cleaning, repair or construction of the street or highway, or the installation of underground utilities, or
b. 
Where the use of the street or highway or any portion thereof is necessary for a purpose other than the normal flow of traffic, or
c. 
Where the use of the street or highway or any portion thereof is necessary for the movement of equipment, structures or personal property of unusual size and the parking of such vehicles would prohibit or interfere with such movement;
10. 
Designating emergency no-parking zones where he or she has determined that traffic congestion is likely to result from the holding of public or private assemblies, gatherings or functions, or for other unusual and extraordinary reasons.
(Prior code § 3323.1(part))
The director of public works shall not establish or put into effect any of the aforementioned traffic controls where contrary to the recommendation of the city council, or where contrary to any ordinance or resolution of the city council establishing or designating any different or inconsistent control or regulation. The director of public works shall report all action taken by him or her under this section and Sections 10.20.020, 10.20.030 and 10.20.050 to the city council at its first monthly meeting.
(Prior code § 3323.1(part))
Any person affected by any traffic control or regulation installed by the director of public works pursuant to Sections 10.20.020 through 10.20.050, may protest the same to the city council. The director of public works is directed to promptly terminate and remove any traffic-control regulations, posting, painting or marking installed under Sections 10.20.020 through 10.20.050 upon the adoption by the city council of any finding recommending to the city council the termination of any such traffic control or regulation, or any part thereof. Such traffic regulation, control, posting, painting or marking shall not thereafter be reestablished until authorized by the city council in accordance with the terms and provisions of this title.
(Prior code § 3323.1(part))
Whenever traffic is controlled by traffic signals exhibiting the words "GO," "CAUTION" or STOP," or exhibiting different colored lights successively, one at a time, such signals shall conform with the requirements of the Vehicle Code and all traffic shall comply with such signals.
(Prior code § 3320)
The city council is authorized and required to establish and maintain, or cause to be established and maintained, and to designate upon the surface of the roadway by appropriate marks, or white or yellow lines, crosswalks approximately equal in width to the adjacent sidewalk at all intersections, and between intersections where, in their opinion, there is particular danger to pedestrians crossing the roadway.
(Prior code § 3322)
No person shall disobey instructions of:
A. 
Any official traffic signal;
B. 
Any traffic sign; or
C. 
Any paint marks placed upon the surface of the roadway; or
D. 
Any banner or sign erected by any officer or agency authorized to do so by the city or by anyone given authority to do so in accordance with the provisions of this title.
(Prior code § 3321)
No operator of any vehicle or streetcar shall fail to stop such vehicle or streetcar at every stop sign erected and maintained pursuant to this title at the entrance of any intersection, before entering the intersection, except when directed to proceed by a police officer or traffic-control signal.
(Prior code § 3324)
No person shall ride or drive any animal, or ride, drive or propel any vehicle over or across any new pavement in any public street, across or around which pavement there is a barrier, or at or near which there is a person or a sign warning persons not to drive over or across such pavement, or a sign stating that the street is closed.
(Prior code § 3325)