The Indian civilization is the oldest in the world and has a rich heritage of developing different branches of science. Vastu Shastra is one such discipline that developed over the years based on the traditional knowledge gained from studying the nature. The age old Indian philosophers knew a lot about the five elements that made the universe.
They also had knowledge about the gravitational field, magnetic field, the position of the earth, velocity of the winds, ultraviolet rays, the intensity and volume of rainfall etc. Application of this knowledge certainly made sure that the construction of the house was scientific and spiritual at the same time. This is knowledge that people have garnered through years and years of study and test as well.