Twin base map visualization method and device, equipment and storage medium

By obtaining and converting map coordinate system data, we generate scattered point diagrams and point aggregation diagrams, and use object pools and KD tree management to solve the problem of being unable to use commonly used projection coordinate systems in real-time graphics engines, and achieve high-precision twin base maps. Efficient visualization of service and geographic data.

CN118760730AActive Publication Date: 2024-10-11SHENZHEN CHAOXIANG DIGITAL TECH CO LTD

Patent Information

Application Number
CN202410802812.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-11
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

The existing technology cannot use commonly used projected coordinate systems in real-time graphics engines, making it difficult to implement high-precision twin basemap services. It is especially difficult to meet efficient and intuitive visualization needs in high-density geographical data display.

Method used

By obtaining the first area map coordinate system data from the data source, it is converted into scatter plot data and point aggregation plot data, and is efficiently managed using object pools and KD trees, and displayed in the geographical data density display area.

Benefits of technology

It implements high-precision twin basemap services in real-time graphics engines, improves the visualization accuracy and user experience of geographic data, and meets the needs for efficient and intuitive display in high-density geographic data scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760730A_ABST
    Figure CN118760730A_ABST
Patent Text Reader

Abstract

The invention discloses a twin base map visualization method, device and equipment and a storage medium, relates to the technical field of computer graphics, and discloses a twin base map visualization method comprising the following steps: obtaining first area map coordinate system data in a data source; obtaining scattering point diagram data and point aggregation diagram data by converting the first area map coordinate system data; and in response to a display instruction, displaying the scatter diagram data and the point aggregation diagram data in a geographic data density display area. The problem that high-precision twin base map service cannot be realized by using a common projection coordinate system in a real-time graphic engine can be solved, so that the application of geographic data in the real-time graphic engine is more accurate and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer graphics, and in particular to a twin base map visualization method, apparatus, device and storage medium. Background Art

[0002] Currently, geographic information systems are widely used in many fields, including smart cities, smart transportation, and environmental monitoring. However, with the increase in data size and complexity, traditional GIS systems face many challenges in visualization and spatial analysis. Especially in scenarios where high-density geographic data needs to be displayed, existing technologies are difficult to meet the needs of efficient and intuitive visualization.

[0003] The real-time graphics engine is a highly open 3D real-time creation tool. It has powerful rendering capabilities and georeferencing plug-ins, providing a technical foundation for high-fidelity geographic data visualization. However, most existing base map services are based on Web development, such as Amap, Baidu Maps and other map services, which are not capable of being transferred to the real-time graphics engine, nor are they capable of implementing spatial map services such as scattering, scattering aggregation, thermal, and road conditions. The commonly used projection coordinate system cannot be used directly in the real-time graphics engine.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a twin base map visualization method, device, equipment and storage medium, aiming to solve the problem that high-precision twin base map services cannot be achieved using common projection coordinate systems in real-time graphics engines.

[0006] To achieve the above objectives, this application proposes a twin base map visualization method, which includes:

[0007] Obtain the map coordinate system data of the first area in the data source;

[0008] By converting the first area map coordinate system data, scattered point map data and point aggregation map data are obtained;

[0009] In response to the display instruction, the scattered point map data and the point aggregation map data are displayed in the geographic data density display area.

[0010] In one embodiment, the step of displaying the scattered point map data and the point aggregation map data in the geographic data density display area in response to the display instruction includes:

[0011] The display instruction is detected, and coordinate system data in the data source is read;

[0012] Determine whether the coordinate system data is local coordinate system data, and if not, parse the online coordinate system data to obtain the local coordinate system data;

[0013] According to the local coordinate system data, point information is obtained, and a scattered point map is constructed according to the point information of the scattered point map;

[0014] Creating an object pool according to the point information of the scattered point map, and constructing a KD tree through the point information of the point aggregation data;

[0015] A geographic data density display map is obtained according to the object pool and the KD tree, and the geographic data density display map is displayed in the geographic data density display area.

[0016] In one embodiment, the step of creating an object pool according to the point information of the scattered point map and constructing a KD tree through the point information of the point aggregation data includes:

[0017] Initialize the object pool and create corresponding objects according to the point information of the scattered point data;

[0018] According to the point information of the point aggregation data, a KD tree is constructed through a blueprint in a real-time graphics engine;

[0019] The step of obtaining a geographic data density display map according to the object pool and the KD tree, and displaying the geographic data density display map in the geographic data density display area comprises:

[0020] Obtaining the index corresponding to the point information of the point aggregation data in the KD tree, and the point information of the point aggregation data corresponding to the index;

[0021] According to the point information of the aggregated data corresponding to the index, an object of the point information of the scattered point data corresponding to the index is obtained from the object pool, and the point information of the aggregated data corresponding to the index is passed to the object of the point information of the scattered point data, so that the object of the point information of the scattered point data manages the point information of the aggregated data corresponding to the index;

[0022] A geographic data density display map is obtained according to the corresponding relationship, and the geographic data density display map is displayed in the geographic data density display area.

[0023] In one embodiment, the twin base map visualization interface further includes: a heat map display area;

[0024] After the step of converting the first area map coordinate system data, the following step is further included:

[0025] According to the coordinate system data of the map of the first area, obtaining point information with thermal weight information and coordinate information;

[0026] According to the coordinate information, a grayscale circle with a shadow gradient corresponding to the point is obtained;

[0027] According to different weights of different points, the grayscale circles with gradient shadows are superimposed to obtain a grayscale heat map;

[0028] Different colors are obtained by corresponding percentage positions in the gradient palette, and the grayscale heat map is colored according to the transparency of each pixel on the grayscale heat map according to the different colors to obtain a color heat map;

[0029] Obtaining the transparency of the grayscale heat map to obtain pixel height;

[0030] A heat map is obtained according to the color heat map and the pixel height, and the heat map is displayed in a heat map display area.

[0031] In one embodiment, the twin base map visualization interface further includes: a flying line diagram display area;

[0032] After the step of converting the first area map coordinate system data, the following step is further included:

[0033] According to the coordinate system data of the map of the first area, obtaining point information with coordinate information and weight values;

[0034] Calculate the distance between two points on the flying line according to the coordinate information;

[0035] A flying line diagram is obtained according to the distance between two points of the flying line, the weight value, the height of the flying line, the abscissa of the coordinate information and the ordinate of the coordinate information, and the flying line diagram is displayed in a flying line diagram display area.

[0036] In one embodiment, the step of converting the first area map coordinate system data to obtain scattered point map data and point aggregation map data includes:

[0037] According to the first area map coordinate system data, obtain the second coordinate system data and the third coordinate system data;

[0038] The longitude and latitude of the coordinates in the second coordinate system data are offset adjusted respectively;

[0039] Obtaining the straight-line distance from the origin to the coordinates through the longitude and latitude adjusted by the offset;

[0040] Obtaining the azimuth from the origin to the coordinates through the longitude, latitude and angle offset after the offset adjustment;

[0041] Obtaining the longitude and latitude in the third coordinate system data according to the straight-line distance from the origin to the coordinate and the azimuth from the origin to the coordinate;

[0042] Taking the longitude and latitude in the third coordinate system data as initial coordinates;

[0043] Obtaining a relative offset of the third coordinate system relative to the first coordinate system through the initial coordinates and the offset of the third coordinate system;

[0044] Obtaining first coordinate system data according to the relative offset and the initial coordinates;

[0045] According to the first coordinate system data, scattered point graph data and point aggregation graph data are obtained.

[0046] In one embodiment, the twin base map visualization interface further includes: automatically generating a document display area:

[0047] After the step of responding to the display instruction and displaying the scattered point map data and the point aggregation map data in the geographic data density display area, the step further includes:

[0048] When receiving a request to modify a blueprint function in a real-time graphics engine, obtaining a JSON file according to information of the function, so that the front end reads and parses the JSON file;

[0049] According to the parsed JSON data, the parsed JSON data is displayed in the automatically generated document display area according to the information of the function.

[0050] In addition, to achieve the above-mentioned purpose, the present application also proposes a twin base map visualization device, which includes: a data source acquisition module, used to acquire first area map coordinate system data in a data source;

[0051] A coordinate system conversion module, used for obtaining first coordinate system data by converting the first area map coordinate system data;

[0052] A data analysis module, for obtaining scattered point graph data and point aggregation graph data according to the first coordinate system data;

[0053] The data display module is used to respond to the display instruction and display the scattered point map data and the point aggregation map data in the geographic data density display area.

[0054] In addition, to achieve the above-mentioned objectives, the present application also proposes a twin base map visualization device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the twin base map visualization method as described above.

[0055] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the twin base map visualization method described above are implemented.

[0056] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the twin base map visualization method described above.

[0057] One or more technical solutions proposed in this application have at least the following technical effects:

[0058] Due to the adoption of the technical means of obtaining the first area map coordinate system data in the data source, generating scattered point map data and point aggregation map data by converting these coordinate system data; responding to the display instruction, the scattered point map data and point aggregation map data are displayed in the geographic data density display area. Through these technical means, the problem that the common projection coordinate system cannot be used in the real-time graphics engine to realize high-precision twin base map service is solved, making the application of geographic data in the real-time graphics engine more accurate and efficient. Compared with the prior art, the present invention realizes efficient and intuitive visualization in high-density geographic data scenarios, and improves the accuracy of geographic data visualization and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0060] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0061] Figure 1 A schematic diagram of the process flow provided for the first embodiment of the twin base map visualization method of the present application;

[0062] Figure 2 A specific effect display diagram of the geographic data density map provided in Example 1 of the twin base map visualization method of this application;

[0063] Figure 3 A diagram showing the specific effects of the grid heat map provided in Example 1 of the twin base map visualization method of this application;

[0064] Figure 4A schematic diagram of the process flow provided for the second embodiment of the twin base map visualization method of this application;

[0065] Figure 5 A specific effect display diagram of a grayscale circle with a shadow gradient provided in Example 2 of the twin base map visualization method of this application;

[0066] Figure 6 A specific effect display diagram of the grayscale heat map provided in Example 2 of the twin base map visualization method of this application;

[0067] Figure 7 A diagram showing the specific effects of the color heat map provided in Example 2 of the twin base map visualization method of this application;

[0068] Figure 8 A specific effect display diagram of the heat map provided in Example 2 of the twin base map visualization method of this application;

[0069] Fig. 9 A schematic diagram of the process flow provided for the third embodiment of the twin base map visualization method of this application;

[0070] Fig.10 A specific effect display diagram of the flying line diagram provided in Example 3 of the twin base map visualization method of this application;

[0071] Fig.11 A schematic diagram of the process flow provided for the fourth embodiment of the twin base map visualization method of the present application;

[0072] Fig.12 This is a schematic diagram of the module structure of the twin base map visualization device of the embodiment of the present application;

[0073] Fig.13 This is a schematic diagram of the device structure of the hardware operating environment involved in the twin base map visualization method in the embodiment of the present application.

[0074] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0075] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0076] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0077] The main solution of the embodiment of the present application is: obtaining the first area map coordinate system data in the data source;

[0078] By converting the first area map coordinate system data, scattered point map data and point aggregation map data are obtained;

[0079] In response to the display instruction, the scattered point map data and the point aggregation map data are displayed in the geographic data density display area. In this embodiment, for ease of description, the following description is made by taking the twin base map visualization device as the execution subject.

[0080] Since most of the existing base map services in the existing technology are based on Web development, they are not capable of being transferred to the development scenarios of real-time graphics engines, nor do they have the ability to implement spatial map services such as scattered points, scattered point aggregation, thermal, and road conditions. The commonly used projection coordinate system cannot be directly used in the real-time graphics engine.

[0081] The present application provides a solution through a twin base map visualization method, which is applied to the twin base map visualization interface. This method can convert the commonly used projection coordinate system into a coordinate system that can be used by the real-time graphics engine, and display spatial map services such as scattered points, scattered point aggregation, thermal, and road conditions in the twin base map visualization interface.

[0082] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a twin base map visualization device, etc. The following takes the twin base map visualization device as an example to illustrate this embodiment and the following embodiments.

[0083] Based on this, the present application embodiment provides a twin base map visualization method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the twin base map visualization method of the present application.

[0084] In this embodiment, the twin base map visualization method includes steps S10 to S30:

[0085] Step S10, obtaining the first area map coordinate system data from the data source;

[0086] It should be noted that the data source refers to a data set containing geographic coordinate information. These data can come from various sensors, applications or services that provide coordinate data in GCJ02 (National Bureau of Surveying and Mapping Coordinate System) or Baidu Coordinate System (BD09). These coordinate data are used to accurately represent geographic locations in three-dimensional scenes and are the basis for realizing high-precision twin basemap services. Data sources can be static, such as map data stored in a geographic information system (GIS), or dynamic, such as vehicle location information collected by a real-time traffic monitoring system.

[0087] In addition, it should be noted that the coordinate system data of the first area map includes but is not limited to the coordinate system of the National Bureau of Surveying and Mapping of the People's Republic of China (GCJ02), Baidu coordinate system (BD09), Beijing 2000 coordinate system, etc. The above coordinate systems cannot be directly put into the real-time graphics engine for use, and the coordinate system data conversion is required before the coordinate system data can be put into the real-time graphics engine for use.

[0088] Step S20, obtaining scattered point map data and point aggregation map data by converting the first area map coordinate system data;

[0089] It should be noted that a dot map is a type of geographic information chart that represents data by displaying a series of discrete points on a map. These points usually represent specific geographic locations, such as buildings, event locations, sensor locations, etc. Each point can carry additional information, such as color, size, shape, etc., to represent different attributes or categories.

[0090] In addition, it should be noted that the point aggregation chart aggregates multiple data points together and uses a single mark to represent the dense area. The size or color of the aggregation can reflect the number or density of data points. This method can effectively handle a large number of dense data points, making the chart more readable and intuitive. In addition, the scattered point chart and the point aggregation chart can be displayed together. This combined display method can take into account the precise location and overall distribution trend of the data, allowing users to have a more comprehensive understanding of the characteristics of the data. The scattered point chart is used to show the precise location of individual data points and is suitable for viewing the information of specific data points; the point aggregation chart is used to show the distribution of high-density data points and is suitable for viewing the overall trend and density of the data.

[0091] It is understandable that since the GCJ02 coordinate system is a coordinate system unique to China and is used for maps and geographic data services, it has certain deviations from the internationally used WGS84 coordinate system. In this embodiment, it is necessary to obtain conversion parameters, execute conversion algorithms, and perform verification and adjustment steps to convert the coordinate data.

[0092] In a feasible implementation, step S20 may include steps A21 to A29:

[0093] Step A21, obtaining second coordinate system data and third coordinate system data according to the first area map coordinate system data;

[0094] It should be noted that the second coordinate system data in this embodiment represents the BD09 coordinate system data. The BD09 coordinate system is a geographic coordinate system developed by the National Administration of Surveying, Mapping and Geoinformation of China, and is used to represent the geographic location information within China. It is an offset parameter based on the WGS84 (World Geodetic System) coordinate system. The BD09 coordinate system has higher accuracy and applicability than the WGS84 coordinate system.

[0095] In addition, it should be noted that the third coordinate system represents the GCJ02 coordinate system data in this embodiment. GCJ02 (Mars coordinate system) is a geographic coordinate system formulated by the China National Administration of Surveying, Mapping and Geoinformation, which is used to encrypt and offset geographic locations in China to protect geographic information. It is an encrypted coordinate system based on WGS84 (World Geodetic System), mainly used for maps and location services in China to improve the accuracy and security of positioning. The encryption algorithm of the GCJ02 coordinate system is mainly used to protect national security and map copyright, so the GCJ-02 coordinate system is often used in map applications and navigation services in China.

[0096] Step A22, offset adjusting the longitude and latitude of the coordinates in the second coordinate system data respectively;

[0097] It is understandable that due to the different origins, scales, and projections of each coordinate system, directly using data from one coordinate system may result in position errors. These errors can be eliminated through offset adjustment, ensuring that the converted coordinate data is more accurate.

[0098] Step A23, obtaining the straight-line distance from the origin to the coordinates through the longitude and latitude after the offset adjustment;

[0099] It should be noted that the straight-line distance (Z value) is calculated to determine the spatial distance between the adjusted longitude and latitude points and the origin. This is crucial for determining the position of the target point in the new coordinate system.

[0100] In addition, it should be noted that the calculation steps are: Get the adjusted longitude and latitude (x and y): Get the offset-adjusted longitude and latitude from the previous step. Calculate the straight-line distance (Z value): Use the Pythagorean theorem (sqrt(x*x+y*y)) to calculate the straight-line distance from the adjusted point to the origin, subtracting a small correction value (0.00002*sin(y*pi)) to improve accuracy.

[0101] Step A24, obtaining the azimuth from the origin to the coordinates through the longitude, latitude and angle offset after the offset adjustment;

[0102] It should be noted that when performing geographic coordinate system conversion, it is not enough to know only the straight-line distance (Z value), but also the direction of the target point relative to the origin (Theta value). The combination of these two can accurately convert coordinate points from one system to another.

[0103] In addition, it should be noted that the calculation steps are: Get the adjusted longitude and latitude (x and y): Get the offset-adjusted longitude and latitude from the previous step. Calculate the azimuth (Theta value): Use the atan2 function to calculate the arc tangent of y and x (i.e. the azimuth), and subtract a small correction value (0.000003*cos(x*pi)) to improve accuracy.

[0104] Step A25, obtaining the longitude and latitude in the third coordinate system data according to the straight-line distance from the origin to the coordinate and the azimuth from the origin to the coordinate;

[0105] It should be noted that the calculation steps are as follows: Get the Z value and Theta value: From the Z value and Theta value obtained in the previous step, use the Z value and Theta value to calculate the longitude (gcj_lon) and latitude (gcj_lat) in the target coordinate system through the polar coordinate conversion formula (z*cos(theta) and z*sin(theta)).

[0106] Step A26, using the longitude and latitude in the third coordinate system data as initial coordinates;

[0107] It is understandable that the longitude and latitude in the third coordinate system data are used as the initial coordinates, for example: the longitude and latitude coordinates (longitude: 116.407526, latitude: 39.904030) in the third coordinate system data are extracted as the initial coordinates of the coordinate conversion step.

[0108] Step A27, obtaining a relative offset of the third coordinate system with respect to the first coordinate system through the initial coordinates and the offset of the third coordinate system;

[0109] It should be noted that the offset refers to the numerical adjustment that needs to be applied when converting from one coordinate system to another during the coordinate transformation process. This adjustment is to compensate for the difference between the two coordinate systems and ensure that the coordinate point can accurately represent its position in the target coordinate system after the transformation.

[0110] It can be understood that by calculating the relative offset between the initial coordinate system and the target coordinate system, the exact position of the target point relative to the reference coordinate system can be determined. This is very important for accurately converting coordinates from one system to another.

[0111] Step A28, obtaining first coordinate system data according to the relative offset and the initial coordinates;

[0112] It should be noted that the first coordinate system data in this embodiment is the WGS84 coordinate system, which is a globally unified geographic coordinate system that provides high-precision location data and is widely used in various geographic information and navigation systems. Its main features include an ellipsoid model based on the center of the earth, high-precision geographic coordinates, global consistency, and a wide range of applications.

[0113] Step A29, obtaining scattered point graph data and point aggregation graph data according to the first coordinate system data.

[0114] It can be understood that by inputting the WGS84 coordinate system data into the real-time graphics engine, scattered point map data and point aggregation map data corresponding to the WGS84 coordinate system data can be obtained.

[0115] It should be noted that the real-time graphics engine refers to a real-time 3D rendering engine. The real-time graphics engine can implement a 3D rendering engine, integrate a geographic information system, support digital twin technology, and use blueprint visual programming. Through the real-time graphics engine, a highly interactive and visual geographic information system can be built, providing a wealth of spatial data analysis and decision support tools.

[0116] Step S30, in response to the display instruction, the scattered point map data and the point aggregation map data are displayed in the geographic data density display area.

[0117] It should be noted that the display instruction refers to a command or operation that triggers the map display, including but not limited to a command or operation from a user input, a system event, or an automated program, which is not limited in this embodiment.

[0118] In addition, it should be noted that Figure 2 The geographic data density display area shown refers to drawing the point aggregation map data on the same map, using aggregation marks to indicate the high-density areas of the data. It is necessary to comprehensively adjust the transparency, color and other properties of the layer to ensure that the scattered point map and the point aggregation map can be seen at the same time and do not block each other. Ultimately, the map interface will show the superposition effect of the scattered point map and the point aggregation map, allowing users to intuitively see the precise location of the data and the overall distribution trend.

[0119] In the specific implementation process, on the main interface of the application, the user can see a world map. The user enters Shanghai in the search box on the left and presses the Enter key. The map automatically zooms and locates the Shanghai area, displaying a detailed city map. The user drags the mouse on the map to select the specific area where the data needs to be displayed, such as the center of Shanghai. The user can also draw a rectangular box on the map, including landmark areas such as the Bund, Nanjing Road, and Lujiazui, to indicate the data display area selected by the user.

[0120] Users can see a large number of small dots (scattered dots) on the map, each dot represents a specific location, such as a store, restaurant, landmark building, etc., and users can also see some large dots (aggregated dots), which represent data-intensive areas, such as commercial areas, crowded areas, etc. Users can also click on specific dots to view detailed information, such as store name, address, rating, etc. In addition, users can use the mouse wheel to zoom in or out on the map to further view details or overall trends.

[0121] like Figure 2 As shown, Figure 2 It is a specific effect display diagram of geographic data density map. Figure 2 The middle green is the point information, and the number is the number of aggregation points within a certain range. The mouse can be dragged and dropped to achieve point aggregation at different map zoom levels.

[0122] According to the above implementation principle, the numbers are replaced with grid bodies, and the grid heat map can also be displayed in the geographic data density display area, such as Figure 3 As shown, Figure 3 It is a specific effect display diagram of the grid heat map.

[0123] In a feasible implementation, step S30 may include steps S31 to S35:

[0124] Step S31, detecting the display instruction and reading the coordinate system data in the data source;

[0125] It is understandable that the display instructions in actual application scenarios may come from, including but not limited to, smart city management, traffic flow monitoring, environmental monitoring, emergency response, and urban planning. For example, in smart city management, the system may need to display traffic congestion based on real-time traffic monitoring data. At this time, the platform will detect the display instruction and automatically read the coordinate data of the vehicle location information from the data source.

[0126] Step S32, determining whether the coordinate system data is local coordinate system data, and if not, parsing the online coordinate system data to obtain the local coordinate system data;

[0127] It should be noted that when the system detects that the coordinate system data is not local data, it needs to parse the online coordinate system data. Online data usually needs to be format converted and calibrated so that it can be used correctly in the local system. This step ensures that the online data can be correctly parsed and converted into local coordinate system data.

[0128] Step S33, obtaining point information according to the local coordinate system data, and constructing a scattered point map according to the point information of the scattered point map;

[0129] It should be noted that point information refers to data points associated with specific geographic locations, which contain one or more geographic coordinates (longitude and latitude), and sometimes also include altitude information. Point information can represent actual geographic locations, such as buildings, traffic lights, points of interest (POI), event locations, etc., or it can be an abstract geographic coordinate point used for data collection and analysis.

[0130] Step S34, creating an object pool according to the point information of the scattered point map, and constructing a KD tree through the point information of the point aggregation data;

[0131] It should be noted that object pool is an optimization technology that reduces the overhead of memory allocation and release by reusing objects and improves program performance. Building an object pool can significantly improve the efficiency of geographic data processing, especially when processing a large number of geographic data points.

[0132] In this embodiment, step S34 includes steps A31-A32:

[0133] Step A31, initializing an object pool, and creating corresponding objects according to the point information of the scattered point data;

[0134] It should be noted that the object pool is initialized and the corresponding objects are created according to the point information of the scattered point data. The object pool technology can improve the memory utilization efficiency and reduce the overhead of object creation and destruction, thereby improving the system performance and stability. The use of the object pool enables the system to efficiently process and display large-scale geographic data, support high-frequency operations and long-term operation.

[0135] Step A32, constructing a KD tree through a blueprint in a real-time graphics engine according to the point information of the point aggregation data;

[0136] It should be noted that the KD tree (k-dimensional tree) is an efficient spatial index structure suitable for quickly finding and clustering geographic data points. By constructing a KD tree, point aggregation (Cluster) can be quickly achieved, and data points in dense areas can be aggregated into fewer points, thereby optimizing the map display effect and improving the user's visualization experience.

[0137] It is understandable that the KD tree is constructed using the blueprint in the real-time graphics engine to efficiently index and query point aggregation data. Through the KD tree, the query efficiency of geographic data points can be significantly improved, point aggregation and other advanced spatial analysis operations can be supported, the map display effect can be optimized, and the user's visualization experience and system performance can be improved.

[0138] Step S35, obtaining a geographic data density display map according to the object pool and the KD tree, and displaying the geographic data density display map in the geographic data density display area.

[0139] It can be understood that, according to the content of the object pool and the KD tree, the data can be efficiently displayed on the map, and the object pool is used to manage the icons or marks representing vehicles on the map. The object pool pre-allocates a certain number of icon objects, and when it is necessary to display the vehicle density on the map, the object is directly taken out from the object pool for display, instead of creating a new object each time.

[0140] In this embodiment, step S35 includes steps A33 to A35:

[0141] Step A33, obtaining the index corresponding to the point information of the point aggregation data in the KD tree, and the point information of the point aggregation data corresponding to the index;

[0142] It can be understood that the KD tree is an efficient spatial index structure, which can be used to quickly find and cluster geographic data points. By obtaining the index corresponding to the point information of the point aggregation data, each aggregation point can be quickly located. Through the index, the point aggregation data can be organized and managed in an orderly manner, making subsequent data processing and display more efficient. The use of indexes makes it possible to perform fast queries in large-scale data sets, which helps to improve the response speed and performance of the system.

[0143] Step A34, according to the point information of the aggregated data corresponding to the index, obtain the object of the point information of the scattered data corresponding to the index from the object pool, and pass the point information of the aggregated data corresponding to the index to the object of the point information of the scattered data, so that the object of the point information of the scattered data manages the point information of the aggregated data corresponding to the index.

[0144] It is understandable that, through the object pool technology, the created objects can be reused, the overhead of memory allocation and release can be reduced, and the performance and stability of the system can be improved. By passing the point information of the aggregated data to the point information object of the scattered data, the data can be associated and managed, ensuring that each data point can accurately reflect its aggregate information. By managing the point information objects of the scattered data through the object pool, geographic data can be effectively organized and managed, and the efficiency of data processing and display can be improved.

[0145] Step A35, obtaining a geographic data density display map according to the corresponding relationship, and displaying the geographic data density display map in the geographic data density display area.

[0146] It should be noted that a geographic data density display map is generated based on the point information managed by the index and object pool. This display map can intuitively reflect the distribution density of the data and help users understand and analyze geographic data.

[0147] This embodiment provides a twin base map visualization method, which obtains and converts the coordinate system data of the first area map, generates scattered point map and point aggregation map data, uses object pool and KD tree for efficient management and indexing, and displays the geographic data density map in a real-time graphics engine, thereby solving the conversion problem of data in different coordinate systems and realizing efficient and accurate geographic data visualization and analysis.

[0148] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 After the first area map coordinate system data is converted in step S20, the twin base map visualization interface further includes: a heat map display area; the twin base map visualization method further includes steps S40 to S45:

[0149] Reference Figure 4 , Figure 4 This is a flow chart of the second embodiment of the twin base map visualization method of the present application.

[0150] After the step of converting the first area map coordinate system data, the following step is further included:

[0151] Step S40, acquiring point information with thermal weight information and coordinate information according to the first area map coordinate system data;

[0152] It should be noted that the heat weight information indicates the importance or influence of each point in the heat map, which usually reflects the density or intensity of the data. The larger the weight, the more significant the influence of the point in the heat map. For example, in a heat map representing population density, the weight of a point may represent the number of people at that location.

[0153] Step S41, obtaining a grayscale circle with a shadow gradient corresponding to the point according to the coordinate information;

[0154] It should be noted that the grayscale circle with shadow gradient is a circular area, such as Figure 5 As shown, Figure 5 It is a specific effect display diagram of a grayscale circle with a gradient shade, where the color gradually fades from the center to the outside. It is used to represent the influence range of a geographic data point, with the darkest color in the center and gradually fading outward. For example, in a heat map, the location of a store can be represented by a circle with a dark center and the color of the edge of the circle gradually lightens to represent the influence range.

[0155] Step S42, according to different weights of different points, superimpose the grayscale circles with gradient shadows to obtain a grayscale heat map;

[0156] It is understandable that by overlaying points according to different weights of different data, a grayscale heat map is finally generated, such as Figure 6 As shown, Figure 6 It is a specific effect display diagram of the grayscale heat map. The higher the heat, the higher the color opacity.

[0157] Step S43, obtaining different colors by corresponding percentage positions in the gradient palette, and coloring the grayscale heat map according to the transparency of each pixel on the grayscale heat map according to the different colors to obtain a color heat map;

[0158] It should be noted that the color heat map is Figure 7 As shown, Figure 7 It is a specific effect display diagram of the color heat map. This color heat map is a 2D heat map, which uses color changes to represent a variable in different areas, including but not limited to the relative size or concentration of traffic, event frequency, etc. Heat maps usually use gradient colors to represent the high and low data. The darker the color, the higher the variable value in the area.

[0159] It should be noted that the gradient palette is a tool for converting grayscale values ​​into colors, and different grayscale values ​​are mapped to different colors. In this embodiment, points with a grayscale value of 0 are mapped to blue, points with a grayscale value of 255 are mapped to red, and other grayscale values ​​are gradually changed between blue and red.

[0160] Step S44, obtaining the transparency of the grayscale heat map to obtain the pixel height;

[0161] It should be noted that the pixel height represents the height of each pixel in a three-dimensional display. It is usually used to enhance the three-dimensional effect of the heat map. In this embodiment, in the three-dimensional heat map, the area with high population density can be represented as a higher column, while the area with low population density can be represented as a lower column.

[0162] It can be understood that the method for setting the pixel height is: obtain the grayscale image transparency through the material, perform worldposition offset, and set the pixel height.

[0163] Step S45, obtaining a heat map according to the color heat map and the pixel height, and displaying the heat map in a heat map display area.

[0164] In the specific implementation process, for example, in the application scenario of an urban planning company, when the user clicks the display button, the heat map display area immediately displays the following Figure 8 As shown, Figure 8 It is a specific effect display diagram of the heat map, a heat map of traffic flow and population density. Through the heat map, users can clearly see the distribution of traffic flow and population density in different areas. The darker the color and the higher the height, the greater the traffic flow and population density. Users can further zoom in or out of the map, drag to view detailed information of different areas, and click on specific points to view specific traffic values ​​or population numbers. This intuitive visualization helps users quickly identify traffic congestion points and densely populated areas, optimize the layout of public transportation facilities and improve urban infrastructure planning.

[0165] This embodiment adds a heat map display area to the twin base map visualization interface, and combines grayscale circle generation, weight overlay, color mapping, and three-dimensional display to achieve richer and more intuitive geographic data visualization, enabling users to better understand and analyze the density and distribution trends of the data.

[0166] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Fig. 9 After the first area map coordinate system data is converted in step S20, the twin base map visualization interface further includes: a flying line diagram display area; the twin base map visualization method further includes steps S50 to S52:

[0167] Reference Fig. 9 , Fig. 9 This is a flow chart of the third embodiment of the twin base map visualization method of the present application.

[0168] After the step of converting the first area map coordinate system data, the following step is further included:

[0169] Step S50, acquiring point information with coordinate information and weight values ​​according to the first area map coordinate system data;

[0170] It should be noted that the point information with coordinate information and weight value represents the specific location of the geographic data point (coordinate information) and the importance or quantity of the point (weight value). For example, a traffic flow data point includes the longitude, latitude and traffic flow value of the location.

[0171] Step S51, calculating the distance between two points of the flying line according to the coordinate information;

[0172] It is understandable that before realizing the flying line diagram, the coordinates of the two points need to be determined first. The coordinates of the two points can be geographical coordinates with information of longitude and latitude, or can be converted plane coordinates. In this embodiment, the distance between the two points of the flying line is calculated using the Euclidean distance formula.

[0173] Step S52, obtaining a flying line diagram according to the distance between two points of the flying line, the weight value, the height of the flying line, the abscissa of the coordinate information and the ordinate of the coordinate information, and displaying the flying line diagram in a flying line diagram display area.

[0174] It should be noted that a flyline diagram is a visual diagram that shows connecting lines from one point to another, usually representing flow or connection. The height, color, and thickness of the flyline can represent different information. For example, a flight path diagram from one city to another can be a flyline diagram.

[0175] It can be understood that the flying line is realized by the function y=-4m / a^2(xa / 2)^2+m, where m is the height of the flying line, a is the distance between two points, x is the horizontal coordinate, and y is the vertical coordinate. The overall performance is completed by the splineMesh of the real-time graphics engine. The flying line can be expressed in different colors by different weight values ​​of the data, and can generate Fig.10 As shown, Fig.10 It is a specific effect display diagram of the flying line diagram.

[0176] In the specific implementation process, for example, in the urban traffic management system, users input traffic flow data in the central area of ​​Shanghai through the twin base map visualization interface. After the system automatically converts these data, it generates point information containing traffic flow and location. The user clicks the display button, and the fly line diagram display area instantly presents the traffic flow fly line diagram between different areas. The height, color, and thickness of each fly line change dynamically according to the traffic flow data, showing the traffic flow between different roads and areas. Users can clearly see the traffic flow from the city center to the suburbs. The darker the color, the greater the flow, and the height of the fly line represents the flow intensity. By hovering the mouse, users can also view the detailed flow values ​​corresponding to the specific fly line, helping users identify traffic congestion points and high-flow paths, thereby optimizing traffic management and planning decisions.

[0177] This embodiment obtains point information with coordinate information and weight values, calculates the distance between two points on the flying line, and generates and displays a flying line diagram based on the flying line distance, weight value, flying line height and coordinate information. Users can intuitively see the flow and connection between data points, further enhancing the visualization and analysis capabilities of geographic data.

[0178] Based on the first embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 4 After step S30, the twin base map visualization interface further includes: automatically generating a document display area; the twin base map visualization method further includes steps S60 to S61:

[0179] After the step of responding to the display instruction and displaying the scattered point map data and the point aggregation map data in the geographic data density display area, the step further includes:

[0180] Reference Fig.11 , Fig.11 This is a flow chart of the fourth embodiment of the twin base map visualization method of the present application.

[0181] Step S60, when receiving a request to modify a blueprint function in the real-time graphics engine, obtaining a JSON file according to information of the function, so that the front end reads and parses the JSON file;

[0182] It should be noted that in real-time graphics engines, blueprints are a visual scripting language that allows users to implement complex logic and functions through node connections. Blueprint functions are executable units in blueprints that are used to implement specific functions. JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy for people to read and write, and is also easy for machines to parse and generate. JSON files are often used to store and transmit structured data.

[0183] Step S61, based on the parsed JSON data, display the parsed JSON data in the automatically generated document display area according to the information of the function.

[0184] It can be understood that the display process is specifically as follows: the front end parses the data in the JSON file, extracts the information to be displayed, automatically generates a document or report based on the parsed data and the information of the blueprint function, and displays the generated document in the automatically generated document display area for users to view and analyze.

[0185] During the specific implementation process, after viewing the traffic flow scatter map and point aggregation map of the downtown area of ​​Shanghai through the twin base map visualization interface, the user found that the display effect of some high-traffic areas was not clear enough. The user decided to optimize the display effect of these areas by modifying the blueprint function in the real-time graphics engine. He issued a request to modify the blueprint function in the interface, specifying that he wanted to adjust the color and size display ratio of the high-traffic area. After receiving the request, the system generates a JSON file containing new parameters based on the information of the blueprint function and sends it to the front end. After the front end parses the JSON file, it automatically updates the interface display effect, displays the adjusted scatter map and point aggregation map in real time, and generates a detailed document in the automatically generated document display area, recording the modified parameters, specific adjustment content, and updated display effect. This document helps users confirm whether the modification has achieved the expected effect and provides a reference for future optimization.

[0186] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the twin base map visualization method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0187] This application also provides a twin base map visualization method and device, please refer to Fig.12 , the twin base map visualization method device comprises:

[0188] The data source acquisition module 10 is used to acquire the first area map coordinate system data in the data source;

[0189] A coordinate system conversion module 20, configured to obtain first coordinate system data by converting the first area map coordinate system data;

[0190] A data analysis module 30 is used to obtain scattered point graph data and point aggregation graph data according to the first coordinate system data;

[0191] The data display module 40 is used to respond to the display instruction and display the scattered point map data and the point aggregation map data in the geographic data density display area.

[0192] The twin base map visualization device provided in this application adopts the twin base map visualization method in the above embodiment, which can solve the technical problem that the common projection coordinate system cannot be used in the real-time graphics engine to realize high-precision twin base map services. Compared with the prior art, the beneficial effects of the twin base map visualization device provided in this application are the same as the beneficial effects of the twin base map visualization method provided in the above embodiment, and the other technical features in the twin base map visualization device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0193] The present application provides a twin base map visualization device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the twin base map visualization method in the above-mentioned embodiment one.

[0194] Reference below Fig.13, which shows a schematic diagram of the structure of a twin base map visualization device suitable for implementing the embodiment of the present application. The twin base map visualization device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.13 The twin base map visualization device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0195] like Fig.13 As shown, the twin base map visualization device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the twin base map visualization device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the twin base map visualization device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a twin base map visualization device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0196] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0197] The twin base map visualization device provided by this application adopts the twin base map visualization method in the above embodiment, which can solve the technical problem that the common projection coordinate system cannot be used in the real-time graphics engine to realize high-precision twin base map services. Compared with the prior art, the beneficial effects of the twin base map visualization device provided by this application are the same as the beneficial effects of the twin base map visualization method provided by the above embodiment, and the other technical features in the twin base map visualization device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0198] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0199] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0200] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the twin base map visualization method in the above-mentioned embodiment.

[0201] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0202] The above-mentioned computer-readable storage medium may be included in the twin base map visualization device; or it may exist independently without being assembled into the twin base map visualization device.

[0203] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the twin base map visualization device, the twin base map visualization device: obtains the first area map coordinate system data in the data source;

[0204] By converting the first area map coordinate system data, scattered point map data and point aggregation map data are obtained;

[0205] In response to the display instruction, the scattered point map data and the point aggregation map data are displayed in the geographic data density display area.

[0206] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0207] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0208] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0209] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned twin base map visualization method, and can solve the technical problem that the common projection coordinate system cannot be used in the real-time graphics engine to realize high-precision twin base map services. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the twin base map visualization method provided in the above-mentioned embodiment, and will not be repeated here.

[0210] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the twin base map visualization method as described above.

[0211] The computer program product provided by this application can solve the technical problem that a common projection coordinate system cannot be used in a real-time graphics engine to implement a high-precision twin base map service. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as those of the twin base map visualization method provided in the above embodiment, and will not be elaborated here.

[0212] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A twin base map visualization method, the method is applied to a twin base map visualization interface, the interface includes a geographic data density display area, characterized in that: The method includes: Obtain the map coordinate system data of the first area in the data source; By converting the first area map coordinate system data, scattered point map data and point aggregation map data are obtained; In response to the display instruction, the scattered point map data and the point aggregation map data are displayed in the geographic data density display area.

2. The method according to claim 1, characterized in that The step of displaying the scattered point map data and the point aggregation map data in the geographic data density display area in response to the display instruction includes: The display instruction is detected, and coordinate system data in the data source is read; Determine whether the coordinate system data is local coordinate system data, and if not, parse the online coordinate system data to obtain the local coordinate system data; According to the local coordinate system data, point information is obtained, and a scattered point map is constructed according to the point information of the scattered point map; Creating an object pool according to the point information of the scattered point map, and constructing a KD tree through the point information of the point aggregation data; A geographic data density display map is obtained according to the object pool and the KD tree, and the geographic data density display map is displayed in a geographic data density display area.

3. The method according to claim 2, characterized in that The step of creating an object pool according to the point information of the scattered point map and constructing a KD tree through the point information of the point aggregation data includes: Initialize the object pool and create corresponding objects according to the point information of the scattered point data; According to the point information of the point aggregation data, a KD tree is constructed through a blueprint in a real-time graphics engine; The step of obtaining a geographic data density display map according to the object pool and the KD tree, and displaying the geographic data density display map in the geographic data density display area comprises: Obtaining the index corresponding to the point information of the point aggregation data in the KD tree, and the point information of the point aggregation data corresponding to the index; According to the point information of the aggregated data corresponding to the index, an object of the point information of the scattered point data corresponding to the index is obtained from the object pool, and the point information of the aggregated data corresponding to the index is passed to the object of the point information of the scattered point data, so that the object of the point information of the scattered point data manages the point information of the aggregated data corresponding to the index; A geographic data density display map is obtained according to the corresponding relationship, and the geographic data density display map is displayed in the geographic data density display area.

4. The method according to claim 1, characterized in that The twin base map visualization interface also includes: a heat map display area; After the step of converting the first area map coordinate system data, the following step is further included: According to the coordinate system data of the map of the first area, obtaining point information with thermal weight information and coordinate information; According to the coordinate information, a grayscale circle with a shadow gradient corresponding to the point is obtained; According to different weights of different points, the grayscale circles with gradient shadows are superimposed to obtain a grayscale heat map; Different colors are obtained by corresponding percentage positions in the gradient palette, and the grayscale heat map is colored according to the transparency of each pixel on the grayscale heat map according to the different colors to obtain a color heat map; Obtaining the transparency of the grayscale heat map to obtain pixel height; A heat map is obtained according to the color heat map and the pixel height, and the heat map is displayed in a heat map display area.

5. The method according to claim 1, characterized in that The twin base map visualization interface also includes: a flying line diagram display area; After the step of converting the first area map coordinate system data, the following step is further included: According to the coordinate system data of the map of the first area, obtaining point information with coordinate information and weight values; Calculate the distance between two points on the flying line according to the coordinate information; A flying line diagram is obtained according to the distance between two points of the flying line, the weight value, the height of the flying line, the abscissa of the coordinate information and the ordinate of the coordinate information, and the flying line diagram is displayed in a flying line diagram display area.

6. The method according to claim 1, characterized in that The step of obtaining scattered point map data and point aggregation map data by converting the first area map coordinate system data comprises: According to the first area map coordinate system data, obtain the second coordinate system data and the third coordinate system data; The longitude and latitude of the coordinates in the second coordinate system data are offset adjusted respectively; Obtaining the straight-line distance from the origin to the coordinates through the longitude and latitude adjusted by the offset; Obtaining the azimuth from the origin to the coordinates through the longitude, latitude and angle offset after the offset adjustment; Obtaining the longitude and latitude in the third coordinate system data according to the straight-line distance from the origin to the coordinate and the azimuth from the origin to the coordinate; Taking the longitude and latitude in the third coordinate system data as initial coordinates; Obtaining a relative offset of the third coordinate system relative to the first coordinate system through the initial coordinates and the offset of the third coordinate system; Obtaining first coordinate system data according to the relative offset and the initial coordinates; According to the first coordinate system data, scattered point graph data and point aggregation graph data are obtained.

7. The method according to claim 1, characterized in that The twin base map visualization interface also includes: automatically generating a document display area: After the step of responding to the display instruction and displaying the scattered point map data and the point aggregation map data in the geographic data density display area, the step further includes: When receiving a request to modify a blueprint function in a real-time graphics engine, obtaining a JSON file according to information of the function, so that the front end reads and parses the JSON file; According to the parsed JSON data, the parsed JSON data is displayed in the automatically generated document display area according to the information of the function.

8. A twin base map visualization device, characterized in that: The device comprises: A data source acquisition module, used to acquire the first area map coordinate system data in the data source; A coordinate system conversion module, used for obtaining first coordinate system data by converting the first area map coordinate system data; A data analysis module, for obtaining scattered point graph data and point aggregation graph data according to the first coordinate system data; The data display module is used to respond to the display instruction and display the scattered point map data and the point aggregation map data in the geographic data density display area.

9. A twin base map visualization device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the twin base map visualization method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the twin base map visualization method as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Coordinate system repositioning method and system of game engine and server

    CN115591247A

  • Three-dimensional visualization engine system based on digital twin engine and OGC standard

    CN117218306A

  • Electric power display data optimization method and system based on digital twinning

    CN117784980A

  • Parking control system using a kiosk in an apartment building

    KR1020240141490A

  • Technology configured to provide user interface visualisation of agricultural land, including 3D visualized modelling of an agricultural land region based on flow, hybridized multiple resolution visualisation and / or automated field segregation

    WO2021134114A1

Cited By

  • Cross-platform three-dimensional map thermodynamic diagram generation method

    CN119474243A