CN107943883A - The Fast rendering method of huge VectorLayer - Google Patents

The Fast rendering method of huge VectorLayer Download PDF

Info

Publication number
CN107943883A
CN107943883A CN201711131521.0A CN201711131521A CN107943883A CN 107943883 A CN107943883 A CN 107943883A CN 201711131521 A CN201711131521 A CN 201711131521A CN 107943883 A CN107943883 A CN 107943883A
Authority
CN
China
Prior art keywords
vectorlayer
huge
layer
data
effectively
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.)
Pending
Application number
CN201711131521.0A
Other languages
Chinese (zh)
Inventor
潘冬子
苏湘玉
许京奕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Shang Rong Information Technology Co Ltd
Original Assignee
Hunan Shang Rong Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hunan Shang Rong Information Technology Co Ltd filed Critical Hunan Shang Rong Information Technology Co Ltd
Priority to CN201711131521.0A priority Critical patent/CN107943883A/en
Publication of CN107943883A publication Critical patent/CN107943883A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of Fast rendering method of huge VectorLayer, including obtaining in huge VectorLayer needs the scope of show layers and needs to render the active principle of display;Corresponding effectively figure layer data is filtered out in the storage database of huge VectorLayer;Establish a new virtual figure layer;The effectively figure layer data in the virtual figure layer of foundation is required to be rendered according to display, so as to complete the Fast rendering of huge VectorLayer.The method of the present invention by caching the new virtual figure layer of foundation in memory, and the mode that required target data is individually carried out to rendering display in the virtual figure layer completes the Fast rendering method of huge VectorLayer, and the data source obtained is user's data source of concern and has abandoned other unrelated mass data, therefore the figure layer rendering speed of the method for the present invention will be significantly faster than the figure layer rendering speed of the prior art, to also it accelerate the service speeds such as follow-up refreshing and amplification at the same time, and method is quick and easy, securely and reliably.

Description

The Fast rendering method of huge VectorLayer
Technical field
Present invention relates particularly to a kind of Fast rendering method of huge VectorLayer.
Background technology
With the development and the improvement of people's living standards of national economy technology, basic science has been obtained for widely weight Depending on also having obtained significant progress.
GIS-Geographic Information System (Geographic Information System, abbreviation GIS) is a kind of spatial information system System, it is under the support of computer hardware and software system, to related in earth top layer (including atmosphere) space all or in part Geographic distribution data is acquired, stores, managing, computing, the technological system analyzed, be shown and described.Thus, GIS technology handle This unique visualization effect of map and geography-analysis function and general database manipulation (such as inquiry and statistical analysis Deng) integrate.
Visualization technique is the technology for showing, expressing geography information with forms such as numeral, image, forms.In generalized information system In, VectorLayer is widely used to realize visualization.Spatial data and attribute data are usually stored in computer by GIS software In file.For ease of processing, huge VectorLayer data can be stored in a database, thus ensure data integrality and Security.
At present, in generalized information system, some data in some region are inquired about if desired, then the region are amplified and shown. At this time, in the backstage of generalized information system, automatically all data in the region can be carried out rendering display.But due in generalized information system The VectorLayer data of magnanimity are stored, therefore during the display in the region, reading, processing that can be there is mass data Or render process, so as to cause the display in the region more slow, seriously affect the effect of visualization of figure layer.In addition, it is directed to When the data of generalized information system are inquired about, any once-through operation all can be by all data in query region all from database Read and rendered;Therefore, the inquiry each time carried out at present for the data of generalized information system, can all undergo " database lookup Data-reading data-render display " process, even adjacent inquiry operation twice is directed to same partial data.
The content of the invention
It is an object of the invention to provide one kind GIS figure layers can be rapidly completed to render, thus accelerate figure layer show it is huge The Fast rendering method of big VectorLayer.
The Fast rendering method of this huge VectorLayer provided by the invention, includes the following steps:
S1. obtaining needs the scope of show layers in huge VectorLayer, and needs to render the active principle of display;
S2. according to step S1 obtain need render the active principle of display, in the storage database of huge VectorLayer In filter out corresponding effectively figure layer data;
S3. a new virtual figure layer is established according to the effectively figure layer data obtained in step S2;
S4. according to display require, step S3 establish virtual figure layer in step S2 obtain effectively figure layer data into Row renders, so as to complete the Fast rendering of huge VectorLayer.
The Fast rendering method of the huge VectorLayer is used for generalized information system.
The scope of show layers is needed in the huge VectorLayer of acquisition described in step S1, is specially sat according to current reference Mark system and indication range determine to be currently needed for the scope of show layers.
Corresponding effectively figure layer data is filtered out in the storage database of huge VectorLayer described in step S2, specifically To filter out corresponding effectively figure layer data in database is stored using spatial database query sentence.
A new virtual figure layer is established according to effectively figure layer data described in step S3, specially in Installed System Memory A new virtual figure layer is built in caching.
Require to render effectively figure layer data in the virtual figure layer of foundation according to display described in step S4, specifically To be rendered according to the display of generalized information system requirement, calling system in virtual figure layer to effectively figure layer data.
The Fast rendering method of this huge VectorLayer provided by the invention, by caching the virtual of foundation in memory Figure layer, and required target data individually in the virtual figure layer render to the mode of display, complete huge vector The Fast rendering method of figure layer;In addition, it is that data source is obtained in the caching of system that the figure layer of the method for the present invention, which renders, and obtain The data source taken is system user data source of concern and abandoned the unconcerned mass data source of other users, therefore The figure layer rendering speed of the method for the present invention will be significantly faster than the figure layer rendering speed of the prior art, while will also accelerate follow-up brush The service speeds such as new and amplification;And the method for the present invention is quick and easy, securely and reliably.
Brief description of the drawings
Fig. 1 is the method flow diagram of the method for the present invention.
Embodiment
It is the method flow diagram of the method for the present invention as shown in Figure 1:It is provided by the invention this huge by taking generalized information system as an example The Fast rendering method of VectorLayer, includes the following steps:
S1. determined to need the scope of show layers in huge VectorLayer according to current reference coordinates system and indication range, And need to render the active principle of display;
S2. according to step S1 obtain need render the active principle of display, in the storage database of huge VectorLayer In filter out corresponding effectively figure layer data;In the specific implementation, corresponding retrieval or searching algorithm can be used to obtain phase The effectively figure layer data answered, for example corresponding effective figure layer is filtered out in database is stored using spatial database query sentence Data;
S3. according to the effectively figure layer data obtained in step S2, a new void is built in the caching in Installed System Memory Intend figure layer;
S4. step S2 is obtained in the virtual figure layer that step S3 is established according to the display requirement of generalized information system, calling system Effectively figure layer data rendered, so as to complete the Fast rendering of huge VectorLayer;Later for the operation of above-mentioned data (for example refresh, amplify etc.) directly data can be obtained from the virtual figure layer of caching.
The render process of the method for the present invention, virtual figure layer, which is postponed, deposits middle acquisition data source, and the data source obtained is System user part data of concern, and filtered out the number that other users are indifferent to or need not show or render According to, thus the present invention render process, its processing speed ratio from original database much faster;In addition, the method for the present invention, for The data of same part, it is only necessary to when for the partial data operate for the first time, read related in storage database Data source and form virtual figure layer in the buffer;After operating first, if being operated (ratio again for the partial data Such as refresh operation, amplifieroperation etc.), then system can obtain data from the virtual figure layer in caching automatically and render;Compared to biography Being obtained from storage database for data are rendered again for system, data and the speed rendered are obtained from the virtual figure layer in caching Degree, which will be significantly faster than, to be obtained data from storage database and is rendered.Therefore the method for the present invention is not only extracting data first When can accelerate extraction and the rendering speed of data, for the system operatio in later stage, especially subsequently for the number of the same area According to operation, the method for the present invention can greatly improve the efficiency and speed rendered.

Claims (6)

1. a kind of Fast rendering method of huge VectorLayer, includes the following steps:
S1. obtaining needs the scope of show layers in huge VectorLayer, and needs to render the active principle of display;
S2. according to step S1 obtain need render the active principle of display, the mistake in the storage database of huge VectorLayer Filter out corresponding effectively figure layer data;
S3. a new virtual figure layer is established according to the effectively figure layer data obtained in step S2;
S4. required according to display, wash with watercolours is carried out to the effectively figure layer data that step S2 is obtained in the virtual figure layer that step S3 is established Dye, so as to complete the Fast rendering of huge VectorLayer.
2. the Fast rendering method of huge VectorLayer according to claim 1, it is characterised in that the Fast rendering method Suitable for generalized information system.
3. the Fast rendering method of huge VectorLayer according to claim 2, it is characterised in that obtaining described in step S1 Taking needs the scope of show layers in huge VectorLayer, specially determined currently according to current reference coordinates system and indication range Need the scope of show layers.
4. the Fast rendering method of huge VectorLayer according to claim 2, it is characterised in that described in step S2 Corresponding effectively figure layer data is filtered out in the storage database of huge VectorLayer, specially using spatial database query language Sentence filters out corresponding effectively figure layer data in database is stored.
5. the Fast rendering method of the huge VectorLayer according to one of Claims 1 to 4, it is characterised in that step S3 institutes That states establishes a new virtual figure layer according to effectively figure layer data, and structure one is new in the caching specially in Installed System Memory Virtual figure layer.
6. the Fast rendering method of huge VectorLayer according to claim 2, it is characterised in that pressing described in step S4 Require to render effectively figure layer data in the virtual figure layer of foundation according to display, specially will according to the display of generalized information system Ask, calling system renders effectively figure layer data in virtual figure layer.
CN201711131521.0A 2017-11-15 2017-11-15 The Fast rendering method of huge VectorLayer Pending CN107943883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711131521.0A CN107943883A (en) 2017-11-15 2017-11-15 The Fast rendering method of huge VectorLayer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711131521.0A CN107943883A (en) 2017-11-15 2017-11-15 The Fast rendering method of huge VectorLayer

Publications (1)

Publication Number Publication Date
CN107943883A true CN107943883A (en) 2018-04-20

Family

ID=61932310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711131521.0A Pending CN107943883A (en) 2017-11-15 2017-11-15 The Fast rendering method of huge VectorLayer

Country Status (1)

Country Link
CN (1) CN107943883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084284A (en) * 2020-09-11 2020-12-15 广州南方智能技术有限公司 Efficient rendering method for realizing real-time symbolization of data by virtual display list

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026170A1 (en) * 2003-05-20 2006-02-02 Jeremy Kreitler Mapping method and system
CN103136767A (en) * 2011-11-24 2013-06-05 北京图盟科技有限公司 Vector diagram drawing method and device
CN103412863A (en) * 2013-06-05 2013-11-27 东南大学 Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map
CN104200506A (en) * 2014-08-04 2014-12-10 广东威创视讯科技股份有限公司 Method and device for rendering three-dimensional GIS mass vector data
CN104268145A (en) * 2014-08-21 2015-01-07 中国科学院遥感与数字地球研究所 Quick map drawing method of complex vector data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026170A1 (en) * 2003-05-20 2006-02-02 Jeremy Kreitler Mapping method and system
CN103136767A (en) * 2011-11-24 2013-06-05 北京图盟科技有限公司 Vector diagram drawing method and device
CN103412863A (en) * 2013-06-05 2013-11-27 东南大学 Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map
CN104200506A (en) * 2014-08-04 2014-12-10 广东威创视讯科技股份有限公司 Method and device for rendering three-dimensional GIS mass vector data
CN104268145A (en) * 2014-08-21 2015-01-07 中国科学院遥感与数字地球研究所 Quick map drawing method of complex vector data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084284A (en) * 2020-09-11 2020-12-15 广州南方智能技术有限公司 Efficient rendering method for realizing real-time symbolization of data by virtual display list

Similar Documents

Publication Publication Date Title
CN110956673A (en) Map drawing method and device
CN103412863A (en) Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map
CN108205960B (en) Method and device for rendering characters, electronic map making system and navigation system
CN103020888A (en) Image translation updating display method and system
CN104299241A (en) Remote sensing image significance target detection method and system based on Hadoop
CN102831605A (en) Method for rapidly visualizing multi-scale image segmentation results for large images
CN107943883A (en) The Fast rendering method of huge VectorLayer
CN115952388B (en) Convolution operation method, device, processor and medium based on image data processing
CN114344894B (en) Scene element processing method, device, equipment and medium
CN102708169B (en) Geographical space data storage method based on SWF (Small Web Format) file extension
JPH0215910B2 (en)
CN113269882B (en) Terrain rendering method and system based on virtual texture
CN104778212A (en) Map data generation method, map data generation device, map data reading method and map data reading device
CN112489177B (en) Point cloud data rendering and displaying method and system
CN115131531A (en) Virtual object display method, device, equipment and storage medium
CN104346771A (en) Electronic map layering management method
KR101028767B1 (en) A Method For Updating Geographic Image Information
KR20170000288A (en) Method of partitioning a data including geographical information, apparatus performing the same and storage medium storing a program performing the same
CN111949845A (en) Method, apparatus, computer device and storage medium for processing mapping information
CN104572420A (en) Information processing method and system
JP2006277155A (en) Model selection program for cad system
CN111858824B (en) Terrain data fusion method, device, computer equipment and storage medium
US20020049757A1 (en) Apparatus for processing data of overlapped facilities by means of virtual facility record and method therefor
JP2590327B2 (en) How to manage drawing information
JP2022189449A (en) Information processing apparatus and information processing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420

RJ01 Rejection of invention patent application after publication