An efficient and real-time method for online reading, display, and editing of vector data
As the Internet and online map technology continuously develop, this paper proposed an efficient and real-time method for online reading, display, and editing of vector data to enhance the online interactivity of vector data and meet the needs for real-time updating map data and visualization. First, through file fragmentation and multi-threading technology, the paper achieved an online and efficient reading of large and multiple files. Then, based on the Geotools and MyBatis-Plus framework, it implemented a hot update for vector data. Finally, by establishing spatial indexes and generating unique IDs, it realized incremental updates for vector data. Experiments have shown that the proposed method can efficiently and real-time read, display, and edit vector data in a browser and can maintain good performance even when facing large and multiple files.