This document puts forward a new method for solving the modeling of overground and underground entities and spatial analysis provided by the virtual reality technology (VR). The new method can construct virtual urban geological environment, realize the integrated modeling of overground and underground entities, and research the interactive functions such as 2D-digital map navigation and spatial query in the virtual environment, which provides the decision making platform of three-dimension visualization for urban planning, urban construction and urban management, and is a good foundation for construction of “the management and service systems for urban geological information”.