"Kanyu" was already the name of a field in the Han. The Treatise on Literature in the Book of Han lists, in the Five Phases group of its Numbers and Techniques section, the "Kanyu Golden Casket in fourteen scrolls," and in the Forms and Methods group "Layouts of Houses and Terrain in twenty scrolls"; the text says that those who study forms "take the broad shape of the nine regions to fix the forms of cities, walls and houses," and insists "it is not that there are spirits; the numbers are so of themselves." At the end of the "Biography of the Diviners" in the Records of the Grand Historian, Master Chu's supplement says that in the time of Emperor Wu, when the diviners were gathered and asked "whether such a day is fit for taking a wife," the answer was "the Five Phases school said yes, the Kanyu school said no, the Establish-and-Remove school said unlucky, the Congchen school said greatly ill-omened," the schools disagreeing; the emperor ruled, "avoid every taboo of death, and take the Five Phases as the main rule." Kanyu was thus one of several schools of divination, and one the court heard when it asked.
Choosing a site by the lie of the land is older. The Book of Songs, in "Gong Liu," has "he took the sun's shadow on the ridge, viewed its yin and yang, and observed the flowing spring"; the Book of Documents, in "Shao Gao," has "the Grand Protector reached Luo at dawn and divined for the site," and in "Luo Gao," "I divined the east of the Jian and the west of the Chan, and Luo alone was fortunate." The Rites of Zhou, in the Minister of Education's duties, says "by the method of the earth-measuring gnomon, measure the depth of the soil and correct the sun's shadow, to find the centre of the earth," holds that "the shadow at the solstice, one foot five inches, is called the earth's centre," and then "a royal state is founded"; this links to the observation of shadows in the canon Dengfeng Observatory.
Of the Book of Burial, which bears Guo Pu's name, the abstract in the Complete Catalogue of the Four Treasuries, under the philosophers' section on techniques, says "the old edition is headed as by Guo Pu of the Jin," and points out that the Treatise on Literature of the Song History is where a Book of Burial by Guo Pu first appears, so that "the book first came out in the Song," and that "to insist it came from Pu's hand has no proof." In the book itself: "Burial rides the living qi," "qi rides the wind and scatters, meets water and stops," "the ancients gathered it so it did not scatter and moved it so it had a stop, hence it was called feng-shui," and "in the method of feng-shui, getting water is best and sheltering from wind next." The abstract praises "the single saying 'ride the living qi' as quite fine in meaning," and also criticizes "the doctrine that bodily remains pass on blessing," which led later ages "to be misled over fortune and misfortune." It cites Wang Wei's Qingyan Conglu to say that later practice split into two schools: the Jiangxi method, which is "mainly about form and configuration," and the Zongmiao method, "mainly about stars and trigrams," the latter "taking purely the eight trigrams and five stars to fix generation and overcoming," which connects to I Ching Hexagrams. The Book of Burial also has the line "the five qi move within the earth and, issuing, bring forth the ten thousand things," and the page's commentary reads the five qi as the qi of the five phases, linking it to Yin-Yang & Five Elements.
Criticism was just as early. The Old Book of Tang, in the biography of Lü Cai, records that Emperor Taizong held that the books on yin and yang had "gradually become wrong and false," and ordered Lü Cai with more than ten scholars to "revise them together." Lü Cai's "On the Burial Books" cites the Classic of Filial Piety, "divine the grave site and lay them to rest," and says that this was "part of the ritual of caution at life's end, with no meaning of fortune or ill omen," adding that "the art of burial books has a hundred and twenty schools," rejecting the claim that "wealth and rank all come from the burial," and ending, "the burial books corrupt custom, to this degree." The court historian praises him for "examining the crooked learning of taboo, each point with classical grounds." In the same biography, Lü Cai also amends the Materia Medica with noted physicians, which lies next to Traditional Medicine. In the Northern Song, Cheng Yi's "On Burial" does not reject it wholesale: "Divining the grave site is divining whether the land is good or ill; it is not what the yin-yang schools call fortune or misfortune," and "the taboo-bound are misled by choosing directions and fixing lucky days, are they not stuck?" He asks only for care over the "five worries": that the grave not become a road, a city wall, a ditch or pond, be seized by the powerful, or be reached by the plough.
When it came to imperial tombs, site selection became a matter of state. The accounts gathered in volume 136 of the Rixia jiuwen kao say that in the seventh year of Yongle (1409) Emperor Chengzu divined for his tomb, and accounts differ: the Shuidong riji says that the Minister of Rites, Zhao Gong, took the Jiangxi geomancer Liao Junqing to Changping, where "after viewing all the hills, they found Yellow Earth Hill east of the county"; the emperor viewed it that day and named it Tianshou Hill; another account names Wang Xian of Shandong; and the Ming shimiao shi yu lu writes: "what is reported differs; it is hard to decide." The Zhi ping lüe records: "when the Wen Emperor first divined for a tomb, the council wished to use the site of Tan Zhe Temple, but the emperor alone was set on Yellow Earth Hill." UNESCO's World Heritage page says that the Ming and Qing imperial tombs sit in terrain carefully chosen according to the principles of geomancy (feng shui); the page for the Fujian Tulou says the relation of the buildings to their landscape embodies feng-shui principles.
A burial plot has been asked about in different ways in different ages: the Han catalogue gave "Kanyu" a name; Emperor Taizong of Tang had Lü Cai and scholars revise the books on yin and yang; Cheng Yi said only the "five worries" need heeding; when the Ming Emperor Chengzu divined for his tomb, the council wished to use the site of Tan Zhe Temple while he alone favoured Yellow Earth Hill, and who proposed the hill is told differently, so later writers could only record "hard to decide." This art of divination has many voices, yet it has kept shaping how people choose homes and tombs, and it still appears in World Heritage statements today.
Geomancy is the class in the chapter on Sciences on the traditional art of choosing a site, in which mountains, water, soil and the seasonal winds are observed to choose the ground for a house or a tomb. It belongs to the traditional arts of divination and was already a named field by the Western Han, and later ages used it to choose building sites and to guard against disaster.