CN103035164B - Rendering method and system of geographic information system - Google Patents
Rendering method and system of geographic information system Download PDFInfo
- Publication number
- CN103035164B CN103035164B CN201210568359.XA CN201210568359A CN103035164B CN 103035164 B CN103035164 B CN 103035164B CN 201210568359 A CN201210568359 A CN 201210568359A CN 103035164 B CN103035164 B CN 103035164B
- Authority
- CN
- China
- Prior art keywords
- layer
- map
- sublayer
- focus
- base map
- 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.)
- Active
Links
Landscapes
- Processing Or Creating Images (AREA)
- Instructional Devices (AREA)
Abstract
The invention discloses a rendering method of a geographic information system. The rendering method comprises dividing a map layer needing to be displayed into a plurality of sublayers which comprise bottom layers and more than one hot spot layers, respectively creating display lists based on an Open graphics library (GL) for the bottom layers and each hot spot layer, and drawing the bottom layers and the hot spot layers by invoking the display lists corresponding to the bottom layers and the hot spot layers when a map needs to be rendered. The invention further provides a corresponding system. When the map is displayed or renewed, only changed sublayers need to be processed, not all sublayers need to be processed, and therefore the consumed time in mapping is reduced, mapping efficiency is improved, and display effect is further improved.
Description
Technical field
The present invention relates to Cartographic Technique field, be specifically related to a kind of GIS-Geographic Information System rendering intent and system.
Background technology
The rendering system of GIS-Geographic Information System (Geographic Information System, GIS) for showing base map on combination, vector, icon, the various map elements such as word.GIS rendering system in current industry carrys out management data according to map layer, contains the map elements that various needs are played up in map layer.
Each Data Update of map layer all may trigger redrawing of rendering system, again processes all data of map layer.When the combination that resolution ratio is larger carries out GIS display, if need the map layer drawn more, when each map layer comprises again a large amount of map elements, drawing process is consuming time very long, and efficiency is very low, has a strong impact on display effect.
Summary of the invention
The embodiment of the present invention provides a kind of GIS-Geographic Information System rendering intent and system, to solve prior art length consuming time when carrying out GIS and playing up, inefficient technical problem.
The technical scheme that the embodiment of the present invention adopts is as follows:
A kind of Distribution GIS rendering intent, is characterized in that, comprising:
The map partitioning that will need display be several sublayers, and described sublayer comprises a base map layer and more than one focus layer, is respectively base map layer and the establishment of each focus layer based on the display list of OpenGL;
When needing to play up map, by calling the display list of base map layer and focus layer correspondence, draw base map layer and focus layer.
A kind of Distribution GIS rendering system, comprising:
Data management module, for the map layer of display will be needed to be divided into several sublayers, described sublayer will comprise a base map layer and more than one focus layer, be respectively base map layer and each focus layer and create display list based on OpenGL;
Rendering module, for the display list by calling base map layer and focus layer correspondence, draws base map layer and focus layer.
It is several sublayers by map partitioning in advance that the embodiment of the present invention adopts, and the base map layer be respectively wherein and each focus layer create the display list based on OpenGL, subsequently through calling display list, draw the technical scheme of base map layer and focus layer, when making carry out map denotation or upgrade, only need to process the vicissitudinous sublayer of data, and all sublayers need not be processed, thus it is consuming time to reduce drawing, improve drawing efficiency, and then improve display effect.
Accompanying drawing explanation
Fig. 1 is the flow chart of the GIS rendering intent that the embodiment of the present invention provides;
Fig. 2 is the schematic diagram of the GIS rendering system that the embodiment of the present invention provides.
Detailed description of the invention
The embodiment of the present invention provides a kind of GIS-Geographic Information System rendering intent, can reduce the mapping time, solves prior art length consuming time when carrying out GIS and playing up, inefficient technical problem.The embodiment of the present invention also provides corresponding system.Below be described in detail respectively.
Embodiment one,
Please refer to Fig. 1, the embodiment of the present invention also provides a kind of GIS rendering intent, comprising:
110, the map layer of display will be needed to be divided into several sublayers, described sublayer comprises a base map layer and more than one focus layer, is respectively base map layer and each focus layer and creates display list based on OpenGL.
In the present embodiment, will the map layer of display be needed to be divided into several sublayers, said sublayer at least comprises base map layer and this two type of focus layer, optionally, can also comprise the third type dynamic layer.Base map layer comprises the base map slice of data of the map layer of needs display; Focus layer comprises metastable map elements, specifically comprises the key elements such as point, line, surface, icon and label character; Dynamic layer comprises the map elements needing frequent updating, specifically can comprise point, line, surface, icon and word.Once display task at most and only have a base map layer, several focus layers, and zero or a dynamic layer.
Each sublayer contains some map elementses needing display, and system is each base map layer and focus layer application establishment display list based on OpenGL, and in this display list, draw all map elementses of this sublayer.Because the frequency of dynamic layer more new data is very high, redraws at every turn and all need to repaint map elements, so be not that dynamic layer creates display list.It should be noted that, said OpenGL(Open GraphicsLibrary) be the graphic package interface of specialty, be one powerful, call underlying graphics storehouse easily; Said display list is the object of OpenGL, can identify after this Object Creation with the ID of shaping number.
When 120, needing to play up map, by calling the display list of base map layer and focus layer correspondence, draw base map layer and focus layer.
In embody rule, when needing to play up map, draw each sublayer according to following flow process:
First call the display list of base map layer correspondence, draw base map layer; Then call the display list of each focus layer correspondence, draw each focus layer; Last each map elements directly drawing dynamic layer.
When needs upgrade map, more new technological process is as follows:
First determine to need the sublayer of renewal and the type judging this sublayer; If need the sublayer upgraded to be base map layer or focus layer, then delete the display list that this sublayer is corresponding, re-create the display list of this sublayer according to the map elements after renewal; If need the sublayer upgraded to be dynamic layer, then repaint dynamic layer according to the map elements after renewal.
Wherein, when re-creating the display list of certain sublayer, first for this sublayer creates new display list, in the display list that this is new, draw all map elementses of this sublayer, comprise the map elements after renewal.New display list after renewal identifies with new ID, does not have the ID of the display list upgraded to remain unchanged.
Visible, renewal rewards theory only processes drafting again to the map elements of some sublayer of system, and does not have vicissitudinous sublayer, then without the need to reprocessing, which improves the efficiency that GIS plays up.
To sum up, embodiments provide a kind of GIS-Geographic Information System rendering intent, organising data in units of sublayer, for each sublayer creates display list, this display list is in fact the set of a render instruction, when system refreshes, for the set not having the sublayer of data variation directly to call this render instruction, to the set that the sublayer of data variation should be had then to upgrade this render instruction.Thus technical solution of the present invention, when carrying out map denotation or upgrading, only needs to process the vicissitudinous sublayer of data, and need not process all sublayers, thus it is consuming time to reduce drawing, improves drawing efficiency, thus improve display effect.
Embodiment two,
Please refer to Fig. 2, the embodiment of the present invention also provides a kind of GIS rendering system, comprising:
Data management module 210, for the map layer of display will be needed to be divided into several sublayers, described sublayer will comprise a base map layer and more than one focus layer, be respectively base map layer and each focus layer and create display list based on OpenGL;
Rendering module 220, for the display list by calling base map layer and focus layer correspondence, draws base map layer and focus layer.
Optionally, described sublayer can also comprise dynamic layer; Described rendering module 220 can also be used for each map elements directly drawing dynamic layer.
Optionally, in other embodiment, described system can also comprise: more new module;
Described more new module, for determining to need the sublayer of renewal and the type judging this sublayer;
Described data management module, if also for needing the sublayer upgraded to be base map layer or focus layer, delete the display list that this sublayer is corresponding, re-creates the display list of this sublayer according to the map elements after renewal;
Described rendering module, if also for need upgrade be dynamic layer, according to upgrade after map elements repaint dynamic layer.
To sum up embodiments provide a kind of GIS rendering system, map partitioning is several sublayers by this system in advance, and the base map layer be respectively wherein and each focus layer create the display list based on OpenGL, subsequently through calling display list, draw base map layer and focus layer, when making carry out map denotation or upgrade, only need to process the vicissitudinous sublayer of data, and all sublayers need not be processed, thus it is consuming time to reduce drawing, improve drawing efficiency, thus improve display effect.
Below for an embody rule scene, GIS rendering system of the present invention is described further.
In this application scene, GIS rendering system specifically can comprise: functional interface module, data management module, rendering module.Wherein: functional interface module is power function disclosed in system external, calls for external application.The data of functional interface function to sublayer each in system that data management module calls according to external application manage, and upgrade corresponding Data Elements in sublayer.The function of rendering module is all sublayers in Ergodic Theory, and order draws each sublayer.
In an embody rule, system modules performs an action can be as described below:
First, external application calls " adding map base map layer " function of GIS rendering system;
The instruction that data management module sends according to external application, creates OpenGL display list MapLayer_render_id, and draw base map layer data in this display list.
Secondly, external application calls " adding focus layer " function and other function are to create focus layer;
The instruction that data management module sends according to external application, creates Opengl display list HotSrcLayer_render_id, and draw point, line, surface, icon and lteral data in this display list;
Finally, external application calls " interpolation dynamic layer " function, and other function is to create dynamic layer, and this sublayer shows point, line, surface, icon and word key element.
So far, GIS rendering system is base map layer, and focus layer and dynamic layer have all shown.
In addition, when the data of dynamic layer or other sublayer need to upgrade, system needs again to show data.Such as, suppose that dynamic layer represents that data comprise the information of 100 GPS points, the position of these GPS points is frequent variations.At this moment, concrete sub-step is as follows:
The data of data management module to dynamic layer upgrade;
Call the display list of base map layer correspondence, because base map layer data does not change, so this sublayer is without the need to upgrading, directly call corresponding display list, thus improve display speed;
Travel through each focus layer, call corresponding display list successively, because each focus layer data does not change, so focus layer is without the need to upgrading, directly call corresponding display list, thus improve display speed;
Each map elements of direct drafting dynamic layer, completes map denotation.
Above, be for embody rule scene, being described in further detail technical solution of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can have been come by hardware, also can have been come by the hardware that programmed instruction is relevant, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only storage, random-access memory, disk or CD etc.
The GIS-Geographic Information System rendering intent provided the embodiment of the present invention above and system are described in detail, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.
Claims (6)
1. a Distribution GIS rendering intent, is characterized in that, comprising:
To the map layer of display be needed to be divided into several sublayers, described sublayer comprises a base map layer and more than one focus layer, and wherein, base map layer comprises the base map slice of data of the map layer of needs display, and focus layer comprises metastable map elements;
Be respectively base map layer and each focus layer and create display list based on OpenGL;
When needing to play up map, by calling the display list of base map layer and focus layer correspondence, draw base map layer and focus layer.
2. method according to claim 1, is characterized in that:
Described sublayer also comprises dynamic layer, and dynamic layer comprises the map elements needing frequent updating;
The described display list by calling base map layer and focus layer correspondence, also comprises after drawing base map layer and focus layer: each map elements drawing dynamic layer.
3. method according to claim 2, is characterized in that, also comprises:
When needing to upgrade map, determine to need the sublayer of renewal and the type judging this sublayer;
If need the sublayer upgraded to be base map layer or focus layer, delete the display list that this sublayer is corresponding, re-create the display list of this sublayer according to the map elements after renewal;
If need the sublayer upgraded to be dynamic layer, repaint dynamic layer according to the map elements after upgrading.
4. a Distribution GIS rendering system, is characterized in that, comprising:
Data management module, for will the map layer of display be needed to be divided into several sublayers, described sublayer comprises a base map layer and more than one focus layer, wherein, base map layer comprises the base map slice of data of the map layer of needs display, focus layer comprises metastable map elements, is respectively base map layer and each focus layer and creates display list based on OpenGL;
Rendering module, for the display list by calling base map layer and focus layer correspondence, draws base map layer and focus layer.
5. GIS rendering system according to claim 4, is characterized in that:
Described sublayer also comprises dynamic layer, and dynamic layer comprises the map elements needing frequent updating;
Described rendering module is also for drawing each map elements of dynamic layer.
6. GIS rendering system according to claim 5, is characterized in that, also comprise: more new module;
Described more new module, for determining to need the sublayer of renewal and the type judging this sublayer;
Described data management module, if also for needing the sublayer upgraded to be base map layer or focus layer, delete the display list that this sublayer is corresponding, re-creates the display list of this sublayer according to the map elements after renewal;
Described rendering module, if also for need upgrade be dynamic layer, according to upgrade after map elements repaint dynamic layer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210568359.XA CN103035164B (en) | 2012-12-24 | 2012-12-24 | Rendering method and system of geographic information system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210568359.XA CN103035164B (en) | 2012-12-24 | 2012-12-24 | Rendering method and system of geographic information system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103035164A CN103035164A (en) | 2013-04-10 |
CN103035164B true CN103035164B (en) | 2015-03-25 |
Family
ID=48022021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210568359.XA Active CN103035164B (en) | 2012-12-24 | 2012-12-24 | Rendering method and system of geographic information system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103035164B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104134398B (en) * | 2013-05-03 | 2017-08-25 | 腾讯科技(深圳)有限公司 | A kind of method and device for showing map details information |
CN103279317B (en) * | 2013-05-31 | 2017-02-08 | 广东威创视讯科技股份有限公司 | Distributed type map display method and device and splicing wall system |
CN103927374B (en) * | 2014-04-24 | 2015-09-09 | 盐城工学院 | A kind of Web GIS map layer creation method based on SharpMap |
CN104200506B (en) * | 2014-08-04 | 2017-07-18 | 广东威创视讯科技股份有限公司 | Three-dimension GIS massive vector data rendering intent and device |
CN104268925A (en) * | 2014-09-23 | 2015-01-07 | 山东鲁能软件技术有限公司 | Dynamic real-time power grid resource GIS rendering algorithm based on GIS platform |
CN104317586B (en) * | 2014-10-22 | 2018-04-10 | 福建星网视易信息系统有限公司 | Multi-screen renders processing method, processor, equipment and system |
CN104504106B (en) * | 2014-12-04 | 2018-05-15 | 中移全通系统集成有限公司 | A kind of map covering zone rendering method and relevant device |
CN109766504A (en) * | 2018-12-29 | 2019-05-17 | 博立信(洛阳)科技有限公司 | A kind of multi-layer image shows the device and method of sensing data |
CN111486854A (en) * | 2019-01-29 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Method, system, equipment and storage medium for drawing roads in electronic map |
CN111104083B (en) * | 2019-12-18 | 2023-10-31 | 交控科技股份有限公司 | Accelerated display method for station data |
CN113449058B (en) * | 2021-06-25 | 2023-06-02 | 安克创新科技股份有限公司 | Map data transmission method, cleaning robot and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1702631A (en) * | 2005-06-08 | 2005-11-30 | 武汉虹信通信技术有限责任公司 | Method for realizing geographical information system dynamic layers |
CN1753033A (en) * | 2005-11-10 | 2006-03-29 | 北京航空航天大学 | Real time drawing method of vivid three dimensional land form geograpical model |
CN1932884A (en) * | 2006-09-26 | 2007-03-21 | 杭州镭星科技有限公司 | Process type ground fast drawing method based on fractal hierarchical tree |
CN1936962A (en) * | 2006-10-10 | 2007-03-28 | 中山大学 | Large-landform generation method based on PC platform in 3-D game |
CN101425238A (en) * | 2007-10-30 | 2009-05-06 | 同济大学 | Traffic geographical information system generating method |
CN102044089A (en) * | 2010-09-20 | 2011-05-04 | 董福田 | Method for carrying out self-adaption simplification, gradual transmission and rapid charting on three-dimensional model |
CN102609971A (en) * | 2012-01-11 | 2012-07-25 | 南京大学 | Quick rendering system using embedded GPU (Graphics Processing Unit) for realizing 3D-GIS (Three Dimensional-Geographic Information System) |
CN103021259A (en) * | 2012-12-11 | 2013-04-03 | 广东威创视讯科技股份有限公司 | Map moving rendering method and system |
CN103035023A (en) * | 2012-11-29 | 2013-04-10 | 广东电网公司电力科学研究院 | Method and system of three-dimensional geographic information system (GIS) terrain rendering |
CN103390369A (en) * | 2013-01-24 | 2013-11-13 | 中国科学院遥感应用研究所 | Map rendering method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7551182B2 (en) * | 2005-01-18 | 2009-06-23 | Oculus Info Inc. | System and method for processing map data |
WO2007146967A2 (en) * | 2006-06-12 | 2007-12-21 | Google Inc. | Markup language for interactive geographic information system |
CN101388043B (en) * | 2008-09-26 | 2011-12-07 | 北京航空航天大学 | OGC high performance remote sensing image map service method based on small picture |
CN101847269B (en) * | 2009-03-27 | 2011-11-09 | 上海科泰世纪科技有限公司 | Multi-layer cartoon rendering system and method |
CN102346916A (en) * | 2011-09-26 | 2012-02-08 | 深圳市万兴软件有限公司 | Image layer rendering method and device |
CN103559009A (en) * | 2013-10-30 | 2014-02-05 | 浙江省公众信息产业有限公司 | Geographic information terminal and geographic information presentation method |
-
2012
- 2012-12-24 CN CN201210568359.XA patent/CN103035164B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1702631A (en) * | 2005-06-08 | 2005-11-30 | 武汉虹信通信技术有限责任公司 | Method for realizing geographical information system dynamic layers |
CN1753033A (en) * | 2005-11-10 | 2006-03-29 | 北京航空航天大学 | Real time drawing method of vivid three dimensional land form geograpical model |
CN1932884A (en) * | 2006-09-26 | 2007-03-21 | 杭州镭星科技有限公司 | Process type ground fast drawing method based on fractal hierarchical tree |
CN1936962A (en) * | 2006-10-10 | 2007-03-28 | 中山大学 | Large-landform generation method based on PC platform in 3-D game |
CN101425238A (en) * | 2007-10-30 | 2009-05-06 | 同济大学 | Traffic geographical information system generating method |
CN102044089A (en) * | 2010-09-20 | 2011-05-04 | 董福田 | Method for carrying out self-adaption simplification, gradual transmission and rapid charting on three-dimensional model |
CN102609971A (en) * | 2012-01-11 | 2012-07-25 | 南京大学 | Quick rendering system using embedded GPU (Graphics Processing Unit) for realizing 3D-GIS (Three Dimensional-Geographic Information System) |
CN103035023A (en) * | 2012-11-29 | 2013-04-10 | 广东电网公司电力科学研究院 | Method and system of three-dimensional geographic information system (GIS) terrain rendering |
CN103021259A (en) * | 2012-12-11 | 2013-04-03 | 广东威创视讯科技股份有限公司 | Map moving rendering method and system |
CN103390369A (en) * | 2013-01-24 | 2013-11-13 | 中国科学院遥感应用研究所 | Map rendering method and system |
Non-Patent Citations (3)
Title |
---|
三维GIS渲染引擎的关键技术;曹国峰等;《地球信息科学》;20050331;第7卷(第1期);第87-91页 * |
海量地形的GIS特征数据实时渲染算法研究;申闫春等;《计算机仿真》;20111031;第28卷(第10期);第223-227页 * |
面向动态特征的三维GIS平台关键技术研究;邱洪林;《中国优秀硕士学位论文全文数据库信息科技辑》;20120715(第07期);第19-29页,第45-52页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103035164A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103035164B (en) | Rendering method and system of geographic information system | |
CN109408657B (en) | Method and system for rapidly drawing super-large-scale spatial data | |
CA2849992C (en) | Managing map elements using aggregate feature identifiers | |
US20200013139A1 (en) | Tile Based Computer Graphics | |
CN104951364B (en) | A kind of language switching method and system based on Android platform | |
CN105261066B (en) | A kind of three-dimensional geographic information system real-time rendering multithreading distribution and control method | |
CN103034502B (en) | A kind of method embedding dynamic realtime monitoring chart in SVG interface | |
CN104641396A (en) | Deferred preemption techniques for scheduling graphics processing unit command streams | |
CN102509510B (en) | Interactive automatically updating method for legend content of electronic map | |
CN107145354A (en) | Software frame and its construction method, electric terminal and readable storage medium storing program for executing | |
US11644810B2 (en) | Hybrid rendering HMI terminal device | |
CN109448094A (en) | A kind of texture maps set dispatching method | |
KR20160046293A (en) | A tile based graphics processor and a method of performing graphics processing in a tile based graphics processor | |
CN104850388A (en) | Method and apparatus for drafting webpage | |
CN102902545A (en) | Decomposing markup language elements for animation | |
CN105247478A (en) | Command instruction management | |
CN104995622A (en) | Compositor support for graphics functions | |
CN110297585A (en) | Electronic white board realization method, device, equipment and storage medium | |
US9324299B2 (en) | Atlasing and virtual surfaces | |
KR20130097886A (en) | Apparatus and method for rendering | |
CN102193806A (en) | Method and device for updating animation | |
CN100565590C (en) | 3D shape rendering apparatus and 3D shape method for drafting | |
CN108733441A (en) | A kind of rendering method for visualizing and system suitable for large scale electric network symbolic device | |
CN104503954A (en) | Text combination display method and text combination display system | |
CN107092514A (en) | A kind of content of pages methods of exhibiting and device |
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 |