The town is located in a crater-like depression around a lake on top of a mountain. The main road enters the town from the north through a thin pass. To the east and west are steep cliffs. Those to the west are too steep to inhabit, however extensive new construction along the eastern side has created many new districts.
Administrative divisions
Administratively, the County-level City of Gejiu consists of 10 township level units:
Originally a small mining settlement Gejiu was called Gejiuli. Under the Yuan and Ming dynasties the mining of silver was begun there. In the late 17th and 18th centuries, mining in Yunnan boomed, but tin mining in Gejiu did not develop until the second half of the 18th century. In the 1880s the city was created a subprefecture under Mengzi County, about to the east. Gejiu only began to be developed after the French connected the area to the railway down off the Yunnan plateau into Vietnam. After the 1911 Revolution it was further developed due to its location up in the mountains, surrounded by abundant tin reserves. In 1889 Mengzi was opened as a treaty port, its trade being almost entirely with Hanoi and Haiphong in what was then French Indochina. One of the main purposes in constructing the French-built Kunming–Hai Phong Railway, completed in 1910, was to service the mines. A branch line was built from Gejiu to Mengzi between 1915 and 1928. During the last years of the Qing dynasty, the mines were organized by the Chinese-owned Gejiu Tin Company, but the company was deficient in capital, technical skill, and managerial efficiency and was replaced by a joint state-private company, the Gejiu Tin-Mining Company, under which production boomed. By the 1930s Gejiu tin accounted for 80 percent of the traffic exported on the railway. Tin production is said to have reached 10,000 tons in 1938. After 1949 management passed to the state Yunnan Tin-Mining Corporation, which by 1955 had reached and surpassed prewar production figures. In addition to mining tin, which remains the chief product, Gejiu has also become a major producer of lead, and a thriving metallurgical industry has been developed. Tin articles made in Gejiu are highly acclaimed in China. Coal for smelting is supplied to the city from nearby Kaiyuan to the north, located on the rail line to Kunming. There is some engineering and chemical production closely allied with Gejiu's metallurgical industries. The town surrounds a lake which, however, was not naturally formed. A turning point in the city's history was when a mining accident occurred sometime in the 1950s, when water welled up through the mines which led to groundwater rising to the surface, and this flooded a large part of the narrow valley that the city was located in. This accident may well have turned out to be a blessing in disguise for Gejiu, as it provided a nice scenic lake right in the city center. An already cramped upland location became even more cramped after this and, this has resulted in an extremely dense, high-rise center compared with other small Chinese cities that are built on plains. Later the adjacent area to the flood-caused lake was turned into a park. Today the town is protected from further flooding by an underground spillway. Today Gejiu is a relatively modern prosperous city with high-rise density buildings with a lakeside setting and has backdrop of rocky hills.
The populace is primarily Han Chinese, however minorities such as the Muslim Hui, Dai from the nearby Red River valley, and Hani from the surrounding mountains are also present.
Economy
In addition to tin reserves, iron and coal are also found in Gejiu.