Three-dimensional visualization rendering method for geographic big data

文档序号:1923236 发布日期:2021-12-03 浏览:28次 中文

阅读说明:本技术 一种地理大数据三维可视化渲染方法 (Three-dimensional visualization rendering method for geographic big data ) 是由 郭杰 张载龙 何鸿飞 于 2021-08-27 设计创作,主要内容包括:本发明涉及可视化渲染技术领域,且公开了一种地理大数据三维可视化渲染方法,步骤一:将地图可视区域进行分层,使得地图可视区域分为至少二个层级以上的数据层,每个数据层根据自身的经纬度坐标定位,每个数据层的表示编号为S1、S2、S3...Sn;步骤二:对每个数据层的自身数据进行先分析、后筛选处理;步骤三:将每个数据层的数据分别调取出并加载至数据储存单元中;步骤四:将数据储存单元中的每个数据层对应的数据进行渲染处理,且数据渲染单元对每个数据层进行一对一的渲染。该地理大数据三维可视化渲染方法,无需直接将地理位置的数据进行调取,缩短了数据储存和污染的时间,从而提升了海量地理位置数据的渲染效率。(The invention relates to the technical field of visualization rendering, and discloses a three-dimensional visualization rendering method for geographic big data, which comprises the following steps: layering a map visual area to enable the map visual area to be divided into at least two data layers with more than two levels, wherein each data layer is positioned according to longitude and latitude coordinates of the data layer, and the representation numbers of each data layer are S1, S2 and S3.. Sn; step two: firstly analyzing and then screening the data of each data layer; step three: respectively calling out and loading data of each data layer into a data storage unit; step four: and rendering the data corresponding to each data layer in the data storage unit, wherein the data rendering unit renders each data layer one by one. According to the three-dimensional visualization rendering method for the geographic big data, the data of the geographic position does not need to be directly called, the data storage and pollution time is shortened, and therefore the rendering efficiency of mass geographic position data is improved.)

1. A three-dimensional visualization rendering method for geographic big data is characterized by comprising the following specific steps:

the method comprises the following steps: layering a map visual area to enable the map visual area to be divided into at least two data layers with more than two levels, wherein each data layer is positioned according to longitude and latitude coordinates of the data layer, and the representation numbers of each data layer are S1, S2 and S3.. Sn;

step two: data processing, namely analyzing and screening the data of each data layer, and rearranging the data of each data layer in order after the data is processed;

step three: establishing a calling engine of a data layer, calling and loading data of each data layer into a data storage unit respectively, wherein the data storage unit comprises a first cache region, a second cache region and a third cache region, the second cache region provides a supplementary storage function for the first cache region, the third cache region provides a supplementary storage function for the second cache region, and the first cache region, the second cache region and the third cache region are connected through an automatic switching unit;

step four: establishing a data rendering unit, rendering data corresponding to each data layer in the data storage unit, and performing one-to-one rendering on each data layer by the data rendering unit, so as to finally realize three-dimensional visualization of the data object;

step five: and outputting and displaying, namely integrating each rendered data layer and outputting the integrated data layer to a set page for displaying.

2. The three-dimensional visualization rendering method for the geographic big data according to claim 1, wherein: the longitude and latitude representation mode of the data layer in the first step is represented by degree second, for example: -49 ° 30'00"-49d30m00 s.

3. The three-dimensional visualization rendering method for the geographic big data according to claim 1, wherein: and in the second step, the analysis target of each data layer is the self longitude and latitude coordinate of each data layer, whether the self longitude and latitude coordinate of each data layer has errors or missing phenomenon is analyzed, if the self longitude and latitude coordinate of each data layer has the coordinate errors or the missing phenomenon, the data layer is directly removed and screened, and the screened data layers are arranged in a reorder manner.

4. The three-dimensional visualization rendering method for the geographic big data according to claim 1, wherein: when the retrieval engine in step three retrieves and stores the data of the data layers, the data representation of each data layer is longer, and the retrieval engine mainly retrieves the label corresponding to each data layer, and the storage mode of the data storage unit is also to store the label corresponding to each data layer.

5. The three-dimensional visualization rendering method for the geographic big data according to claim 1, wherein: the data rendering unit in the fourth step comprises a data request module, a data rendering module and a drawing export module, wherein the data request module sends an extraction request to data in a first cache region, a second cache region or a third cache region in the data storage unit, the data rendering module performs attribute sorting on extracted data parameters, renders each attribute data according to the sorting, and draws, combines and exports the data of the data layer by a drawing export module in a visual graph.

6. The three-dimensional visualization rendering method for the geographic big data according to claim 1, wherein: and the equipment displayed in the fifth step is a computer display screen or a public place display screen.

Technical Field

The invention relates to the technical field of visualization rendering, in particular to a three-dimensional visualization rendering method for geographic big data.

Background

With the rapid development of the internet in recent years, more and more applications for displaying geographic position information adopt a B/S (browser/Server) framework, and a browser is adopted as a display window at a display end. When the position information of mass data needs to be rendered at the same time, the rendering performance is greatly limited by the natural single-thread running characteristic of the browser, so that the rendering is slow and unsmooth.

With a patent number CN111192339A, a method for rendering geographical location data is disclosed, which comprises the following steps: dividing a map visual area into a plurality of grids with preset sizes, and creating canvas of a display layer for each grid;

distributing each geographic position data to the data storage object of each grid according to the longitude and latitude coordinates of the geographic position data;

starting at least one front-end working thread, transmitting the off-screen object corresponding to the canvas into the front-end working thread, and transmitting the data storage object of each grid into the front-end working thread;

the front-end working thread renders data to the off-screen object through predefined data processing and graphic rendering logic, and images rendered on the off-screen object are automatically synchronized to the canvas of the display layer and then are displayed on a graphic interface.

In the above scheme, since the data amount of the geographic location is large, a certain time is required to be consumed when the data is processed or stored, and if the data amount is large, the time is long, the rendering of the data is slow, and the phenomenon of stuttering is easy to occur. Therefore, the invention provides a three-dimensional visualization rendering method for geographic big data.

Disclosure of Invention

Technical problem to be solved

Aiming at the defects of the prior art, the invention provides a three-dimensional visualization rendering method for geographic big data, which does not need to directly call data of a geographic position, shortens the time for storing and polluting the data, thereby improving the rendering efficiency of massive geographic position data, and solves the problems that certain time is consumed when the data is processed or stored due to large data amount of the geographic position in the prior art, if the data amount is larger, the consumed time is longer, the rendering of the data is slow, and the phenomenon of blocking is easy to occur.

(II) technical scheme

In order to achieve the purpose, the invention provides the following technical scheme: a three-dimensional visualization rendering method for geographic big data comprises the following specific steps:

the method comprises the following steps: layering a map visual area to enable the map visual area to be divided into at least two data layers with more than two levels, wherein each data layer is positioned according to longitude and latitude coordinates of the data layer, and the representation numbers of each data layer are S1, S2 and S3.. Sn;

step two: data processing, namely analyzing and screening the data of each data layer, and rearranging the data of each data layer in order after the data is processed;

step three: establishing a calling engine of a data layer, calling and loading data of each data layer into a data storage unit respectively, wherein the data storage unit comprises a first cache region, a second cache region and a third cache region, the second cache region provides a supplementary storage function for the first cache region, the third cache region provides a supplementary storage function for the second cache region, and the first cache region, the second cache region and the third cache region are connected through an automatic switching unit;

step four: establishing a data rendering unit, rendering data corresponding to each data layer in the data storage unit, and performing one-to-one rendering on each data layer by the data rendering unit, so as to finally realize three-dimensional visualization of the data object;

step five: and outputting and displaying, namely integrating each rendered data layer and outputting the integrated data layer to a set page for displaying.

Preferably, the longitude and latitude of the data layer in the first step are represented in degree-second, for example: -49 ° 30'00"-49d30m00 s.

Preferably, in the second step, the analysis target of each data layer is the longitude and latitude coordinate of each data layer, whether the longitude and latitude coordinate of each data layer has an error or omission is analyzed, if the longitude and latitude coordinate of each data layer has the coordinate error or omission, the data layer is directly removed and screened, and the screened data layers are arranged in order again.

Preferably, when the retrieval engine in step three retrieves and stores the data of the data layers, since the data representation of each data layer is longer, the retrieval engine mainly retrieves the label corresponding to each data layer, and the storage manner of the data storage unit is also to store the label corresponding to each data layer.

Preferably, the data rendering unit in the fourth step includes a data request module, a data rendering module, and a rendering export module, where the data request module sends an extraction request to data in a first cache region, a second cache region, or a third cache region in the data storage unit, the data rendering module performs attribute sorting on the extracted data parameters, renders each attribute data according to the sorting, and then renders and combines the data in the data layer by the rendering export module and exports the data in the visual graph.

Preferably, the device displayed in the fifth step is a computer display screen or a public place display screen.

(III) advantageous effects

Compared with the prior art, the invention provides a three-dimensional visualization rendering method for geographic big data, which has the following beneficial effects:

1. according to the three-dimensional visualization rendering method for the geographic big data, the coordinates of the geographic position are marked in a numbering mode in the step one, the time for storing and calling the data is shortened, and the data accuracy of the geographic position is ensured by performing first analysis and then screening processing on the data of each data layer in the step two.

2. According to the three-dimensional visualization rendering method for the geographic big data, sufficient preparation is made for storage of mass data through three cache regions of the data storage unit in the third step, and therefore the phenomenon of insufficient storage space is avoided.

3. According to the three-dimensional visualization rendering method for the geographic big data, the data rendering unit in the step four is used for rendering each data layer one by one, so that the rendering efficiency of the geographic data layer is improved, and the rendering efficiency of mass data can be improved.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

A three-dimensional visualization rendering method for geographic big data comprises the following specific steps:

the method comprises the following steps: layering a map visual area to enable the map visual area to be divided into at least two data layers with more than two levels, wherein each data layer is positioned according to longitude and latitude coordinates of the data layer, and the representation numbers of each data layer are S1, S2 and S3.. Sn;

step two: data processing, namely analyzing and screening the data of each data layer, and rearranging the data of each data layer in order after the data processing is finished;

step three: establishing a calling engine of a data layer, calling and loading data of each data layer into a data storage unit respectively, wherein the data storage unit comprises a first cache region, a second cache region and a third cache region, the second cache region provides a supplementary storage function for the first cache region, the third cache region provides a supplementary storage function for the second cache region, and the first cache region, the second cache region and the third cache region are connected through an automatic switching unit;

step four: establishing a data rendering unit, rendering data corresponding to each data layer in the data storage unit, and performing one-to-one rendering on each data layer by the data rendering unit to finally realize three-dimensional visualization of the data object;

step five: and outputting and displaying, namely integrating the rendered data layers and outputting the integrated data layers to a set page for displaying.

The longitude and latitude representation mode of the data layer in the first step is represented by degree second, for example: -49 ° 30'00"-49d30m00 s.

And step two, analyzing the longitude and latitude coordinates of each data layer as the analysis target of each data layer, analyzing whether the longitude and latitude coordinates of each data layer have errors or missing phenomena, if the coordinate errors or the missing phenomena exist, directly removing and screening the data layer, and rearranging the screened data layers in order.

When the retrieval engine in step three retrieves and stores the data of the data layers, the data representation of each data layer is long, and the retrieval engine mainly retrieves the label corresponding to each data layer, and the storage mode of the data storage unit also stores the label corresponding to each data layer.

The data rendering unit in the fourth step comprises a data request module, a data rendering module and a drawing export module, wherein the data request module sends an extraction request to data in a first cache region, a second cache region or a third cache region in the data storage unit, the data rendering module performs attribute sorting on extracted data parameters, renders each attribute data according to the sorting, and draws and combines the data of the data layer through the drawing export module and exports the data in a visual graph.

And the equipment displayed in the fifth step is a computer display screen or a public place display screen.

In conclusion, when the three-dimensional visualization rendering method for the geographic big data is used, the coordinates of the geographic position are marked in a numbering mode in the step one, the time for storing and calling the data is shortened, and the data accuracy of the geographic position is ensured by performing first analysis and then screening processing on the data of each data layer in the step two; through the three cache regions of the data storage unit in the third step, sufficient preparation is made for the storage of mass data, so that the phenomenon of insufficient storage space cannot occur; and performing one-to-one rendering on each data layer by the data rendering unit in the fourth step, so that the rendering efficiency of the geographic data layer is improved, and the efficiency of mass data rendering can be improved.

It is to be noted that the term "comprises," "comprising," or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:道路数据的处理方法、装置和电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!