With the continuous development of Internet technology,especially the progress of mobile software and hardware technology,Internet based service has become an important field of research in various universities.WebGIS is a product that combines GIS and Internet technology,and is also the front direction of GIS research.WebGIS can provide people with online map services,and the system developed based on WebGIS has good spatial characteristics.This "sense of space" brings great convenience to people’s daily life,and WebGIS has the characteristics of open source and sharing,and GIS open source products are not only a large number but also involved in various fields,such as browsers,clients,databases,servers and so on.This paper is a set of shipping system based on open source WebGIS,which is a combination of two three-dimensional WebGIS and Java framework.The front end is implemented with OpenLayers 4 and Cesium.OpenLayers is an open source JavaScript development library in WebGIS,which can implement the functions of browser end map loading,map interaction,data parsing,map rendering,events and so on.Cesium is an open source 3D JavaScript development library,which enables the development of 3D WebGIS.The background code uses Java’s Spring framework and Hibernate framework technology to write system business processing.The MySQL database is used to store and manage the data of the shipping system.This paper first introduces the loading principles and application methods of open source OpenLayers,Cesium,and the technology and framework of platform development framework.Then we need to analyze the shipping system,design the system,and analyze the realization of the system function.Finally,the database design and database field creation are introduced.The following main research results are obtained:(1)front-end performance: first,OpenLayers map development is in the Map container through the core class Layers and Source load day map as the bottom map,data sources conform to the OGC standard,in the form of slicing,using JavaScript to implement layer management,bottom map switching function.OpenLayers is used to encapsulate Interaction to achieve graphics rendering.The information in the database is loaded and displayed on themap,and the preservation of graphics is Ajax technology.(2)business realization: design the function of the system according to the user’s needs,the system uses the Java framework technology to realize the development of the function,and write the logical code in the control layer using the Spring framework to reduce the code coupling degree and enhance the code extensibility.Use the Hibernate framework to access the MySQL database to achieve data storage and system continuity.In data interaction,GeoJSON and wkt are used to store graphic information in database,and other data are read by XML or JSON. |