prohibit the running at large of domestic animals, and provide for the distraining, impounding, and sale of the same for the penalty incurred, and the cost of the proceedings; and to imp ose penalties upon the owners of said animals for the violation of any ordinance in relation thereto. ( r ) To prohibit and provide for the punishment of cruelty to animals. ( s ) To regulate the inspection, weighing, and measuring of brick, coal, lumber, and other articles of merchandise. ( t ) To lay out, to provide for the construction and improvement of, and to regulate the use of, streets, avenues, alleys, sidewalks, wharves, piers, parks, cemeteries, and other public places; to provide for the prevention and removal of encroachments and  obstructions from the same; to provide for lighting, cleaning, and sprinkling of streets and public places; to regulate or prohibit the use of the same for processions, signs, signposts, awnings, awning-posts, the carrying or displaying of banners, placard s, advertisements, or hand bills, or the flying of signs, flags, or banners, whether along, across, over, or from buildings along the same; to prohibit the throwing or depositing of offal, garbage, refuse, or other offensive matter in the same, and to prov ide for the collection and disposition thereof; to provide for the inspection of, license and regulate the openings in the same for the laying of gas, water, sewer, and other pipes, the building and repair of tunnels, sewers, and drains, and all structures i n and under the same, and the erecting of poles and the stringing of wires therein; to provide for and regulate cross-walks, curbs, and gutters therein; to name the same, and provide for and regulate the numbering of houses and lots fronting thereon; to  regulate traffic and sales upon the same; to provide for the abatement of nuisances in the same, and punish the authors or owners thereof; to construct, maintain, and regulate the use of bridges, viaducts, and culverts; to prevent and regulate ball playing , kite flying, and hoop rolling, and other amusements tending to annoy persons using the streets or public places, or to frighten horses or other animals; to regulate the speed of horses and other animals, motor and other vehicles, cars, and locomotives wi thin the limits of the city; to regulate the lights used on all such vehicles, cars, and locomotives; to regulate the locating, constructing and laying of the track of horse, electric, and other forms of railroad in the streets or other public places of th e city authorized by law; to provide for and change the location, grade, and Copyright 2012 CD Technologies Asia, Inc. and Accesslaw, Inc. Philippine Law Encyclopedia 2011 718