As a Qing diplomat posted in Japan, Yang purchased tens of thousands of ancient Chinese books from Japanese libraries and archives, many of which had become rare or lost in China.
[2] Although he failed the examinations, he became friends with the prominent officials Pan Zuyin and Zhang Zhidong, who shared his passion for antiques.
[2] From a young age Yang was interested in geography, and spent much of his life annotating Li Daoyuan's 6th-century work Commentary on the Water Classic (Shui Jing Zhu).
[2] In Tokyo he worked under the career diplomat Li Shuchang, an abrasive superior who nevertheless appreciated Yang's knowledge in antiques.
[3] As Japan was quickly westernizing during the Meiji Restoration, traditional Chinese publications fell out of fashion and were sold cheaply.
[6] The influential historian Gu Jiegang remarked that the work "brought to a point of culmination the textual research of The Classic of Waterways of the previous three centuries."
They plotted historical geographical data on a Qing dynasty map, but left out non-Han Chinese kingdoms such as Nanzhao and Dali.
[9] He was considered a talented artist by famous Japanese calligraphers such as Miyajima Seiichiro, Kusakabe Meikaku, Iwaya Osamu, and Matsuda Sekka.