Buses in Shanghai
Shanghai has around 2000 formal bus lines (including city center, trolleybuses and suburban lines), served by more than 10 bus companies. In the past, Bashi, Dazhong, Guanzhong and Qiangsheng were the four largest; around 2009 they merged to become Bashi Group Companies, including Bashi No.1-6 Bus Passenger Service Companies, Bashi Tram, Bashi Xinxin and Chongming Company, Baoshan Company and Jinshan Company. Each Suburban district also renewed with one company serving each district. Around 2015, Bashi No.1 Passenger Service and Bashi Tram merged to be Bashi No.1 Company, Bashi No.2 Passenger Service became Bashi No.2 Company, Bashi  No.3, No.4 Passenger Service merged to be Bashi No.3 Company, Bashi No.6 Passenger Service became Bashi No.4 Company, and Bashi No.5 Passenger Service and Baoshan Company became Bashi No.5 Company. Liveries of different bus companies differ. The most ordinary livery is often called "SH Livery", which was established in 2001. Bashi Group buses, Jinshan Bus Co. of Jinshan District, Minhang Bus Co. of Minhang District and other private bus companies use such kind of livery, while different in colors. Pudong Bus of Pudong New Area has its special livery established in 2009, which is blue and is often called "Haibao  Livery". Songjiang Bus of Songjiang District has a livery of a combination of red and grey, which was established in 2007. Fengxian Bus of Fengxian District has a livery of green and white and another livery based on "SH Livery" but with the color of green and blue, which were established after Fengxian Bashi and Fengxian Bus (local owned).Qingpu Bus of Qingpu District started using new livery since the end of 2015, which contains the same color with Bashi "SH Livery" but has different patterns. Zongshen Dazhong of Qingpu District has a special livery of a combination of yellow and  green on some of its bus routes. Since 2006, Shanghai has been the leading Chinese system to implement electric and hybrid buses. During the 2010 Shanghai World Expo, the city piloted a program that includes 256 new energy buses with low to no emission. As of May 2015, the system has over 1,700 new energy buses, amounting to over 20% of the entire fleet. During the mid-2000s, the city converted many traditional trolley routes to a standard diesel fleet because of route flexibility, speed, and eliminating the visual pollution of overhead wires. However, the obvious benefits of the trolley buses  have brought back a renewed interest in keeping and developing the program. In 2013, Bashi Trolley Bus Company ordered 300 new trolleybuses to replace the aging fleet and grow the overall number of trolleys in Shanghai. In February 2017, a number of ordinary bus lines running under the Yan'an Elevated Road was altered and transformed into Yan'an Road Medium-capacity System, or route , a trolleybus bus rapid transit line running in the reserved lanes in the center of Yan'an Road. The line is served by a fleet of 40 Yutong ZK5180A articulated bus and 28 Yutong ZK5120C rigid dual-mode  trolleybuses. Buses achieved an average operating speed of on the line. The line has an average weekday ridership of about 54,000 people, making itself the most used bus line in Shanghai. Line 71 doesn't share any overhead wires with other trolleybus routes. On 28 July 2021, the Shanghai road transport department raised the issue of 'optimising' the traditional trolleybus network, which will result in the removal of all infrastructure on routes 6, 8, 13, 22, 25 and 28 to balance between historical value and space taken by wires. Trolleybuses on these routes will be replaced by electric buses. Naming  scheme. Most downtown buses use numbers to specify the lines, while suburban buses and a few downtown bus lines use Chinese characters. In the recent decade, there has been increased activity in network optimization and as a result, many bus lines have been cut, shorted, and combined. Many named bus lines have been converted to number lines with a flat fare. Some regular lines have been changed to rush-hour only, while still keeping their original line numbers. Tunnel Lines 1 to 9, except Tunnel Line 5, run across a tunnel under Huangpu River. While being the same as buses  in the 400s, there are many other buses that cross the many tunnels under the Huangpu River while not named as a tunnel line. Bridge Lines 1 to 6 run across bridges over the Huangpu River, including Lupu Bridge, Nanpu Bridge, and Yangpu Bridge. While being the same as buses in the 400s, there are many other buses that cross the many bridges over the Huangpu River while not named as a bridge line. Airport Lines 1 to 7 connect Pudong International Airport to downtown Shanghai and Hongqiao International Airport, while Airport Special Line () connects Hongqiao International Airport to the  Jing'an Temple in downtown Shanghai. There will be various additional naming schemes in the alphabet lines. Most lines are named as "XY Line", where X and Y indicate the two terminals of this line, e.g., "莘纪线" (Xin Ji Line) is a bus which runs between Xinzhuang and Jiwang. Non-numerical lines. Some other lines only indicate one terminal, e.g., "宝杨码头专线" (Baoyang Port Special Line) is a bus which runs between Baoyang Port and Shanghai Railway Station. In the central portion of some suburbs, there are lines with the name format of "XX No. X" line. Fare. All flat-rate fare  and numbered lines and most distance-based fare lines accept the Shanghai Public Transport Card. The transfer discount policy for Shanghai public transport service is applicable.