The need of city 3D data is rising more and more with the development of the Internet, and the emphasis shifts from analysis to the sharing of 3D data and information over the Internet. Epipolar geometry could reduce the search range to improve both calculation efficiency and reliability of matching in the process of 3D modeling. Panorama can provide 360 degrees view in one hotspot, and it is widely used in street view, digital campus, etc. However, beside the visualization for the scene browsing, these panoramic models are not really three-dimensional model, which can't support precise measurement for the scene from the images. Users generally pay more attention to spatial measurable information of the objects in computer vision and close-range digital photogrammetry. The paper focused on the epipolar geometry for spherical panorama, and constructs the epipolar geometry based on the coplanar equation. Then, we derive the mathematical equations and their properties, thus provide a theoretical basis for the spherical panoramic epipolar line, by which we could visualize 3D model using Java 3D. The experiment results show that the epipolar line is effectively validated which can reduce the search range and obtain more useful information.