| Road network data is an indispensable basic data for applications in transportation-related industries,and plays an important role in traffic management,traffic guidance,and traffic information services.With the development of network geographic information technology,it is particularly urgent to provide data support for various application occasions in the form of vector tile maps of road network data in a specific format.However,with the increase of tile level,the amount of road network vector tile data will increase exponentially,which has the characteristics of large quantity and large storage space.Using traditional file systems or relational databases to manage massive vector tile data has limitations such as low retrieval efficiency and low horizontal scalability.Moreover,the response speed and throughput of tile services are low in high concurrent access scenarios.How to optimize the organization and management of multi-level road network vector tiles and realize high-performance vector tile map services is an urgent problem to be solved.Therefore,this paper aims to provide a new technical solution for high-performance road network vector tile map service by building a distributed storage model of multi-level road network vector tiles,and establishing a distributed index and two-level caching mechanism.First,take the Open Street Map road network as the data object,divide the vector tiles according to the pyramid model,organize the road network vector tile data hierarchically and hierarchically,and use the sharding and replica set technology of the Mongo DB database to realize the multi-level road network vector tiles distributed storage.Then,a distributed index of road network vector tiles is constructed based on the Mongo DB database,and a two-level cache mechanism is established by using the Redis database and the LRU algorithm,and the performance test of the vector tile service is carried out.Finally,the open source software is used to build the service environment of the road network vector tile service prototype system,and the functional modules of the prototype system are designed.Web back-end technologies such as Spring cloud are used to realize service functions such as construction,publishing and caching of road network vector tiles;Web front-end technology frameworks such as Vue and Mapbox GL JS are used to realize vector tile data request and caching,tile data merging and real-time Road network vector tile map interaction functions such as rendering,layer control and style modification.The multi-level road network vector tile distributed storage and high-performance service technology solution proposed in this paper takes the technical advantages of distributed storage and distributed computing into full play,and organically integrates distributed indexing,server-side and client-side two-level caching methods,the developed vector tile service prototype system can improve the performance of road network vector tile data retrieval and service,improve the Web interactive experience of vector tile maps,and provide optimized organization and high-performance services for massive vector tile data.Technical reference,the research results have certain practical value in the localization integration of road network vector tile data services,Web front-end spatial analysis calculation and dynamic map visualization. |