 Although several cultures formed competing states, the direct ancestor of the Chinese state was Longshan culture.Therefore, the earliest Chinese urban planning was a synthesis of Longshan traditional cosmology, geomancy, astrology, and numerology.This synthesis generated a diagram of the cosmos, which placed man, state, nature, and heaven in harmony.