Spatial data processing method, system and electronic equipment

By using spatial data bodies to replace traditional raster tile in a three-dimensional GIS system, the lossless bearing and flexible application of spatial data are achieved, and the problem of single use scenarios of traditional raster tile is solved and multiple application scenarios are supported.

CN112819964BActive Publication Date: 2025-03-11NAT GEOMATICS CENT OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110361434.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-02
Publication Date
2025-03-11
Estimated Expiration
2041-04-02

AI Technical Summary

Technical Problem

In the existing three-dimensional GIS system, traditional raster tiles only support data visualization, and do not support applications such as information query, symbol modification, and comprehensive comparison, resulting in a single use scenario.

Method used

The spatial data body is used to replace traditional raster tile. By slicing the original spatial data in layered data according to the geographic grid, a collection of spatial data bodies of multiple hierarchical grids is established, and uploading it to the network server, realizing the lossless bearing and flexible application of spatial data.

Benefits of technology

It realizes the complete lossless bearing of the space and attributes of spatial data at the three-dimensional front end, supports a variety of application scenarios, such as spatial query, conditional retrieval and rendering operations, and solves the problem of single use scenarios in traditional raster tile.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112819964B_ABST
    Figure CN112819964B_ABST
Patent Text Reader

Abstract

The present invention provides a spatial data processing method, system and electronic device. The method divides the original spatial data into layers according to the geographic grid, and establishes corresponding spatial data bodies according to multiple levels of grids. The data entities of each level perform spatial point data thinning according to the equal data volume method to ensure that the tile volume of each level is similar; the spatial data body contains the original spatial data of the corresponding level; then the spatial data body set determined by all spatial data bodies is uploaded to the network service end; when the user end makes a spatial data processing request to the network service end, the network service end processes the spatial data body of the relevant level in the spatial data body set, and uses the WEBGL engine to perform real-time three-dimensional drawing and vector feature picking, vector query and other interactive operations. The method uses spatial data bodies to replace traditional raster tiles, solving the problem that traditional three-dimensional raster tiles only support visualization but not application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional GIS rendering, and in particular to a spatial data processing method, system and electronic equipment. Background Art

[0002] The existing 3D GIS system has two usage scenarios: offline and online. Thanks to the development of network technology, online data slicing through the network has become a common mode of 3D GIS systems. The slicing process is to convert the original data into static raster tiles. Raster tiles are similar to pre-symbolized pictures and only support data visualization. They do not have the application capabilities of information query, symbol modification, comprehensive comparison, etc., and the usage scenarios are single. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a spatial data processing method, system and electronic device, which utilizes spatial data bodies to replace traditional raster tiles, so that the space and attributes of spatial data are completely losslessly carried on the three-dimensional front end, solving the problem of the single usage scenario caused by the traditional three-dimensional raster tiles only supporting visualization but not supporting applications.

[0004] In a first aspect, an embodiment of the present invention provides a spatial data processing method, which is applied to a three-dimensional GIS system and includes:

[0005] The original spatial data is divided into layers according to the geographic grid, and multiple layers of grids are determined;

[0006] According to multiple hierarchical grids, a spatial data volume corresponding to each hierarchical grid is established respectively; wherein the spatial data volume contains original spatial data of the corresponding hierarchical grid;

[0007] Determine a spatial data volume set according to all spatial data volumes corresponding to multiple levels of grids, and upload the spatial data volume set to a network server;

[0008] When the user terminal makes a spatial data processing request to the network server terminal, the network server terminal processes the spatial data volume of the level related to the request in the spatial data volume set and sends it to the user terminal.

[0009] In some implementations, the step of dividing the original spatial data into hierarchical data according to geographic grids and determining multiple hierarchical grids includes:

[0010] Get the latitude and longitude geographic grid corresponding to the original spatial data;

[0011] According to the latitude and longitude geographic grid, the original spatial data is segmented into layers using the quadtree rule to obtain the segmentation results;

[0012] According to the segmentation results, the hierarchical grid is determined.

[0013] In some implementations, based on multiple hierarchical grids, a spatial data volume corresponding to each hierarchical grid is established, including:

[0014] Get the longitude and latitude coordinates corresponding to the hierarchical grid;

[0015] According to the equal data volume method, the longitude and latitude coordinates corresponding to each level of grid are thinned to determine the spatial data volume corresponding to each level of grid.

[0016] In some implementations, the network server processes the spatial data volume of the level related to the request in the spatial data volume set, including:

[0017] Get the type of spatial data processing request;

[0018] According to the type of spatial data processing request, the network server parses the spatial data body of the relevant level of the request to determine the spatial object information of the spatial data body; wherein the spatial object information includes: attribute information and geometric figure information;

[0019] In some implementations, when the type of the spatial data processing request is a spatial query, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body, including:

[0020] According to the longitude and latitude coordinates corresponding to the spatial query, obtain the point query, line query and surface query contained in the spatial query;

[0021] The spatial data bodies corresponding to point queries, line queries and surface queries are queried in real time, and the attribute information and geometric figure information corresponding to the queried spatial data bodies are determined as spatial object information.

[0022] In some implementations, when the type of the spatial data processing request is conditional retrieval, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body, including:

[0023] According to the attribute conditions, all spatial data bodies under the current window are traversed to determine whether the spatial data bodies meet the conditional retrieval one by one;

[0024] The geometric information corresponding to the retrieved spatial data volume is determined as spatial object information.

[0025] In some implementations, when the type of the spatial data processing request is a rendering operation, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body, including:

[0026] According to the latitude and longitude coordinates corresponding to the rendering operation, obtain the object symbols in all spatial data volumes under the current window;

[0027] An object symbol corresponding to the spatial data body to be rendered is determined according to the attribute information of the spatial data body, and the spatial data body corresponding to the object symbol is determined as spatial object information.

[0028] In a second aspect, an embodiment of the present invention provides a spatial data processing system, which is applied to a three-dimensional GIS system, including:

[0029] A hierarchical network determination module is used to divide the original spatial data into hierarchical data according to geographic grids and determine multiple hierarchical grids;

[0030] A spatial data volume generation module is used to establish a spatial data volume corresponding to each level grid according to multiple levels of grids; wherein the spatial data volume contains the original spatial data of the corresponding level;

[0031] A spatial data volume set generation module is used to determine a spatial data volume set according to all spatial data volumes corresponding to multiple levels of grids, and upload the spatial data volume set to a network server;

[0032] The spatial data volume processing module is used for, when the user terminal makes a spatial data processing request to the network server terminal, the network server terminal processes the spatial data volume of the level related to the request in the spatial data volume set and sends it to the user terminal.

[0033] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a processor and a memory; a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the spatial data processing method mentioned in any possible implementation manner of the first aspect above are implemented.

[0034] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the spatial data processing method mentioned in any possible implementation manner of the above-mentioned first aspect are implemented.

[0035] The embodiments of the present invention bring the following beneficial effects:

[0036] The present invention provides a spatial data processing method, system and electronic device, which are applied to a three-dimensional GIS system. The method first divides the original spatial data into layers according to the geographic grid to determine multiple hierarchical grids; then, according to the multiple hierarchical grids, a spatial data body corresponding to each hierarchical grid is established; wherein the spatial data body contains the original spatial data of the corresponding level; then, according to all the spatial data bodies corresponding to the multiple hierarchical grids, a spatial data body set is determined, and the spatial data body set is uploaded to a network service end; when the user end makes a spatial data processing request to the network service end, the network service end processes the spatial data body of the level related to the request in the spatial data body set, and sends it to the user end. The method uses spatial data bodies to replace traditional raster tiles, so that the space and attributes of spatial data are completely carried losslessly in the three-dimensional front end, solving the problem that traditional three-dimensional raster tiles only support visualization but not application.

[0037] Other features and advantages of the present invention will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present invention.

[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically listed below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A flowchart of a spatial data processing method provided by an embodiment of the present invention;

[0041] Figure 2 A flowchart of step S101 in a spatial data processing method provided by an embodiment of the present invention;

[0042] Figure 3 In a spatial data processing method provided in an embodiment of the present invention, a flowchart of establishing a spatial data volume corresponding to each hierarchical grid according to multiple hierarchical grids is provided;

[0043] Figure 4 A flowchart of a process in which a network service end processes a spatial data body of a level related to a request in a spatial data body set in a spatial data processing method provided by an embodiment of the present invention;

[0044] Figure 5 In a spatial data processing method provided by an embodiment of the present invention, when the type of spatial data processing request is a spatial query, the network service end parses the spatial data body of the relevant level of the request to determine the flow chart of the spatial object information of the spatial data body;

[0045] Figure 6 In a spatial data processing method provided by an embodiment of the present invention, when the type of spatial data processing request is conditional retrieval, the network service end parses the spatial data body of the level related to the request to determine the flow chart of the spatial object information of the spatial data body;

[0046] Figure 7 In a spatial data processing method provided by an embodiment of the present invention, when the type of spatial data processing request is a rendering operation, the network server parses the spatial data body of the level related to the request to determine the flow chart of the spatial object information of the spatial data body;

[0047] Figure 8 A schematic diagram of the structure of a spatial data processing system provided by an embodiment of the present invention;

[0048] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0049] icon:

[0050] 810 - hierarchical network determination module; 820 - spatial data volume generation module; 830 - spatial data volume set generation module; 840 - spatial data volume processing module; 101 - processor; 102 - memory; 103 - bus; 104 - communication interface. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] The real space is three-dimensional, and mountains, rivers, forests, fields, lakes, grasses and seas form a community of life. Three-dimensional support is an inevitable choice for the unified management and comprehensive governance of natural resources. With the new layout of the unified management of natural resources, the entire natural resources field urgently needs to transform the three-dimensional cognition and technical concepts, accelerate the establishment of a three-dimensional-based natural resource information support system, truly reproduce the spatial natural geographical conditions and natural resource distribution, and provide all-round and integrated application support for natural resource management.

[0053] 3D GIS (Geographic Information System or Geo Information System) technology has been developed for many years. Generally speaking, 3D systems have gone through two technical modes: offline and online. Among them, early offline applications directly called the original background data, which was limited by data-intensive scenarios, did not support large-scale spatial data overlay, was not convenient for information sharing and business services, and did not meet actual application needs.

[0054] Therefore, online applications have become the driving force behind the gradual shift of three-dimensional systems to online mode, that is, calling data slices online through the network to facilitate large-scale data sharing services. However, the biggest shortcoming of the current online mode is that the slicing process uniformly converts the original data into static raster tiles, and then overlays them in three dimensions. These raster tiles are similar to pre-symbolized pictures and only support data visualization. They do not have the application capabilities of information query, symbol modification, and comprehensive comparison. They are unable to meet the flexible application needs of multi-thematic data of "mountains, rivers, forests, fields, lakes, and grasslands" in three dimensions.

[0055] In summary, the 3D raster tiles in the existing 3D GIS system only support visualization but not application, and there is a problem of single usage scenario.

[0056] Based on this, the embodiments of the present invention provide a spatial data processing method, system and electronic device, which use spatial data bodies to replace traditional raster tiles, so that the space and attributes of spatial data are completely losslessly carried on the three-dimensional front end, solving the problem that traditional three-dimensional raster tiles only support visualization but not application scenarios.

[0057] To facilitate understanding of this embodiment, a spatial data processing method disclosed in an embodiment of the present invention is first introduced in detail.

[0058] See also Figure 1 A flow chart of a spatial data processing method is shown, the method comprising the following steps:

[0059] Step S101, dividing the original spatial data into layers according to geographic grids to determine multiple layers of grids.

[0060] This step is the geographic grid segmentation step. The geographic grid is used as a geographic space division and positioning reference system to achieve spatial discretization and unification. In the specific implementation process, the hierarchical data segmentation can be performed according to the latitude and longitude geographic grid and the preset latitude and longitude data. The obtained hierarchical grid is characterized by setting the hierarchical ID value.

[0061] Step S102: according to the multiple hierarchical grids, respectively establish a spatial data volume corresponding to each hierarchical grid; wherein the spatial data volume contains original spatial data of the corresponding level.

[0062] After the hierarchical grid is obtained, a spatial data volume corresponding to the hierarchical grid is established according to the original spatial data contained in each level. These spatial data volumes can be data blocks of standard uniform size, and can be stored in textual spatial data recording methods such as GeoJSON or WKT, for example, in hypertext format.

[0063] GeoJSON is a format for encoding various geographic data structures. It is a geospatial information data exchange format based on JavaScript Object Notation (JSON). GeoJSON objects can represent geometries, features, or feature collections. GeoJSON supports the following geometry types: points, lines, surfaces, multipoints, multilines, multifaceted surfaces, and geometry collections. Features in GeoJSON contain a geometry object and other properties, and feature collections represent a series of features.

[0064] WKT (Well-known text) is a text markup language used to represent vector geometric objects, spatial reference systems, and conversions between spatial reference systems.

[0065] Step S103: determining a spatial data volume set according to all spatial data volumes corresponding to the multiple-level grids, and uploading the spatial data volume set to a network server.

[0066] The spatial data volumes corresponding to each level of grid are used to generate a spatial data volume set, which contains all the original spatial data. The traditional method is to raster slice the spatial data to form static raster tiles. Static raster tiles are static images rendered after symbolizing the spatial data. The raster tiles only support symbol visualization and cannot perform operations such as selection, attribute query, and conditional filtering on spatial data objects. The spatial data volume set is a regular segmentation of the original data, and the original spatial data blocks are retained. Therefore, the spatial data volume set is uploaded to the network server and the service is published for the user to call.

[0067] During the specific implementation process, the spatial data body collection can adopt the geographic information service standards and interfaces of the OGC WMTS standard to publish services for the spatial data body collection, so that data bodies of different levels and rows can be requested and obtained through a common Web Service interface.

[0068] Step S104: when the user terminal makes a spatial data processing request to the network server terminal, the network server terminal processes the spatial data volume of the level related to the request in the spatial data volume set and sends it to the user terminal.

[0069] In the specific implementation process, under the support of the true three-dimensional spatial engine of the unified spatial reference, according to the elevation, longitude and latitude range of the current window, the corresponding geographic grid set in the window can be requested, and according to the level and row and column number of the geographic grid, the spatial data body service can be requested one by one to obtain the corresponding data body GeoJSON or WKT and other textual spatial data files in the current window. Specifically, the WEBGL (Web Graphics Library) engine can be used for real-time three-dimensional drawing and vector feature picking, vector query and other interactive operations.

[0070] It can be seen from the spatial data processing method provided in the above embodiment that this method uses spatial data bodies to replace traditional raster tiles in the three-dimensional GIS system, so that the space and attributes of spatial data are completely losslessly carried on the three-dimensional front end, solving the problem of single usage scenarios caused by traditional three-dimensional raster tiles only supporting visualization but not supporting applications.

[0071] In some implementations, the original spatial data is divided into hierarchical data according to geographic grids to determine a plurality of hierarchical grids in step S101, such as Figure 2 As shown, including:

[0072] Step S201, obtaining the latitude and longitude geographic grid corresponding to the original spatial data.

[0073] Step S202, according to the longitude and latitude geographic grid, using the quadtree rule to perform hierarchical data segmentation on the original spatial data to obtain segmentation results.

[0074] Step S203, determining the hierarchical grid according to the segmentation result.

[0075] The original spatial data is divided into hierarchical data according to the standard quadtree rule. The size of the 0-level grid is 90°×90°, the 1-level grid is 45°×45°, the 2-level grid is 22.5°×22.5°, and so on. After the hierarchical grid is finally determined by the above quadtree segmentation method, in some embodiments, according to the multiple hierarchical grids, the spatial data volume corresponding to each hierarchical grid is established, such as Figure 3 As shown, including:

[0076] Step S301, obtaining the longitude and latitude coordinates corresponding to the hierarchical grid.

[0077] Step S302: According to the equal data volume method, data thinning is performed on the longitude and latitude coordinates corresponding to each level grid to determine the spatial data volume corresponding to each level grid.

[0078] Specifically, the data entities at each level are subjected to spatial point data thinning according to the equal data volume method to ensure that the tile volume at each level is similar; wherein the spatial data body contains the original spatial data of the corresponding level, and the data can be stored in a hypertext format.

[0079] In some implementations, the network server processes the spatial data volumes of the level related to the request in the spatial data volume set, such as Figure 4 As shown, including:

[0080] Step S401, obtaining the type of spatial data processing request.

[0081] The types of spatial data requests are different from traditional methods and may include: query, modification, comparison, etc., and may further include: lossless selection of data block objects, attribute query, conditional filtering, symbol setting and other interactive operations.

[0082] Step S402: According to the type of spatial data processing request, the network server parses the spatial data body of the relevant level of the request to determine the spatial object information of the spatial data body; wherein the spatial object information includes: attribute information and geometric figure information.

[0083] The traditional static raster data service publishing is similar, the difference is that the traditional raster tile service requests static raster slices; while the spatial data processing method in the embodiment requests lossless data bodies through the service.

[0084] After processing the spatial data bodies of the relevant levels in the spatial data body collection, the network server uses the WEBGL engine to perform interactive operations such as real-time 3D drawing, vector feature picking, and vector query. In the specific implementation process, under the support of the true 3D spatial engine of the unified spatial benchmark, according to the elevation, longitude and latitude range of the current window, the corresponding geographic grid collection in the window can be requested, and the spatial data body service can be requested one by one according to the level and row and column number of the geographic grid to obtain the corresponding data body in the current window. GeoJSON or WKT and other textual spatial data files, and then by parsing the spatial data bodies of different levels, the spatial object information of the spatial data body can be determined.

[0085] In some implementations, when the type of spatial data processing request is spatial query, the network server parses the spatial data body of the relevant level of the request to determine the spatial object information of the spatial data body, such as Figure 5 As shown, including:

[0086] Step S501, obtaining the point query, line query and surface query included in the spatial query according to the longitude and latitude coordinates corresponding to the spatial query.

[0087] Step S502: query the spatial data volume corresponding to the point query, line query and surface query in real time, and determine the attribute information and geometric figure information corresponding to the queried spatial data volume as spatial object information.

[0088] For the spatial query operation of the three-dimensional front end, according to the interactive requests in the three-dimensional scene such as point query, line query or surface query, the data objects corresponding to the requested point, line, surface and other ranges are calculated in real time, and the queried spatial data geometric objects and attribute information are returned to complete the spatial query operation of the three-dimensional front end.

[0089] In some implementations, when the type of spatial data processing request is conditional retrieval, the network server parses the spatial data body of the relevant level of the request to determine the spatial object information of the spatial data body, such as Figure 6 As shown, including:

[0090] Step S601, traverse all spatial data bodies under the current window according to the attribute conditions, and determine whether the spatial data bodies meet the conditional retrieval one by one.

[0091] Step S602: determining the geometric figure information corresponding to the retrieved spatial data volume as spatial object information.

[0092] For the conditional search operation of the three-dimensional front end, all data objects under the current window are traversed according to the attribute conditions, and the data objects that meet the attribute search conditions are identified one by one, and the queried spatial data geometry objects are returned to complete the conditional search operation of the three-dimensional front end.

[0093] In some implementations, when the type of spatial data processing request is a rendering operation, the network server parses the spatial data body of the relevant level of the request to determine the spatial object information of the spatial data body, such as Figure 7 As shown, including:

[0094] Step S701, obtaining object symbols in all spatial data volumes under the current window according to the latitude and longitude coordinates corresponding to the rendering operation.

[0095] Step S702: determining an object symbol corresponding to the spatial data volume to be rendered according to the attribute information of the spatial data volume, and determining the spatial data volume corresponding to the object symbol as spatial object information.

[0096] For the flexible rendering operation of the 3D front end, according to the different attribute symbolization schemes of point, line and surface objects, all data objects in the current window are requested, and the object symbols corresponding to the data objects are determined one by one according to the type and attribute information of the data objects. Then, the symbols are rendered on the 3D engine to complete the flexible rendering operation of the spatial data of the 3D front end.

[0097] It can be known from the spatial data processing method mentioned in the above embodiment that the method first divides the original spatial data into layers according to the geographic grid to determine multiple hierarchical grids; then, according to the multiple hierarchical grids, the spatial data bodies corresponding to each hierarchical grid are respectively established, and the data entities of each level are subjected to spatial point data thinning according to the equal data volume method to ensure that the tile volume of each level is similar; wherein, the spatial data body contains the original spatial data of the corresponding level, which is stored in a hypertext format; then, a spatial data body set is determined according to all the spatial data bodies corresponding to the multiple hierarchical grids, and the spatial data body set is uploaded to the network server; when the user terminal makes a spatial data processing request to the network server, the network server processes the spatial data body of the level related to the request in the spatial data body set, and sends it to the user terminal. The method uses spatial data bodies to replace traditional raster tiles, so that the space and attributes of spatial data are completely losslessly carried on the three-dimensional front end. Based on the spatial data operations of the three-dimensional front-end, interactive operations on the data body can be realized on the three-dimensional front-end. When there are multiple data layers, corresponding spatial queries, conditional retrieval, flexible rendering, etc. are performed on each data layer, thereby realizing the three-dimensional expression and flexible application of spatial data, meeting the business application needs of various scenarios, and solving the problem of single usage scenarios caused by traditional three-dimensional raster tiles only supporting visualization but not application.

[0098] Corresponding to the above method embodiment, the embodiment of the present invention further provides a spatial data processing system, which is applied to a three-dimensional GIS system, and its structural schematic diagram is shown as follows: Figure 8 As shown, including:

[0099] A hierarchical network determination module 810 is used to divide the original spatial data into hierarchical data according to geographic grids to determine multiple hierarchical grids;

[0100] The spatial data volume generation module 820 is used to respectively establish a spatial data volume corresponding to each level grid according to multiple levels grids; wherein the spatial data volume contains the original spatial data of the corresponding level;

[0101] A spatial data volume set generation module 830 is used to determine a spatial data volume set according to all spatial data volumes corresponding to multiple levels of grids, and upload the spatial data volume set to a network server;

[0102] The spatial data volume processing module 840 is used for, when the user terminal makes a spatial data processing request to the network server terminal, the network server terminal processes the spatial data volume of the level related to the request in the spatial data volume set and sends it to the user terminal.

[0103] The spatial data processing system provided in the embodiment of the present invention has the same technical features as the spatial data processing method provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects. For the sake of brief description, for matters not mentioned in the embodiment part, reference can be made to the corresponding contents in the above method embodiment.

[0104] This embodiment also provides an electronic device, which is a structural diagram of the electronic device as shown in Fig. 9 As shown, the device includes a processor 101 and a memory 102; wherein the memory 102 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the above-mentioned spatial data processing method.

[0105] Fig. 9 The electronic device shown further includes a bus 103 and a communication interface 104 , and the processor 101 , the communication interface 104 and the memory 102 are connected via the bus 103 .

[0106] The memory 102 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The bus 103 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0107] The communication interface 104 is used to connect to at least one user terminal and other network units through a network interface, and send the encapsulated IPv4 message or IPv4 message to the user terminal through the network interface.

[0108] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and completes the steps of the method of the above embodiment in combination with its hardware.

[0109] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method of the above embodiment are executed.

[0110] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0112] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0113] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0114] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A spatial data processing method, characterized in that: The method is applied to a three-dimensional GIS system, and includes: The original spatial data is divided into layers according to the geographic grid, and multiple layers of grids are determined; According to the plurality of hierarchical grids, a spatial data volume corresponding to each hierarchical grid is established respectively; wherein the spatial data volume contains the original spatial data corresponding to the hierarchy; Determine the spatial data volume set according to all spatial data volumes corresponding to the plurality of hierarchical grids, and upload the spatial data volume set to a network server; When the user terminal makes a spatial data processing request to the network server, the network server processes the spatial data volume of the level related to the request in the spatial data volume set and sends it to the user terminal; According to the plurality of hierarchical grids, a spatial data volume corresponding to each hierarchical grid is established respectively, including: Obtain the longitude and latitude coordinates corresponding to the hierarchical grid; According to the equal data volume method, data thinning is performed on the longitude and latitude coordinates corresponding to each of the hierarchical grids to determine the spatial data volume corresponding to each of the hierarchical grids; wherein, data thinning is performed on the longitude and latitude coordinates corresponding to each of the hierarchical grids, including: spatial point data thinning is performed on the data entity of each of the hierarchical grids according to the equal data volume method.

2. The method according to claim 1, characterized in that: The steps of dividing the original spatial data into layers according to the geographic grid and determining multiple levels of grids include: Obtaining the latitude and longitude geographic grid corresponding to the original spatial data; According to the latitude and longitude geographic grid, the original spatial data is segmented into layers using a quadtree rule to obtain a segmentation result; The hierarchical grid is determined according to the segmentation result.

3. The method according to claim 1, characterized in that: The network server processes the spatial data volume of the level related to the request in the spatial data volume set, including: Obtaining the type of the spatial data processing request; According to the type of the spatial data processing request, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body; wherein the spatial object information includes: attribute information and geometric figure information.

4. The method according to claim 3, characterized in that When the type of the spatial data processing request is a spatial query, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body, including: According to the longitude and latitude coordinates corresponding to the spatial query, obtaining the point query, line query and surface query included in the spatial query; The spatial data volume corresponding to the point query, the line query and the surface query is queried in real time, and the attribute information and geometric figure information corresponding to the queried spatial data volume are determined as the spatial object information.

5. The method according to claim 3, characterized in that: When the type of the spatial data processing request is conditional retrieval, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body, including: According to the attribute conditions, all the spatial data bodies under the current window are traversed, and the spatial data bodies are judged one by one whether they meet the conditional retrieval; The retrieved geometric information corresponding to the spatial data volume is determined as the spatial object information.

6. The method according to claim 3, characterized in that When the type of the spatial data processing request is a rendering operation, the network server parses the spatial data body of the level related to the request to determine the spatial object information of the spatial data body, including: According to the longitude and latitude coordinates corresponding to the rendering operation, obtaining the object symbols in all the spatial data volumes under the current window; An object symbol corresponding to the spatial data volume to be rendered is determined according to the attribute information of the spatial data volume, and the spatial data volume corresponding to the object symbol is determined as the spatial object information.

7. A spatial data processing system, characterized in that: The system is applied in a three-dimensional GIS system, including: A hierarchical network determination module is used to divide the original spatial data into hierarchical data according to geographic grids and determine multiple hierarchical grids; A spatial data volume generation module, used to establish a spatial data volume corresponding to each hierarchical grid according to the plurality of hierarchical grids; wherein the spatial data volume contains the original spatial data corresponding to the hierarchical grid; A spatial data volume set generation module, used to determine the spatial data volume set according to all spatial data volumes corresponding to the multiple hierarchical grids, and upload the spatial data volume set to a network server; A spatial data volume processing module, configured to cause the network server to process the spatial data volume of the level related to the request in the spatial data volume set and send the processed spatial data volume to the user end when the user end makes a spatial data processing request to the network server end; The spatial data volume generation module is also used to: obtain the longitude and latitude coordinates corresponding to the hierarchical grids; perform data thinning on the longitude and latitude coordinates corresponding to each of the hierarchical grids according to the equal data amount method, and determine the spatial data volume corresponding to each of the hierarchical grids; wherein, in the process of performing data thinning on the longitude and latitude coordinates corresponding to each of the hierarchical grids, the spatial data volume generation module is also used to perform spatial point data thinning on the data entities of each of the hierarchical grids according to the equal data amount method.

8. An electronic device, characterized in that: include: A processor and a storage device; the storage device stores a computer program, and when the computer program is executed by the processor, the steps of the spatial data processing method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the spatial data processing method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • WebGL-based three-dimensional GIS technology platform

    CN108287929A