Abstract
The integration of 2D GIS and 3D GIS is an important application of the current virtual city system. This paper constructs a virtual city system that integrates 2D GIS and 3D GIS. On this basis, research and achieve on visualization interactive of 2D GIS and 3D GIS. The interactive algorithm is proposed based on the assumption of parameters, so the viewpoint position of the 3D scene can be located according to the 2D scene viewpoint parameters, the viewpoint position of 2D scene can be located according to the 3D scene viewpoint parameters as well, and the position synchronization is maintained in both views through event trigger mechanism during interaction. When user manipulates one viewpoint in 2D GIS or 3D GIS, the others moves synchronously to the same area and angle. Three different views are used as contrasts to verify the accuracy of the algorithm. The implementation results show that the algorithm of synchronization can adapt to various user operations, with feasibility and accuracy.
Highlights
After more than 20 years of development and practical application, the 2D GIS system has strong capabilities in data presentation and spatial analysis
With the development of 3D virtual reality simulation software, virtual city systems based on various 3D engines have emerged in recent years
In the existing technical solutions, the 3D scene is mainly used for spatial display, which representing the visual effects of the spatial features and colourful appearance of the urban features; the 2D scene is used to display the planar layout of the city, and provides functions of spatial query, statistics, analysis functions and so on
Summary
With the development of GIS, various kinds of 2D&3D GIS software emerge one after another in domestic and foreign, and most of them have secondary development interfaces. There are two ways of secondary development: one is based on the scripting language provided by GIS software, such as MapBasic in MapInfo platform, ArcInfo platform based on VBA. This kind of development method has the advantages of MATEC Web of Conferences 232, 02013 (2018). The other is to use the corresponding development language (VB, C++, C#, or JavaScript, etc.) to obtain the GIS software interface for secondary development. The program framework which constructed by C++ calls the relevant interfaces of engine API, and fully correspondence between 2D vector maps and 3D scenes are implemented
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.