CN103268221B - A kind of meteorological data body 3 D displaying method based on WEB technology and device - Google Patents
A kind of meteorological data body 3 D displaying method based on WEB technology and device Download PDFInfo
- Publication number
- CN103268221B CN103268221B CN201210525774.7A CN201210525774A CN103268221B CN 103268221 B CN103268221 B CN 103268221B CN 201210525774 A CN201210525774 A CN 201210525774A CN 103268221 B CN103268221 B CN 103268221B
- Authority
- CN
- China
- Prior art keywords
- data
- meteorological data
- scene
- meteorological
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Abstract
The invention provides a kind of method and apparatus that magnanimity meteorological data is carried out high body subdivision three-dimensional display true to nature by Internet technology in WEB client side, change over and only process the low volume datas such as observatory data, only carry out laid out flat or the situation of vacation three-dimensional display on a single computer.Including step: S1, meteorological data to be presented is carried out pretreatment;S2, is optimized pretreated meteorological data, and is delivered on WEB server end by the data dynamic push optimized;S3, exports WEB client side by the three-dimensional meteorological data on described WEB server end and carries out body three-dimensional display.Thus, quickly process magnanimity allos isomery meteorological data, including observatory data, satellite Retrieval data, numerical forecast data etc., the meteorological data after utilizing the correlation techniques such as the Internet transmission to optimize carries out three dimensional stress process in WEB client side and shows.
Description
Technical field
The present invention relates to process meteorological data field, particularly relate to a kind of meteorological data body three-dimensional based on WEB technology and show
Show method and device.
Background technology
Meteorological data includes observatory data, satellite Retrieval data, numerical forecast data etc., and its content includes atmospheric moisture
The multiple climatic elements such as degree, air pressure, temperature, air water temperature profile, cloud amount, precipitation, solar radiation.The expression way of data, group
Knit form, spatial and temporal resolution different, this just unified display for meteorological data bring difficulty.Meanwhile, along with seeing over the ground
The development of survey technology, the meteorological measuring obtained by satellite is got more and more, and the data that every day obtains reach TB level, and people compel
The meteorological data needing to be browsed by day by day flourishing Internet technology and accessed such magnanimity cut, to for oneself day
Often life and trip service.It addition, in the various aspects of meteorological data application, such as scientific research, government emergency Disaster relief countermeasure, gas
As popularization of knowledge, public user experience etc., past that tone is single, data type is single, the situation of laid out flat has been got over
More it is difficult to meet demand, has increasing need for the three-dimensional display effect that height is true to nature, body subdivision, actuality are strong.
Summary of the invention
The invention provides one and magnanimity meteorological data is carried out high body true to nature by Internet technology in WEB client side
The method and apparatus of subdivision three-dimensional display, changes over and only processes the low volume datas such as observatory data, only in single calculating
The enterprising parallel planes of machine is shown or the situation of false three-dimensional display.This patent for meteorological department's sector application, widen meteorological data
Service field is significant.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of meteorological data body 3 D displaying method based on WEB technology, comprises the following steps:
S1, carries out pretreatment by meteorological data to be presented;
S2, is optimized pretreated meteorological data, and the data dynamic push optimized is delivered to WEB server end
On;
S3, exports WEB client side by the three-dimensional meteorological data on described WEB server end and carries out body three-dimensional display.
Preferably, described in S1, pretreatment includes: carry out original meteorological data at format conversion processing, projective transformation
Reason, data consistency checks;Optimize described in S2 and include: pretreated meteorological data is carried out resampling, layering, piecemeal;
Output described in S3 includes: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer side
The body three-dimensional expression method of method, the progressive rendering method of LOD Multi-details layer model and Hedgehog method, the meteorology after optimizing
Data display is in WEB client side.
Preferably, S2 particularly as follows:
S21, carries out repeatedly resampling to described result data, forms the multilamellar difference resolution being directed to same range image
The pyramid structure of rate;
S22, uses dynamic self-adapting partition strategy, and image described to each layer carries out piecemeal process;Obtain climatic elements
Data block;
S23, data-pushing resampling, layering and piecemeal processed also is stored in WEB server.
Preferably, described dynamic self-adapting partition strategy particularly as follows:
If V={v1, v2... vnIt it is plane R2One group of finite point set in interior a certain plane domain D, by presetting threshold of counting
After plane domain D is carried out dividing ∑ by value, obtain the set R={R of a plane subdomain1, R2..., Rn, to each plane
Territory Ri, record discrete points data and the some sum of this subdomain, record four angular coordinates of each subdomain simultaneously, i.e. obtain each
The data value of sub-block.
Preferably, the minimum data that described default threshold value of counting is allowed by each sub-block is counted.
Preferably, described four angular coordinates are respectively as follows:
LeftUpX, LeftUpY, RightBottomX, RightBottomY.
Preferably, S3 particularly as follows:
S31, uses progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method treating
Display meteorological data is cached to WEB client side and uses following methods to be displayed;
S32, uses field data tissue model based on node and figure layer, simplifies scene management;
S33, integrated use pyramid data based on linear quadtree compression storage strategy, multi-resolution models, based on
The scene simplification method of LOD and matching process based on " skeleton+skin ", simplify, accelerate the drafting of three-dimensional scenic;
S34, uses " scene based on observability buffering loads management " method to carry out the drafting of scene, and application simultaneously is dynamically
Loading method optimization is loaded into speed, thus realizes parallel loading;
S35, utilizes quaternary tree data structure to be indicated the climatic elements in scene, and in tree, each node covers
Region corresponding in described climatic elements, dynamically selects climatic elements node to realize on the basis of meeting default error threshold
The Continuous Multiresolution of climatic elements model is represented;
S36, uses the body three-dimensional expression method of Hedgehog method, described meteorological data is displayed;
Wherein, the execution sequence of S32-S36 is in no particular order.
Preferably, S35 particularly as follows:
To whole world subdivision, calculate climatic elements belonging positions according to scene mesoclimate key element location and set up
Chain table index, forming position inquiry table;
If climatic elements number exceedes predetermined threshold value in every piece of scene, then climatic elements is segmented, until number is less than
Till described predetermined threshold value or segmentation level are more than presetting level threshold value;So that whole scene is organized into n fork tree, whole scene
For root node, climatic elements is intermediate node;
When scene dynamics is roamed, it is directly targeted to certain scene, then according to target according to described position enquiring table
Belonging to point, the difference of block, is linked in new block node.
Preferably, further comprising the steps of in S3:
For each quadtree's node meeting error threshold, point to father node using diagonal angle partition patterns as from four angle points
Center;The network forming of quaternary tree is attributed to and directly carries out diagonal angle subdivision form and retain midpoint form;And retain midpoint
Mode is divided into four kinds of basic representations.
A kind of meteorological data body three-dimensional display apparatus based on WEB technology, including:
Meteorological data pretreatment unit, for carrying out pretreatment by meteorological data to be presented;Described pretreatment includes: to former
Beginning meteorological data carries out format conversion processing, projective transformation process, data consistency checks;
Meteorological data optimizes device, for pretreated meteorological data is optimized process, and the number that will optimize
Deliver on WEB server end according to dynamic push;Described optimization includes: pretreated meteorological data is carried out resampling, be layered, point
Block;
Meteorological data output exhibiting device, for exporting WEB visitor by the three-dimensional meteorological data on described WEB server end
Family end is shown, described output includes: uses progressive transmission method, data tissue and compression method, download balance method, multistage delay
Deposit method, the progressive rendering method of LOD Multi-details layer model and Hedgehog method body three-dimensional expression method will optimize after
Meteorological data is showed in WEB client side.
The invention has the beneficial effects as follows:
Pass through technical scheme, it is possible to quickly process magnanimity allos isomery meteorological data, see including the station
Survey data, satellite Retrieval data, numerical forecast data etc., the meteorological data after utilizing the correlation techniques such as the Internet transmission to optimize
Carry out three dimensional stress process in WEB client side and show, different department and the public can be made to pass through internet access easily
With browse meteorological data, high body three-dimensional display effect true to nature can give user good visual experience, has the most significantly expanded gas
The application of image data.Meanwhile, technical scheme, processing procedure substantially reduces the process time, improves
Treatment effeciency.
Accompanying drawing explanation
Fig. 1 is the image pyramid model schematic after piecemeal;
Fig. 2 is quaternary tree data structure schematic diagram;
Fig. 3 is " crack " phenomenon schematic diagram;
Fig. 4 is diagonal angle subdivision schematic diagram;
Fig. 5 is a kind of form of diagonal angle subdivision: directly diagonal angle subdivision;
Fig. 6 is the another kind of form of diagonal angle subdivision: retain midpoint subdivision;
Fig. 7 is the structural representation of the meteorological data body three-dimensional display apparatus based on WEB technology of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the present invention is entered
Row further describes.Should be appreciated that detailed description of the invention described herein, only in order to explain the present invention, is not used to
Limit the present invention.
As shown in figs 1 to 6, the invention discloses a kind of meteorological data body 3 D displaying method based on WEB technology, its
It is characterised by, comprises the following steps:
S1, carries out pretreatment by meteorological data to be presented;Described pretreatment includes: original meteorological data is carried out form and turns
Change process, projective transformation process, data consistency checks;
S2, is optimized pretreated meteorological data, and the data dynamic push optimized is delivered to WEB server end
On;Described optimization includes: pretreated meteorological data is carried out resampling, layering, piecemeal;
S2 particularly as follows:
S21, carries out repeatedly resampling to described result data, forms the multilamellar difference resolution being directed to same range image
The pyramid structure of rate;
S22, uses dynamic self-adapting partition strategy, and image described to each layer carries out piecemeal process;Obtain climatic model
Data block;
S23, data-pushing resampling, layering and piecemeal processed also is stored in WEB server.
Described dynamic self-adapting partition strategy particularly as follows:
If V={v1, v2... vnIt it is plane R2One group of finite point set in interior a certain plane domain D, by presetting threshold of counting
After plane domain D is carried out dividing ∑ by value, obtain the set R={R of a plane subdomain1, R2..., Rn, to each plane
Territory Ri, record discrete points data and the some sum of this subdomain, record four angular coordinates of each subdomain simultaneously, i.e. obtain each
The data value of sub-block.
The minimum data that described default threshold value of counting is allowed by each sub-block is counted.
Described four angular coordinates are respectively as follows: LeftUpX, LeftUpY, RightBottomX, RightBottomY.
S3, exports WEB client side by the three-dimensional meteorological data on described WEB server end and carries out body three-dimensional display, institute
State output to include: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method, LOD
The progressive rendering method of Multi-details layer model and the body three-dimensional expression method of Hedgehog method, the meteorological data exhibition after optimizing
It is shown in WEB client side.
S3 particularly as follows:
S31, uses progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method treating
Display meteorological data is cached to WEB client side and uses following methods to be displayed;
S32, uses field data tissue model based on node and figure layer, simplifies scene management;
S33, integrated use pyramid data based on linear quadtree compression storage strategy, multi-resolution models, based on
The scene simplification method of LOD and matching process based on " skeleton+skin ", simplify, accelerate the drafting of three-dimensional scenic;
S34, uses " scene based on observability buffering loads management " method to carry out the drafting of scene, and application simultaneously is dynamically
Loading method optimization is loaded into speed, thus realizes parallel loading;
S35, utilizes quaternary tree data structure to be indicated the climatic elements in scene, and in tree, each node covers
Region corresponding in described climatic elements, dynamically selects climatic elements node to realize on the basis of meeting default error threshold
The Continuous Multiresolution of climatic elements model is represented;
S35 particularly as follows:
To whole world subdivision, calculate climatic elements belonging positions according to scene mesoclimate key element location and set up
Chain table index, forming position inquiry table;
If climatic elements number exceedes predetermined threshold value in every piece of scene, then climatic elements is segmented, until number is less than
Till described predetermined threshold value or segmentation level are more than presetting level threshold value;So that whole scene is organized into n fork tree, whole scene
For root node, climatic elements is intermediate node;
When scene dynamics is roamed, it is directly targeted to certain scene, then according to target according to described position enquiring table
Belonging to point, the difference of block, is linked in new block node.
S36, uses the body three-dimensional expression method of Hedgehog method, described meteorological data is displayed;
Wherein, the execution sequence of S32-S36 is in no particular order.
In S3 further comprising the steps of:
For each quadtree's node meeting error threshold, point to father node using diagonal angle partition patterns as from four angle points
Center;The network forming of quaternary tree is attributed to and directly carries out diagonal angle subdivision form and retain midpoint form;And retain midpoint
Mode is divided into four kinds of basic representations.
The invention also discloses a kind of meteorological data body three-dimensional display apparatus based on WEB technology, including:
Meteorological data pretreatment unit, for carrying out pretreatment by meteorological data to be presented;Described pretreatment includes: to former
Beginning meteorological data carries out format conversion processing, projective transformation process, data consistency checks;
Meteorological data optimizes device, for pretreated meteorological data is optimized process, and the number that will optimize
Deliver on WEB server end according to dynamic push;Described optimization includes: pretreated meteorological data is carried out resampling, be layered, point
Block;
Meteorological data output exhibiting device, for exporting WEB visitor by the three-dimensional meteorological data on described WEB server end
Family end is shown, described output includes: uses progressive transmission method, data tissue and compression method, download balance method, multistage delay
Deposit method, the progressive rendering method of LOD Multi-details layer model and Hedgehog method body three-dimensional expression method will optimize after
Meteorological data is showed in WEB client side.
In order to realize (including ground based observa tion data, satellite Retrieval data, pattern simulation data for magnanimity meteorological data
Deng), carrying out three dimensional stress shows, thus applies the purpose of departmental service about scientific research department and the public for meteorology.Especially by with
Meteorological data is processed by under type:
1) Method of Data Organization of climatic elements:
When data process, it is common that all data are disposably read in internal memory and processes.When data volume is smaller
In the case of, this processing method is simply effective, and processing speed ratio is very fast.But, when data volume is very big, such as resolution 1KM
, if disposably reading in internal memory, often there is Insufficient memory in global remote sensing data, and computer resource exhausts, and even crashes
Etc. phenomenon.In order to solve this contradiction, Volume data is carried out certain process.In the vertical, use pyramidal
Hierarchy.In the horizontal, use automatic Partitioning and quickly search technology.
(1) the data hierarchy method of climatic elements
In the vertical, need climatic elements result data is generated image pyramid, require to call according to different displays
The image of different resolution.Pyramidal constructive method is as the pyramidal bottom using climatic elements data, by gas
Wait factor data and use certain method for resampling, it is established that the image of a series of different detailed degree, wherein raw video is differentiated
Rate is the highest, and the image resolution obtained through resampling is gradually lowered along with the increase resolution of the pyramid number of plies, but the model represented
Enclose constant.Image pyramid model after piecemeal is as shown in Figure 1.
(2) the self adaptation partition strategy of climatic elements result data
When data volume is excessive, it is contemplated that self adaptation partition.Data are divided into different data blocks
(DataBlock), the size of its data block can be identical, it is also possible to different.According to the syntopy between block and block, Ke Yifen
For structuring block, destructuring block and hybridization block three major types.Structuring block can call the turn Multidimensional numerical storage, block with machine word
Can be determined by corresponding array index with the syntopy between block, data tissue is convenient on computers[11];Non-structural
Change block and need additionally to specify syntopy, for the splicing between block and block.Hybridization block is structuring block and destructuring block
Combination.
When using partition, can be potentially encountered two problems.I.e. according to what principle, data are carried out piecemeal, often
The size of block should be how many?Second, display or roaming time, it should take what strategy by different block automatic Mosaics,
User is made to can't see the vestige of piecemeal?In order to solve the problems referred to above and take into account speed, this special topic from the principle of piecemeal,
The static method of partition of abandoning tradition meaning, takes a kind of dynamic self adaptation partition strategy, the most extendible dynamic window side
Method.In the sparse region of data point, suitably expand retrieval window, otherwise reduce retrieval window.The size of data retrieval window is used
The threshold value (minimum data of every piece is counted) of one regulation determines.
The self adaptation partition strategy intending using is expressed as follows:
If V={v1, v2... vnIt it is plane R2One group of finite point set in interior a certain plane domain D, by the threshold value of regulation
After plane domain D is carried out dividing ∑ by (minimum data of every piece is counted), obtain the set R={R of a plane subdomain1,
R2..., Rn, to each plane subdomain Ri, record discrete points data and the some sum of this subdomain, record each subdomain simultaneously
Four angular coordinates (LeftUpX, LeftUpY, RightBottomX, RightBottomY), i.e. obtain the data of each sub-block
Value.
2) Dynamic Announce of climatic elements and quick visualization:
According to above-mentioned self adaptation partition strategy, utilizing the power that Visual C++ is provided, its solution is as follows:
Write GetBlock () function to realize dynamic division technology.The function of this function is the difference according to incoming parameter, obtains and uses
The data that family is interested, call this function and can realize pyramid structure and automatic acquiring technology respectively.Get Block () function
It is designed with seven parameters.Wherein dwX0, dwY0 specify the original position obtaining data, and dwWidth, dwHeight specify number
Size according to block.When calling, these four parameters are incoming by ClipRect in OnDraw () function, this ensures that there acquisition number
According to motility, the size of data is not changeless, but is automatically given by the region repainted.And step-length nStep realizes
Pyramid structure, it defines the rank of successively decreasing of data volume between layers, and nStep value is the biggest, the speed that data volume is successively decreased
The fastest.Parameter * pnBands represents the data source that will obtain data.If pyramid structure to be realized, then * pnBands generation
The data of table last layer pyramid structure;If realizing automatic acquiring technology, then this layer of pyramid structure of * pnBand behalf
Data.So, on perpendicular slice, often call GetBlock () function and be formed for one layer of pyramid data, then will
It is stored in some array (such as self-defined array TowerArray);On horizontal bedding, often call a GetBlock
() function means that and has carried out the pyramid data of this layer as required the most automatically obtaining.NNumberOfBands represents one
The number of width image medium wave band.
Partial code is described as follows:
3) the quick transmission technology of network
For network three dimensional field shadow modeling rendering system, owing to substantial amounts of geometric data needs via network
Being transferred to client, the network bandwidth usually becomes the bottleneck of this type of system, the most how to use the compact data side of expression flexibly
Formula and the difficult point of the efficient the most three-dimensional quickly display of network transmission strategy.
(1) Com component technology: use the three layers of browser/server architecture organically combined with Com component technology,
Will system data concentration leave in data server end, it is empty that systematic difference server is mainly responsible for realizing relevant GIS
Between analyze and the function of network service, then the result after being analyzed and processed by Internet sends the user of client to.
(2) progressive transmission: use limit to download, limit display pattern, server persistently sends the optimization information to data, client
The display effect of end is the finest, until model fineness is pleased oneself by end of transmission or user.
(3) data tissue and compress technique: image and data texturing are effectively organized and Efficient Compression, makes system
Data volume is reduced to greatest extent.
(4) balancing technique is downloaded: in downloading process, system can safeguard multiple download queue, and each queue is carried out automatically
The network bandwidth balances, and ensures download efficiency optimization.
(5) multi-level buffer technology: establish hard disk cache, memory cache and video memory three grades of optimizations of caching, be effectively improved
The client disposal ability to data.
Meteorological data transmission delay on network can be greatly shortened by above network transmission means, thus more rapid
Meteorological data is exported WEB client side caching.It is shown while caching thus improves whole efficiency.
4) three-dimensional data optimization
For climatic model, its scene mainly includes that the weather corresponding to the landform just risen and fallen and different terrain is wanted
Element, the optimization to them is the heaviest main content in scene optimization.
(1) optimization " criticized "
Batch being one of most important concept in scene optimization, it refers to once render calls (DP), batch size be
Render specifically and call polygon (climatic elements) quantity that can render.Each batch call can consume certain CPU time,
For video card, the polygon quantity in one batch does not far reach maximum drafting quantity.To be the most polygon the most as far as possible
Shape is placed in one batch and renders, and reduces, with this, the number criticized, finally reduces CPU time, is the optimization basic principle criticized.But
Thing is the most not fully up to expectations, and the most original batch of meeting is broken, and causes extra expense, such as the change or not of texture
Same matrix condition.For these problems, we can use certain methods to avoid it as far as possible, has reached the maximum of batch size
Change.
Merge multiple little texture and be a big texture: in certain scene, ground has the climatic elements that kind more than ten is different,
They are in addition to texture difference, and rendering state is just as.We just can be packaged into a large texture their texture, then
Specifying " criticizing " for each climatic elements, so we just can render to call with one and render all of object, the quantity criticized
Just reduce to one from more than ten.This method is relatively suitable for the highest to texture required precision, that face number will not be too many object.
(2) rendering state management
Rendering state be used to control renderer render behavior, we can arrange texture phase, degree of depth write etc..
Change rendering state, for video card, is a relatively time-consuming job of ratio, because video card execution API must be in strict accordance with rendering road
Footpath, when rendering state changes, video card is necessary for performing floating-point operation to change renderer path, therefore gives CPU and GPU when bringing
Between consume (CPU has to wait for), rendering state change the most greatly, floating-point operation to be performed is the most.Therefore rendering state is entered
The effective management of row, reduces its change as far as possible, huge to rendering performance impact.
(3) scene management optimization
The optimization of scene management includes scene cut, it is seen that property rejecting etc., finds traversal tree when we are at performance evaluating
Process slow time, may have two reasons.One is the unreasonable of the degree of depth setting of tree, and Another reason is numerous,
The object that volume is the least is assigned with node, causes the redundancy of node quantity.Solution is that these wisps are divided into them
In the big node at place.
Visibility culling is most common optimization method, and blocking reduction is also the method being often used, and common are Horizon
Line is reduced.But in some cases, block the effect of reduction inconspicuous, as when CPU usage has been 100%, CPU
End is bottleneck, at this moment carries out blocking reduction calculation consumption CPU time, and effect is the most inconspicuous.But utilize in some cases
The method of pre-generatmg information, reduces to block and reduces the complexity calculated, and improves to block and reduces the efficiency calculated, to scene performance meeting
Have some improvement.
5) relevant quick Display Technique and the multi-level expression of high score rate are regarded based on what " importance degree " drove
Under current hardware condition, realize the real-time visual of mass data almost according to conventional visualization technique
Impossible.Therefore some must be taked for the special handling strategy of contextual data itself.Specifically include:
(1) effective scene management: system uses contextual data tissue model based on node and figure layer, enormously simplify
The management of scene.
(2) efficient scene simplification technology: system synthesis uses pyramid data based on linear quadtree compression storage
Strategy, multi-resolution models technology, scene simplification technology based on LOD, matching technique based on " skeleton+skin ", significantly letter
Change, accelerate the drafting of three-dimensional scenic.
(3) efficient visualisation techniques: system uses " scene based on observability buffering loads management " technology to accelerate field
The drafting of scape, efficient dynamic importing technology then also improves loading speed while surfing is greatly improved, real
Show parallel loading, i.e. browsed and be loaded into and carry out simultaneously.Parallel loading makes user be detectable any pause that loading is caused,
Therefore " zero-time loading " it is alternatively referred to as.
(4) parallel graphic optimisation technique a: important branch of three dimensional graphics development is exactly graphic hardware technology
Development.In order to support and give full play to the advantage of graphic hardware technology, the parallel processing function providing hardware is provided by system
Optimized support.Below figure, the smooth three-dimensional scenic scope shown and precision on ordinary PC device.
The real-time rendering of photo realism graphic is had a variety of algorithm, and these algorithms are respectively arranged with its scope of application.Such as quickly-blanking
In class algorithm, level Z-buffer algorithm and hierarchical occluding map algorithm are highly effective to high shielding rate scene, but to blocking complexity
The less demanding scene of property but has no advantage;Model of place simplifies class algorithm can reduce the purpose of scene complexity, but
Though it is simplified but still be unable to reach in real time to the scene of high complexity;Additionally a lot of algorithm efficiency under static scene are higher, it
Typically generate scene at pretreatment stage and block tree, such as BSP tree, Octree, K-D tree etc., but relatively slow, in real time at dynamic scene
Property is the highest.
According to the limitation of above-mentioned algorithm, introduce " importance degree " concept." importance degree " be according to comprise in landform weather want
The kind of element and distribution density situation and three-dimensional required precision determine.It describes graphic data Fast Drawing spatially
During, geometric error can be with the minimum distance between uncared-for viewpoint and object point.
Specific practice is: application composition algorithm, its concrete data tissue is: first to whole world subdivision, according to weather
Key element location calculates longitude and latitude belonging to climatic elements and sets up chain table index.Then according to " importance degree " decide whether under
One step segmentation.If data number exceedes threshold value set in advance in every piece of scene, then to data subdividing, until number is less than rule
Definite value or segmentation level are more than till setting.If threedimensional model is complicated, can segment further, and preserve weather after segmentation
The bounding box data of key element.The most whole scene is organized into n fork tree, forms tree.Whole scene is root node, during data block is
Intermediate node.When so scene dynamics being roamed, certain scene can be directly targeted to according to inquiry table, then according to impact point institute
Belong to the difference of data block, be linked in new data block node.
Use the basic mode of algorithm: utilize quaternary tree data structure that climatic elements is indicated, each joint in tree
Point all covers the corresponding region of certain block in climatic elements.Owing to upper layer node sampled point is less, thus there is higher drafting
Efficiency;But, sampled point is the fewest, and the error that climatic elements represents is the biggest.On the basis of meeting assigned error threshold value dynamically
Ground selects key element node to realize representing the Continuous Multiresolution of climatic elements model.In order to improve the efficiency of simplification, first
Back end is carried out pretreatment, so that it is determined that the execution sequence of nodal operation.It realizes process and can be represented by figure below.Wherein,
Root node C0 covers whole region, is two-level node, three grades of nodes in turn below ....(as shown in Figure 2)
During to climatic elements multi-resolution representation, it will usually " crack " phenomenon (as shown in Figure 3) occurs.Node C1Have relatively
Low resolution, and node C adjacent thereto2、C3There is higher resolution.This makes to occur in that during diagonalization and is not capped
Region, thus draw time just create crack.As shown in Figure 3 (limit producing crack represents with adding thick line).
The removing method of splicing seams: solving " crack " phenomenon most common method is to build Restricted Quadtree, builds in the past
The algorithm of Restricted Quadtree, or the topological structure of archetype can not be kept, or cause the discontinuous of model surface.
The subdivision of quaternary tree, on the basis of building Restricted Quadtree, is handled as follows by the present invention in the past:
(1) for each quadtree's node meeting error threshold, its diagonal angle partition patterns is to point to father from four angle points
The center of node.(as shown in Figure 4)
(2) by the network forming key factor of quaternary tree for directly carrying out diagonal angle subdivision (as shown in Figure 5) and retaining midpoint (such as figure
Shown in 6) both forms.And the mode retaining midpoint can be divided into four kinds of basic representations (as shown in Figure 6).
6) body three-dimensional expression technology based on Hedgehog method
Vector is shown as a three-dimensional directed line segment, and direction and the size of line segment are determined by data.Hedgehog projects
Time on two dimension view plane, for the observer, line segment length shortens, and therefore the length of line segment is not only relevant with data, also
Relevant with the position of observer.
By using technique scheme disclosed by the invention, obtain following beneficial effect:
Pass through technical scheme, it is possible to quickly process magnanimity allos isomery meteorological data, see including the station
Survey data, satellite Retrieval data, numerical forecast data etc., the meteorological data after utilizing the correlation techniques such as the Internet transmission to optimize
Carry out three dimensional stress process in WEB client side and show, different department and the public can be made to pass through internet access easily
With browse meteorological data, high body three-dimensional display effect true to nature can give user good visual experience, has the most significantly expanded gas
The application of image data.Meanwhile, technical scheme, processing procedure substantially reduces the process time, improves
Treatment effeciency.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should
Depending on protection scope of the present invention.
Claims (2)
1. a meteorological data body 3 D displaying method based on WEB technology, it is characterised in that comprise the following steps:
S1, carries out pretreatment by meteorological data to be presented;
S2, is optimized pretreated meteorological data, and is delivered on WEB server end by the data dynamic push optimized;
S3, exports WEB client side by the meteorological data on described WEB server end and carries out body three-dimensional display;
Pretreatment described in S1 includes: original meteorological data carries out format conversion processing, projective transformation process, data consistency
Inspection;Optimize described in S2 and include: pretreated meteorological data is carried out resampling, layering, piecemeal;Output bag described in S3
Include: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method, the many levels of detail of LOD
The progressive rendering method of secondary model and the body three-dimensional expression method of Hedgehog method, the meteorological data after optimizing is showed in WEB
Client;
S3 particularly as follows:
S31, uses progressive transmission method, data tissue and compression method, download balance method, multi-level buffer method to be shown
Meteorological data is cached to WEB client side and uses following methods to be displayed;
S32, uses field data tissue model based on node and figure layer, simplifies scene management;
S33, integrated use pyramid data based on linear quadtree compression storage strategy, multi-resolution models, based on LOD
Scene simplification method and matching process based on " skeleton+skin ", simplify, accelerate the drafting of three-dimensional scenic;
S34, uses " scene based on observability buffering loads management " method to carry out the drafting of scene, applies dynamic importing simultaneously
Method optimization is loaded into speed, thus realizes parallel loading;
S35, utilizes quaternary tree data structure to be indicated the climatic elements in scene, and in tree, each node covers described
Region corresponding in climatic elements, dynamically selects climatic elements node to realize gas on the basis of meeting default error threshold
The Continuous Multiresolution waiting feature model represents;
S36, uses the body three-dimensional expression method of Hedgehog method, described meteorological data is displayed;
Wherein, the execution sequence of S32-S36 is in no particular order;
S35 particularly as follows:
To whole world subdivision, calculate climatic elements belonging positions according to scene mesoclimate key element location and set up chained list
Index, forming position inquiry table;
If climatic elements number exceedes predetermined threshold value in every piece of scene, then climatic elements is segmented, until number is less than described
Till predetermined threshold value or segmentation level are more than presetting level threshold value;So that whole scene is organized into n fork tree, whole scene is root
Node, climatic elements is intermediate node;
When scene dynamics is roamed, it is directly targeted to certain scene according to described position enquiring table, then according to impact point institute
Belong to the difference of block, be linked in new block node;
S2 particularly as follows:
S21, carries out repeatedly resampling to result data, forms the golden word of the multilamellar different resolution being directed to same range image
Tower structure;
S22, uses dynamic self-adapting partition strategy, and image described to each layer carries out piecemeal process;Obtain climatic elements data
Block;
S23, data-pushing resampling, layering and piecemeal processed also is stored in WEB server;
Described dynamic self-adapting partition strategy particularly as follows:
If V={v1,v2,...vnIt it is plane R2One group of finite point set in interior a certain plane domain D, by presetting threshold value pair of counting
After plane domain D carries out dividing ∑, obtain the set R={R of a plane subdomain1,R2,...,Rn, to each plane subdomain
Ri, record discrete points data and the some sum of this subdomain, record four angular coordinates of each subdomain simultaneously, i.e. obtain each son
The data value of block;
The minimum data that described default threshold value of counting is allowed by each sub-block is counted;
Described four angular coordinates are respectively as follows: LeftUpX, LeftUpY, RightBottomX, RightBottomY;
In S3 further comprising the steps of:
For each quadtree's node meeting error threshold, point in father node using diagonal angle partition patterns as from four angle points
The heart;The network forming of quaternary tree is attributed to and directly carries out diagonal angle subdivision form and retain midpoint form;And retain the mode at midpoint
It is divided into four kinds of basic representations.
2. one kind realizes the based on WEB technology of meteorological data body 3 D displaying method based on WEB technology described in claim 1
Meteorological data body three-dimensional display apparatus, it is characterised in that including:
Meteorological data pretreatment unit, for carrying out pretreatment by meteorological data to be presented;Described pretreatment includes: to original gas
Image data carries out format conversion processing, projective transformation process, data consistency checks;
Meteorological data optimizes device, for pretreated meteorological data is optimized process, and the data optimized is moved
State is pushed on WEB server end;Described optimization includes: pretreated meteorological data is carried out resampling, layering, piecemeal;
Meteorological data output exhibiting device, for exporting WEB client side by the three-dimensional meteorological data on described WEB server end
Showing, described output includes: use progressive transmission method, data tissue and compression method, download balance method, multi-level buffer side
The body three-dimensional expression method of method, the progressive rendering method of LOD Multi-details layer model and Hedgehog method will optimize after meteorology
Data display is in WEB client side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210525774.7A CN103268221B (en) | 2012-12-07 | 2012-12-07 | A kind of meteorological data body 3 D displaying method based on WEB technology and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210525774.7A CN103268221B (en) | 2012-12-07 | 2012-12-07 | A kind of meteorological data body 3 D displaying method based on WEB technology and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103268221A CN103268221A (en) | 2013-08-28 |
CN103268221B true CN103268221B (en) | 2016-12-21 |
Family
ID=49011854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210525774.7A Expired - Fee Related CN103268221B (en) | 2012-12-07 | 2012-12-07 | A kind of meteorological data body 3 D displaying method based on WEB technology and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103268221B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106886523A (en) * | 2015-12-15 | 2017-06-23 | 北京京航计算通讯研究所 | Towards the optimization method of the spatial-temporal GIS model of underground utilities |
CN105893972B (en) * | 2016-04-08 | 2022-03-11 | 深圳市智绘科技有限公司 | Automatic monitoring method for illegal building based on image and implementation system thereof |
CN107655578A (en) * | 2017-09-01 | 2018-02-02 | 郑州云海信息技术有限公司 | A kind of temperature record methods of exhibiting, device and terminal |
CN108074279B (en) * | 2017-12-07 | 2021-04-13 | 零空间(北京)科技有限公司 | Three-dimensional meteorological data display method, device and equipment |
CN108768503B (en) * | 2018-06-04 | 2020-12-11 | 中国气象局公共气象服务中心 | Beidou satellite-based early warning information release system and method |
CN110287388B (en) * | 2019-06-05 | 2021-07-13 | 中国科学院计算机网络信息中心 | Data visualization method and device |
CN111652961B (en) * | 2020-07-10 | 2023-06-30 | 中国水利水电科学研究院 | GPU-based meteorological data volume drawing method |
CN112667346A (en) * | 2021-03-16 | 2021-04-16 | 深圳市火乐科技发展有限公司 | Weather data display method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6377993B1 (en) * | 1997-09-26 | 2002-04-23 | Mci Worldcom, Inc. | Integrated proxy interface for web based data management reports |
CN102043841A (en) * | 2010-12-10 | 2011-05-04 | 上海市城市建设设计研究院 | Multi-source information supplying method based on Web technology and integrated service system thereof |
-
2012
- 2012-12-07 CN CN201210525774.7A patent/CN103268221B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6377993B1 (en) * | 1997-09-26 | 2002-04-23 | Mci Worldcom, Inc. | Integrated proxy interface for web based data management reports |
CN102043841A (en) * | 2010-12-10 | 2011-05-04 | 上海市城市建设设计研究院 | Multi-source information supplying method based on Web technology and integrated service system thereof |
Non-Patent Citations (2)
Title |
---|
《基于遥感影像的地形三维重建技术的研究》;谭兵;《中国优秀博硕士学位论文全文数据库(硕士)基础科学辑》;20020615(第1期);第12页第32-35行,第37-38行,第13页第1-3行,第28-33页,附图3-12——3-17 * |
《数字地球三维空间信息服务关键技术研究》;罗显刚;《中国博士学位论文全文数据库基础科学辑》;20101215(第12期);第32页第5-7行,第51页第14-16行,第52页第10-11行,第65页第32-34行,第70页第1-5行,第71页第13-21行,第81页第22-23行,第144页第17-23行 * |
Also Published As
Publication number | Publication date |
---|---|
CN103268221A (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103268221B (en) | A kind of meteorological data body 3 D displaying method based on WEB technology and device | |
CN100468461C (en) | Real time drawing method of vivid three dimensional land form geograpical model | |
CN105261066B (en) | A kind of three-dimensional geographic information system real-time rendering multithreading distribution and control method | |
Kelly et al. | A survey of procedural techniques for city generation | |
Vanegas et al. | Modelling the appearance and behaviour of urban spaces | |
CN103455624B (en) | A kind of global multidimensional remote sensing image Map Service of Network implementation method of lightweight | |
CN101364310B (en) | Three-dimensional model image generating method and apparatus | |
Honjo et al. | Visualization of landscape by VRML system | |
CN101261743B (en) | A simulation method for large-scale terrain roam based on rule grid | |
CN105336003A (en) | Three-dimensional terrain model real-time smooth drawing method with combination of GPU technology | |
Haegler et al. | Grammar‐based encoding of facades | |
CN102074050A (en) | Fractal multi-resolution simplified method used for large-scale terrain rendering | |
CN101408990B (en) | Progressive compression and transmission method for urban architecture model | |
Fu et al. | Large-scale terrain-adaptive LOD control based on GPU tessellation | |
Masood et al. | High‐performance virtual globe GPU terrain rendering using game engine | |
El Haje et al. | 3D cities rendering and visualisation: a web-based solution | |
Amara et al. | A GPU Tile-Load-Map architecture for terrain rendering: theory and applications | |
Koca et al. | A hybrid representation for modeling, interactive editing, and real-time visualization of terrains with volumetric features | |
Klein | Managing the scalability of visual exploration using game engines to analyse UHI scenarios | |
Wang | Optimization of Three-Dimensional Model of Landscape Space Based on Big Data Analysis | |
Amiraghdam et al. | LOOPS: LOcally Optimized Polygon Simplification | |
Luo et al. | Dual‐space ray casting for height field rendering | |
Bevilacqua et al. | Charack: Tool for real-time generation of pseudo-infinite virtual worlds for 3d games | |
Li et al. | Research on Landscape Architecture Modeling Simulation System Based on Computer Virtual Reality Technology | |
Yang et al. | Game engine support for terrain rendering in architectural design |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161221 Termination date: 20171207 |
|
CF01 | Termination of patent right due to non-payment of annual fee |