Large-volume GIS data organization and scheduling method and system for highway design

GIS data is organized and scheduled through hierarchical blocking and PagedLOD technology, which solves the problems of accuracy errors and rendering pressure in 3D point cloud and vector data processing, achieves efficient multi-granularity data access and rendering, and supports refined highway interaction. design.

CN118570394BActive Publication Date: 2024-10-01SHANDONG TRAFFIC PLANNING DESIGN INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000768.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01
Estimated Expiration
2044-07-25

Smart Images

  • Figure CN118570394B_ABST
    Figure CN118570394B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of highway survey and design, and provides a method and system for organizing and scheduling large-volume GIS data applied to highway design, including obtaining multi-source GIS data, including three-dimensional point cloud data, vector data, and three-dimensional models; realizing multi-level data organization of three-dimensional point cloud data based on rule-based block and layering principles, and obtaining three-dimensional point cloud layered block data; dividing the levels according to the size of the primitives based on the level control parameters, and realizing the layered block organization of vector data and three-dimensional models; visually associating different levels of block data of three-dimensional point cloud data with visual distance, and realizing real-time loading and unloading of upper and lower level block data; and setting the visual distance of different levels of block data in the layered block organization of vectors and three-dimensional models, so that the upper and lower level block data are loaded at the same time and complement each other. The present invention realizes rapid access to multi-granularity data and alleviates the rendering pressure of three-dimensional scenes, and provides reliable basic geographic data for refined interactive design of highways.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of highway survey and design, and in particular relates to a method and system for organizing and dispatching large-volume GIS data applied to highway design. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Three-dimensional point cloud data is large in size and difficult to apply directly. The current mainstream application process is to process it into raster data in tif format through GIS software, but the processing is cumbersome and there is an accuracy error compared with the original point cloud data.

[0004] Large-volume vector data such as topographic maps have the characteristics of a large number of layers, many graphic objects, and large differences in graphic size. The current common processing method is to uniformly parse the vector data and add it to the three-dimensional scene for display. This will increase the rendering pressure and cause serious lag in the three-dimensional scene.

[0005] In highway design, a three-dimensional model of the structure is created based on the design data. The three-dimensional model is divided into multiple granularities such as component-component group-unit project. If the three-dimensional model of a hundred-kilometer structure is created and loaded and displayed at the same time, the rendering frame rate in the three-dimensional scene will be reduced, which does not meet the needs of refined interactive design of highways. Summary of the invention

[0006] In order to solve the above problems, the present invention proposes a method and system for organizing and scheduling large-volume GIS data applied to highway design. According to the characteristics of three-dimensional point clouds, vector data and three-dimensional models, the present invention organizes large-volume data in a quadtree hierarchy based on a layered and blocked strategy, and constructs the scheduling logic of quadtree hierarchical blocked data based on PagedLOD technology, thereby achieving rapid access to multi-granularity data and alleviating the rendering pressure of three-dimensional scenes, providing reliable basic geographic data for refined interactive design of highways.

[0007] According to some embodiments, the first solution of the present invention provides a method for organizing and scheduling large-volume GIS data for highway design, using the following technical solutions:

[0008] Large-volume GIS data organization and scheduling methods used in highway design include:

[0009] Acquire multi-source GIS data, wherein the multi-source GIS data includes three-dimensional point cloud data, vector data, and three-dimensional models;

[0010] Based on the principle of regular block and layering, multi-level data organization of 3D point cloud data is realized to obtain 3D point cloud layered block data;

[0011] Based on the hierarchical control parameters, the hierarchical blocks are divided into levels according to the size of the primitives, so as to realize the hierarchical and block organization of the vector data and the three-dimensional model, and obtain the hierarchical and block data of the vector and the three-dimensional model;

[0012] Visually associate the 3D point cloud layered and block data at different levels, and realize real-time loading and unloading of 3D point cloud layered and block data at upper and lower levels;

[0013] The visible distance of different levels of block data in the vector and three-dimensional model hierarchical block data is set so that the upper and lower level block data can be loaded simultaneously and complement each other.

[0014] Furthermore, the multi-level data organization of the three-dimensional point cloud data based on the rule-based block and layer principle is realized to obtain the three-dimensional point cloud layered block data, including:

[0015] According to the geographic scope of the project's 3D point cloud, divide the geographic scope into square blocks of equal size that are closely arranged in the XY plane projection;

[0016] Get the 3D point cloud coordinates within each square block and use the Delaunay triangulation algorithm to construct the geometric object, and finally save it as a "1_row_column.osgb" file to form the first-level block set;

[0017] The recursion starts from the first-level block set, and the four-level blocks are combined into one to obtain the hierarchical block data of the 3D point cloud.

[0018] Furthermore, the recursion is started based on the first level block set, and the four level blocks are combined into one to obtain the three-dimensional point cloud layered block data, specifically:

[0019] Based on the first-level block set, the recursion starts, and the four blocks of the previous layer are combined into a single block of the next layer. The starting point of the lower left corner of the block is consistent with that of the previous layer, until the side length of the block can cover the entire data geographic range;

[0020] Merge the four blocks of data in the previous layer, generate the corresponding data blocks in the next layer at a quarter of the simplification rate, and save them as "Level_row_column.osgb" file;

[0021] After the recursion is completed, multi-level hierarchical and block data of the three-dimensional point cloud are obtained.

[0022] Furthermore, the hierarchical control parameters are used to divide the levels according to the size of the primitives, so as to realize the hierarchical and block organization of the vector data and the three-dimensional model, and obtain the hierarchical and block data of the vector and the three-dimensional model, including:

[0023] Read each basic primitive of the vector data or 3D model, and calculate its axis-aligned bounding box to obtain the bounding box of the basic primitive;

[0024] Based on the bounding box parameters of the basic primitive, the initial level of the basic primitive, the tuning level of the basic primitive, the side length of the tuning level block of the basic primitive, and the row and column number of the block where the basic primitive is located are calculated;

[0025] Write the basic graphics elements whose tuning level is consistent with the row and column numbers of the blocks they belong to into the same osgb file, named "Level_row_column.osgb", and obtain the vector and three-dimensional model layered block data.

[0026] Furthermore, the initial level of the basic primitive and the tuning level of the basic primitive are calculated based on the bounding box parameters of the basic primitive, including:

[0027] Use the following formula to get the initial level of the basic primitives:

[0028] Level0 = log 2 (S);

[0029] Wherein, S is the diagonal length of the projection rectangle of the axis-aligned bounding box of the basic primitive on the XY plane, and Level0 is the initial level of the basic primitive;

[0030] The optimization level of the basic primitive is calculated by using the following formula to obtain the optimized level of the basic primitive:

[0031] Level1= max(Level0+L1,L2);

[0032] Among them, L1 and L2 are both integers. The larger L1 is, the more primitives of similar size are grouped in one block. The larger L2 is, the larger the minimum size of the block is. Level1 is the tuning level of the basic primitives.

[0033] Furthermore, the following formula is used to calculate the side length of the tuning level block of the basic primitive and the row and column number of the block where the basic primitive is located:

[0034] Width = exp(2,Level1);

[0035] Row = floor(X / Wdith);

[0036] Col = floor(Y / Width);

[0037] Among them, Width is the side length of the tuning level block of the basic primitive, [X, Y] is the plane coordinates of the center point of the axis-aligned bounding box of the basic primitive, Row and Col are the row and column numbers of the block where the basic primitive is located, and floor() is a rounding function.

[0038] Furthermore, the basic graphics elements whose tuning level is consistent with the row and column numbers of the blocks are written into the same osgb file, named "Level_row_column.osgb", to obtain vector and three-dimensional model hierarchical block data, specifically:

[0039] For vector data, write the vector objects with the same level and block row and column numbers into the same osgb file to organize all vector objects in the block and obtain vector hierarchical block data;

[0040] For a three-dimensional model, the three-dimensional geometric objects with the same level and block row and column number are written into the same osgb file to organize all the three-dimensional geometric objects of the block and obtain the layered block data of the three-dimensional model.

[0041] Furthermore, the visual distance association of the three-dimensional point cloud layered and block data at different levels is performed to realize the real-time loading and unloading of the three-dimensional point cloud layered and block data at the upper and lower levels, specifically:

[0042] For the obtained 3D point cloud hierarchical block data, recursively start from the highest level and work downwards;

[0043] Generate a corresponding scheduling relationship file for each "Level_row_column.osgb" block that is not level 1, named "Level_row_column.PagedLOD.osgb", which contains five PagedLOD nodes;

[0044] The judgment center of the five PageLOD nodes is set to the center of the bounding box of "Level_row_column.osgb". The first PageLOD node sets the visible distance range from the side length of "Level_row_column.osgb" to infinity, and sets the loading file to "Level_row_column.osgb".

[0045] The remaining four PageLOD nodes set the visible distance range to 0 to the side length of "Level_row_column.osgb", and set the loaded files to the four data blocks corresponding to the next level.

[0046] Furthermore, the visual distances of different levels of block data in the vector and three-dimensional model hierarchical block data are set so that upper and lower level block data are loaded simultaneously and complement each other, specifically:

[0047] Add 4 PagedLOD nodes for each "Level_row_column.osgb" block that is not the first level;

[0048] The 4 PageLOD nodes set the visible range to 0 to half the length of the current block side, set the judgment center to the center of the bounding box of each corresponding sub-block of the next level, and set the loading file to the corresponding osgb file of the next level sub-block.

[0049] According to some embodiments, the second solution of the present invention provides a large-volume GIS data organization and scheduling system applied to highway design, which adopts the following technical solutions:

[0050] Large-volume GIS data organization and dispatching system applied to highway design, including:

[0051] A data acquisition module is configured to acquire multi-source GIS data, wherein the multi-source GIS data includes three-dimensional point cloud data, vector data, and three-dimensional models;

[0052] The three-dimensional point cloud layered and block module is configured to implement multi-level data organization of the three-dimensional point cloud data based on the rule block and layer principle to obtain the three-dimensional point cloud layered and block data;

[0053] A vector and three-dimensional model hierarchical block module is configured to divide the levels according to the size of the primitives based on the hierarchical control parameters, realize the hierarchical block organization of the vector data and the three-dimensional model, and obtain the vector and three-dimensional model hierarchical block data;

[0054] The 3D point cloud layered data scheduling module is configured to associate the 3D point cloud layered and block data at different levels with visual distance, and realize the real-time loading and unloading of the 3D point cloud layered and block data at the upper and lower levels;

[0055] The vector and three-dimensional model hierarchical data scheduling module is configured to set the visible distance of different levels of block data in the vector and three-dimensional model hierarchical block data, so that the upper and lower level block data are loaded simultaneously and complement each other.

[0056] Compared with the prior art, the present invention has the following beneficial effects:

[0057] The present invention proposes a large-scale GIS data organization and scheduling method for highway design applications, including hierarchical organization of multi-source GIS data and creation of scheduling logic for hierarchical data. Through the principle of regular block division and layering, multi-level data organization of three-dimensional point cloud data is realized; based on the layer control parameters, the size of the fine-grained primitive merging of vector lines or three-dimensional models is increased, and the levels are divided according to the primitive size, which innovates the multi-granularity data organization method; based on the PagedLOD technology, the visual distance of the block data of different levels of the three-dimensional point cloud is associated, and the real-time loading and unloading of the upper and lower level block data is realized, reducing memory usage; based on the PagedLOD technology, the visual distance of the block data of different levels is set, and the upper and lower level block data are loaded simultaneously, realizing the data scheduling of multi-granularity data.

[0058] The present invention proposes a hierarchical and block organization method for three-dimensional point clouds, transplants the quadtree structure idea into the hierarchical and block organization of three-dimensional point cloud data, and provides ideas for efficient scheduling of three-dimensional point clouds in three-dimensional scenes.

[0059] The present invention proposes a method for organizing vector line data and three-dimensional models in layers and blocks, determines the optimal data block size of each layer based on layer optimization parameters, and realizes the orderly organization of multi-granularity basic graphics elements.

[0060] The present invention designs a scheduling strategy for hierarchical data of three-dimensional point clouds, generates a corresponding PagedLOD node tree based on the data block quadtree structure, realizes real-time loading and unloading of lower-layer block data and upper-layer block data, and reduces memory usage.

[0061] The present invention designs a scheduling strategy for vector line data and three-dimensional model layered data, adds four PagedLOD nodes pointing to subordinate data blocks in the superior data blocks, and realizes that the superior and subordinate data blocks are loaded simultaneously and complement each other. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0063] Figure 1 This is a flow chart of a method for organizing and scheduling large-volume GIS data applied to highway design in an embodiment of the present invention;

[0064] Figure 2 3D point cloud layering and block division schematic diagram according to an embodiment of the present invention;

[0065] Figure 3 Schematic diagram of layered and block division of vectors and three-dimensional models in an embodiment of the present invention;

[0066] Figure 4 3D point cloud block data scheduling strategy in an embodiment of the present invention;

[0067] Figure 5 It is a schematic diagram of the vector and three-dimensional module block data scheduling strategy in an embodiment of the present invention. DETAILED DESCRIPTION

[0068] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0069] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0070] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0071] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0072] Embodiment 1

[0073] like Figure 1 As shown, this embodiment provides a method for organizing and scheduling large-scale GIS data for highway design. This embodiment uses the method applied to a server as an example. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communications, middleware services, domain name services, security services CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. In this embodiment, the method includes the following steps:

[0074] Acquire multi-source GIS data, wherein the multi-source GIS data includes three-dimensional point cloud data, vector data, and three-dimensional models;

[0075] Based on the principle of regular block and layering, multi-level data organization of 3D point cloud data is realized to obtain 3D point cloud layered block data;

[0076] Based on the hierarchical control parameters, the hierarchical blocks are divided into levels according to the size of the primitives, so as to realize the hierarchical and block organization of the vector data and the three-dimensional model, and obtain the hierarchical and block data of the vector and the three-dimensional model;

[0077] Visually associate the 3D point cloud layered and block data at different levels, and realize real-time loading and unloading of 3D point cloud layered and block data at upper and lower levels;

[0078] The visible distance of different levels of block data in the vector and three-dimensional model hierarchical block data is set so that the upper and lower level block data can be loaded simultaneously and complement each other.

[0079] like Figure 2 As shown, the three-dimensional point cloud is organized in layers and blocks. The multi-level data organization of the three-dimensional point cloud data is realized based on the rule-based block and layering principle to obtain the three-dimensional point cloud layered block data, including:

[0080] The geographic scope of the project's 3D point cloud is divided into square blocks of equal size that are closely arranged in the XY plane projection according to the geographic scope of the project's 3D point cloud.

[0081] Create the first level block set, obtain the 3D point cloud coordinates within each square block, use the Delaunay triangulation algorithm to build the geometric object, and finally save it as a "1_row_column.osgb" file to form the first level block set;

[0082] That is to say, firstly, the geographical scope of all 3D point clouds of the highway design project is calculated, and the geographical scope is divided into a set of square blocks with a side length of L as the first level, and the naming rule is "1_row_column.osgb";

[0083] The recursive method combines four low-level blocks into one, starts recursion based on the first-level block set, and combines four high-level blocks into one to obtain three-dimensional point cloud hierarchical block data.

[0084] Specifically, the synthesis block data is simplified and saved. The recursion starts based on the first level block set, and the four level blocks are combined into one to obtain the three-dimensional point cloud layered block data, which is specifically:

[0085] Based on the first-level block set, the recursion starts, and the four blocks of the previous layer are combined into a single block of the next layer. The starting point of the lower left corner of the block is consistent with that of the previous layer, until the side length of the block can cover the entire data geographic range;

[0086] Merge the four blocks of data in the previous layer, generate the corresponding data blocks in the next layer at a quarter of the simplification rate, and save them as "Level_row_column.osgb" file;

[0087] After the recursion is completed, multi-level hierarchical and block data of the three-dimensional point cloud are obtained.

[0088] like Figure 3 As shown, the vector and the three-dimensional model are organized in layers and blocks, and the layers are divided according to the size of the primitives based on the layer control parameters to realize the layered and block organization of the vector data and the three-dimensional model, and obtain the layered and block data of the vector and the three-dimensional model, including:

[0089] Read each basic primitive of the vector data or 3D model, and calculate its axis-aligned bounding box to obtain the bounding box of the basic primitive;

[0090] Based on the bounding box parameters of the basic primitive, the initial level of the basic primitive, the tuning level of the basic primitive, the side length of the tuning level block of the basic primitive and the row and column number of the block where the basic primitive is located are calculated, and the basic primitive is distinguished and saved according to the calculated tuning level of the basic primitive and the row and column number of the block where the basic primitive is located, and an osgb file is created;

[0091] Traverse the created osgb files, judge according to the block row and column number and whether the tuning level of the basic primitive exists, write the basic primitives with the same tuning level and block row and column number into the same osgb file, name it "Level_row_column.osgb", and obtain the vector and 3D model hierarchical block data;

[0092] Otherwise, create a new osgb file.

[0093] The initial level of the basic primitives and the tuning level of the basic primitives are calculated based on the bounding box parameters of the basic primitives, including:

[0094] Calculate the initial level based on the primitive size and use the following formula to get the initial level of the basic primitive:

[0095] Level0 = log 2 (S);

[0096] Wherein, S is the diagonal length of the projection rectangle of the axis-aligned bounding box of the basic primitive on the XY plane, and Level0 is the initial level of the basic primitive;

[0097] The final level is determined based on the optimization parameters. The optimized level of the basic primitive is calculated by using the following formula to obtain the optimized level of the basic primitive:

[0098] Level1= max(Level0+L1,L2);

[0099] Among them, L1 and L2 are both integers. The larger L1 is, the more primitives of similar size are grouped in one block. The larger L2 is, the larger the minimum size of the block is. Level1 is the tuning level of the basic primitives.

[0100] Calculate the block size and row and column numbers, and use the following formula to calculate the block side length of the basic primitive and the row and column number of the basic primitive:

[0101] Width = exp(2,Level1);

[0102] Row = floor(X / Wdith);

[0103] Col = floor(Y / Width);

[0104] Among them, Width is the side length of the tuning level block of the basic primitive, [X, Y] is the plane coordinates of the center point of the axis-aligned bounding box of the basic primitive, Row and Col are the row and column numbers of the block where the basic primitive is located, and floor() is a rounding function.

[0105] Organize the basic primitive block data, write the basic primitives with the same tuning level and block row and column number into the same osgb file, named "Level_row_column.osgb", and obtain vector and three-dimensional model hierarchical block data, specifically:

[0106] For vector data, write the vector objects with the same level and block row and column numbers into the same osgb file to organize all vector objects in the block and obtain vector hierarchical block data;

[0107] For a 3D model, write the 3D geometric objects with the same level and block row and column number into the same osgb file to organize all the 3D geometric objects in the block and obtain the hierarchical block data of the 3D model;

[0108] Among them, after parsing the vertex data of the basic primitives of the original vector data, the corresponding vector objects are created according to their types (points, lines, surfaces or text);

[0109] The basic primitives of a 3D model refer to the 3D geometric objects that constitute the model, including 3D surfaces and 3D bodies.

[0110] like Figure 4 As shown in FIG. 1 , the 3D point cloud block data scheduling strategy performs visual distance association on the 3D point cloud layered block data at different levels to realize real-time loading and unloading of the 3D point cloud layered block data at the upper and lower levels, specifically:

[0111] For the obtained 3D point cloud hierarchical block data, recursively start from the highest level and work downwards;

[0112] Generate a corresponding scheduling relationship file for each "Level_row_column.osgb" block that is not level 1, named "Level_row_column.PagedLOD.osgb", which contains five PagedLOD nodes;

[0113] The judgment center of the five PageLOD nodes is set to the center of the bounding box of "Level_row_column.osgb". The first PageLOD node sets the visible distance range from the side length of "Level_row_column.osgb" to infinity, and sets the loading file to "Level_row_column.osgb".

[0114] The remaining four PageLOD nodes set the visible distance range to 0 to the side length of "Level_row_column.osgb", and set the loaded files to the four data blocks corresponding to the next level.

[0115] like Figure 5 As shown, the scheduling strategy for vector and 3D model block data, which sets the visible distance of different levels of block data in the vector and 3D model hierarchical block data, makes the upper and lower level block data loaded simultaneously and complement each other, is specifically as follows:

[0116] Create 4 PagedLOD nodes, add 4 PagedLOD nodes for each "Level_row_column.osgb" block that is not the first level;

[0117] Each node points to the lower-level data block. The four PageLOD nodes set the visible range to 0 to half the length of the current block side, set the judgment center to the center of the bounding box of each corresponding sub-block of the next level, and set the loading file to the corresponding osgb file of the next-level sub-block.

[0118] This embodiment innovatively proposes a hierarchical and block organization method for three-dimensional point clouds, vector data, and three-dimensional models, providing an application idea for large-volume GIS data; at the same time, a scheduling strategy for hierarchical and block data is designed, which can alleviate the rendering pressure of three-dimensional scenes and quickly access multi-granularity data, providing reliable GIS data for refined highway design.

[0119] Embodiment 2

[0120] This embodiment provides a large-volume GIS data organization and scheduling system for highway design, including:

[0121] A data acquisition module is configured to acquire multi-source GIS data, wherein the multi-source GIS data includes three-dimensional point cloud data, vector data, and three-dimensional models;

[0122] The three-dimensional point cloud layered and block module is configured to implement multi-level data organization of the three-dimensional point cloud data based on the rule block and layer principle to obtain the three-dimensional point cloud layered and block data;

[0123] A vector and three-dimensional model hierarchical block module is configured to divide the levels according to the size of the primitives based on the hierarchical control parameters, realize the hierarchical block organization of the vector data and the three-dimensional model, and obtain the vector and three-dimensional model hierarchical block data;

[0124] The 3D point cloud layered data scheduling module is configured to associate the 3D point cloud layered and block data at different levels with visual distance, and realize the real-time loading and unloading of the 3D point cloud layered and block data at the upper and lower levels;

[0125] The vector and three-dimensional model hierarchical data scheduling module is configured to set the visible distance of different levels of block data in the vector and three-dimensional model hierarchical block data, so that the upper and lower level block data are loaded simultaneously and complement each other.

[0126] The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment 1. It should be noted that the above modules as part of the system can be executed in a computer system such as a set of computer executable instructions.

[0127] The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0128] The proposed system can be implemented in other ways. For example, the system embodiment described above is only illustrative, and the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0129] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0130] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A large-volume GIS data organization and scheduling method for highway design, characterized by: include: Acquire multi-source GIS data, wherein the multi-source GIS data includes three-dimensional point cloud data, vector data, and three-dimensional models; Based on the principle of regular block and layering, multi-level data organization of 3D point cloud data is realized to obtain 3D point cloud layered block data, including: According to the geographic scope of the project's 3D point cloud, divide the geographic scope into square blocks of equal size that are closely arranged in the XY plane projection; Get the 3D point cloud coordinates within each square block and use the Delaunay triangulation algorithm to construct the geometric object, and finally save it as a "1_row_column.osgb" file to form the first-level block set; Based on the first level block set, recursion is started, and the four level blocks are combined into one to obtain the three-dimensional point cloud layered block data; Based on the hierarchical control parameters, the hierarchical division is carried out according to the size of the primitives, so as to realize the hierarchical and block organization of the vector data and the 3D model, and obtain the hierarchical and block data of the vector and the 3D model, including: Read each basic primitive of the vector data or 3D model, and calculate its axis-aligned bounding box to obtain the bounding box of the basic primitive; Based on the bounding box parameters of the basic primitive, the initial level of the basic primitive, the tuning level of the basic primitive, the side length of the tuning level block of the basic primitive, and the row and column number of the block where the basic primitive is located are calculated; Write the basic graphics elements with the same tuning level and block row and column number into the same osgb file, named "Level_row_column.osgb", to obtain vector and 3D model hierarchical block data; The visual distance association of 3D point cloud layered and block data at different levels is performed to realize the real-time loading and unloading of 3D point cloud layered and block data at upper and lower levels. Specifically: For the obtained 3D point cloud hierarchical block data, recursively start from the highest level and work downwards; Generate a corresponding scheduling relationship file for each "Level_row_column.osgb" block that is not level 1, named "Level_row_column.PagedLOD.osgb", which contains five PagedLOD nodes; The judgment centers of the five PageLOD nodes are all set to the center of the bounding box of "Level_row_column.osgb". The first PageLOD node sets the visible distance range from the side length of "Level_row_column.osgb" to infinity, and sets the loading file to "Level_row_column.osgb". The remaining four PageLOD nodes set the visible distance range to 0 to the side length of "Level_row_column.osgb", and set the loading files to the four data blocks corresponding to the next level; The visible distance of different levels of block data in the vector and three-dimensional model hierarchical block data is set so that the upper and lower level block data can be loaded simultaneously and complement each other.

2. The method for organizing and dispatching large-scale GIS data for highway design as claimed in claim 1, characterized in that: The recursion starts based on the first level block set, and the four level blocks are combined into one to obtain the three-dimensional point cloud layered block data, specifically: Based on the first-level block set, the recursion starts, and the four blocks of the previous layer are combined into a single block of the next layer. The starting point of the lower left corner of the block is consistent with that of the previous layer, until the side length of the block can cover the entire data geographic range; Merge the four blocks of data in the previous layer, generate the corresponding data blocks in the next layer at a quarter of the simplification rate, and save them as "Level_row_column.osgb" file; After the recursion is completed, multi-level hierarchical and block data of the three-dimensional point cloud are obtained.

3. The method for organizing and dispatching large-scale GIS data for highway design as claimed in claim 1, characterized in that: The initial level of the basic primitives and the tuning level of the basic primitives are calculated based on the bounding box parameters of the basic primitives, including: Use the following formula to get the initial level of the basic primitives: Level0 = log2(S); Wherein, S is the diagonal length of the projection rectangle of the axis-aligned bounding box of the basic primitive on the XY plane, and Level0 is the initial level of the basic primitive; The optimization level of the basic primitive is calculated by using the following formula to obtain the optimized level of the basic primitive: Level1= max(Level0+L1,L2); Among them, L1 and L2 are both integers. The larger L1 is, the more primitives of similar size are grouped in one block. The larger L2 is, the larger the minimum size of the block is. Level1 is the tuning level of the basic primitives.

4. The method for organizing and dispatching large-volume GIS data for highway design as claimed in claim 1, characterized in that: Use the following formula to calculate the side length of the basic primitive's tuning level block and the row and column number of the block where the basic primitive is located: Width = exp(2,Level1); Row = floor(X / Wdith); Col = floor(Y / Width); Among them, Width is the side length of the tuning level block of the basic primitive, [X, Y] is the plane coordinates of the center point of the axis-aligned bounding box of the basic primitive, Row and Col are the row and column numbers of the block where the basic primitive is located, and floor() is a rounding function.

5. The method for organizing and dispatching large-scale GIS data for highway design according to claim 1, characterized in that: The basic graphics elements with the same tuning level and row and column numbers of the blocks are written into the same osgb file, named "Level_row_column.osgb", to obtain vector and three-dimensional model hierarchical block data, specifically: For vector data, write the vector objects with the same level and block row and column numbers into the same osgb file to organize all vector objects in the block and obtain vector hierarchical block data; For a three-dimensional model, the three-dimensional geometric objects with the same level and block row and column number are written into the same osgb file to organize all the three-dimensional geometric objects of the block and obtain the layered block data of the three-dimensional model.

6. The method for organizing and dispatching large-volume GIS data for highway design as claimed in claim 1, characterized in that: The visual distance of different levels of block data in the vector and three-dimensional model hierarchical block data is set so that the upper and lower block data are loaded simultaneously and complement each other, specifically: Add 4 PagedLOD nodes for each "Level_row_column.osgb" block that is not the first level; The 4 PageLOD nodes set the visible range to 0 to half the length of the current block side, set the judgment center to the center of the bounding box of each corresponding sub-block of the next level, and set the loading file to the corresponding osgb file of the next level sub-block.

7. A large-scale GIS data organization and dispatching system applied to highway design, characterized by: include: A data acquisition module is configured to acquire multi-source GIS data, wherein the multi-source GIS data includes three-dimensional point cloud data, vector data, and three-dimensional models; The 3D point cloud layered and block module is configured to implement multi-level data organization of 3D point cloud data based on regular block and layering principles, and obtain 3D point cloud layered and block data, including: According to the geographic scope of the project's 3D point cloud, divide the geographic scope into square blocks of equal size that are closely arranged in the XY plane projection; Get the 3D point cloud coordinates within each square block and use the Delaunay triangulation algorithm to construct the geometric object, and finally save it as a "1_row_column.osgb" file to form the first-level block set; Based on the first level block set, recursion is started, and the four level blocks are combined into one to obtain the three-dimensional point cloud layered block data; The vector and three-dimensional model hierarchical block module is configured to divide the levels according to the size of the primitives based on the hierarchical control parameters, realize the hierarchical block organization of the vector data and the three-dimensional model, and obtain the vector and three-dimensional model hierarchical block data, including: Read each basic primitive of the vector data or 3D model, and calculate its axis-aligned bounding box to obtain the bounding box of the basic primitive; Based on the bounding box parameters of the basic primitive, the initial level of the basic primitive, the tuning level of the basic primitive, the side length of the tuning level block of the basic primitive, and the row and column number of the block where the basic primitive is located are calculated; Write the basic graphics elements with the same tuning level and block row and column number into the same osgb file, named "Level_row_column.osgb", to obtain vector and 3D model hierarchical block data; The 3D point cloud layered data scheduling module is configured to associate the 3D point cloud layered and block data at different levels with visual distance, and realize the real-time loading and unloading of the 3D point cloud layered and block data at the upper and lower levels, specifically: For the obtained 3D point cloud hierarchical block data, recursively start from the highest level and work downwards; Generate a corresponding scheduling relationship file for each "Level_row_column.osgb" block that is not level 1, named "Level_row_column.PagedLOD.osgb", which contains five PagedLOD nodes; The judgment centers of the five PageLOD nodes are all set to the center of the bounding box of "Level_row_column.osgb". The first PageLOD node sets the visible distance range from the side length of "Level_row_column.osgb" to infinity, and sets the loading file to "Level_row_column.osgb". The remaining four PageLOD nodes set the visible distance range to 0 to the side length of "Level_row_column.osgb", and set the loading files to the four data blocks corresponding to the next level; The vector and three-dimensional model hierarchical data scheduling module is configured to set the visible distance of different levels of block data in the vector and three-dimensional model hierarchical block data, so that the upper and lower level block data are loaded simultaneously and complement each other.