“Street superintendent” or “superintendent of streets” when used with reference to a county means the county surveyor, and when used with reference to a city means the person or officer whose duty it is under the law to have the care or charge of the streets or the improvement thereof in such city.