The Shanghai Xianzhi or "Shanghai Gazetteer" is an ancient gazetteer for the city of Shanghai.[1] It is one of the numerous xianzhi (Chinese: 县志, "county gazetteers") that were produced in China in ancient times.
An edition of the Shanghai Xianzhi is known from 1524.[1]
Another such document at the municipal rather than city level is the Shanghai Zhi (Chinese: 上海志).[1]