The Zhifang Waiji (Chinese: 職方外紀; literally: "Chronicle of Foreign Lands") was an atlas written by various Italian Jesuits in China in the early seventeenth century. The name literally refers to lands beyond the purview of the Zhifang Si, the Imperial cartography office. It was the first detailed atlas of global geography available in Chinese.
In the late 16th century, Western cartography was introduced to China by Matteo Ricci, who produced the Kunyu Wanguo Quantu, China's first world map, in 1602. The Wanli Emperor, who commissioned Ricci's map, subsequently ordered Ricci's colleagues Diego de Pantoja and Sabatino de Ursis to produce a book explaining the geography of the new countries shown; their work was eventually edited, compiled and revised by Giulio Aleni. In 1623, the book was finally published by Yang Tingyun in Hangzhou, and three years later was later reissued in a revised edition in Fujian.
The eight scrolls of the Zhifang Waiji divide the world into five continents, each with separate maps and descriptions. These are named as Asia, Europe, Libya (Africa), Americas, and Magellanica (Europe receives considerably more coverage than any other continent). An additional section covers the oceans. Ricci's original map had placed China off to one side, which resulted in a somewhat negative reception in Chinese scholarly circles; when Aleni and Yang published their version, they adjusted the design so that China occupied the centre of the world map. This small change made the Zhifang Waiji more popular, and it had a much longer and more wide-ranging influence than the Kunyu Wanguo Quantu as a result.