This invention relates to a seamless
dynamic loading method for electronic nautical charts, belonging to the field of electronic nautical chart display technology. During
system initialization, an R-tree spatial index is constructed to quickly retrieve and filter the set of objects to be displayed based on the current
viewport range and scale. The objects are divided into base
layers and enhancement
layers, assigned different rendering priorities, and spatially sorted to generate an ordered
list of objects to be rendered. A
thread pool with four worker threads is created, and the rendering process is decomposed into three stages:
geometry processing, symbolization, and
image synthesis, which are executed in parallel. A
display list caching and double-buffering mechanism are employed to ensure smooth playback.
Frame rate and memory usage are monitored in real time, and two levels of anomaly thresholds are established to dynamically trigger a degradation strategy from pausing enhancement
layers to simplifying base layers, and automatic
rollback occurs after
resource recovery. This invention effectively solves the problems of
lag and memory efficiency when loading massive vector data, significantly improving the smoothness and stability of electronic nautical chart display.