CN103390369B - A kind of map rendering intent and system - Google Patents

A kind of map rendering intent and system Download PDF

Info

Publication number
CN103390369B
CN103390369B CN201310026386.9A CN201310026386A CN103390369B CN 103390369 B CN103390369 B CN 103390369B CN 201310026386 A CN201310026386 A CN 201310026386A CN 103390369 B CN103390369 B CN 103390369B
Authority
CN
China
Prior art keywords
conversion
spatial data
map
vector spatial
parameter
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
Application number
CN201310026386.9A
Other languages
Chinese (zh)
Other versions
CN103390369A (en
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.)
BEIJING ZHONGYAO GROUND NETWORK INFORMATION TECHNOLOGY CO LTD
Institute of Remote Sensing and Digital Earth of CAS
Aerospace Information Research Institute of CAS
Original Assignee
Beijing Geobeans Network Information Technology Co ltd
Institute of Remote Sensing Applications of CAS
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 Beijing Geobeans Network Information Technology Co ltd, Institute of Remote Sensing Applications of CAS filed Critical Beijing Geobeans Network Information Technology Co ltd
Priority to CN201310026386.9A priority Critical patent/CN103390369B/en
Publication of CN103390369A publication Critical patent/CN103390369A/en
Application granted granted Critical
Publication of CN103390369B publication Critical patent/CN103390369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of map rendering intent and system.Wherein the method comprises: rendering device obtains the Vector spatial data after conversion from described iteration means, and the Vector spatial data after described conversion obtains after being converted Vector spatial data according to the conversion parameter pre-set by described iteration means; Described rendering device carries out color applying drawing to the Vector spatial data after conversion, until the data render in described iteration means is drawn complete, obtains the map of color applying drawing.The present invention unifies conversion by iteration means to Vector spatial data, reduces the interim medium object in conversion, and saved the frequent memory cost creating basic drawing instrument in drawing, that improves Vector spatial data plays up drawing efficiency.

Description

A kind of map rendering intent and system
Technical field
The present invention relates to Geographic Information System (GeographicInformationSystem, GIS) technical field, particularly relate to a kind of map rendering intent and system.
Background technology
Vector spatial data is the data for describing about the position of spatial entities, shape and mutual relationship, usually store with the form of coordinate and topological relation, this kind of data are significant data sources of Geographic Information System, are also the application foundations of Geographic Information System.In order to the understanding of vivid science utilizes Vector spatial data, utilize computing machine to convert vector data, final with crossing symbolism, to play up people can observable electronic chart be the necessary means of Current GIS.
Along with the improvement of space data collection means and the raising of data precision, data volume is in continuous increase, and the real-time rendering of spatial data also becomes the active demand of people, therefore how to carry out the performance that drawing is played up in Cartographic Symbolization and raising fast, day by day become important in the application of GIS.
In order to play up drawing to vector data, the usual Geometry(spatial data of GIS software), Project(projective transformation), Viewer(coordinate transform), DisplayStyle(Show Styles), Graphics(drawing instrument) etc. module process, specific practice is: first get out the vector data needing to draw, carry out suitable projective transformation, then the conversion that planimetric coordinates is tied to displaing coordinate system is carried out, then select Show Styles and rendering tool is set, create the rendering style etc. to play up, finally rendering result is presented in map window, there is provided visual electronic chart as the basis of application.
Carry out playing up drawing according to existing technical scheme, its shortcoming is mainly manifested in:
1, need before rendering prepare a large amount of Vector spatial datas and carry out projective transformation etc., the temporary object of a large amount of consumption internal memories can be produced, simultaneously needing repeatedly to carry out coordinate transform in for drafting vector space process, owing to drawing the restriction of flow process, cannot combined transformation formula etc.;
2, for Vector spatial data object, the conversion all will carrying out pattern and drawing instrument of drawing each time, and create frequently and delete drawing instrument, cause and play up degraded performance.
Summary of the invention
Play up need to prepare mass data to solve map in prior art, consume the large technical matters of amount of ram, the present invention proposes a kind of map rendering intent and system.
One aspect of the present invention, provides a kind of map rendering intent, it is characterized in that, comprising:
Rendering device obtains the Vector spatial data after conversion from described iteration means, and the Vector spatial data after described conversion obtains after being converted Vector spatial data according to the conversion parameter pre-set by described iteration means;
Described rendering device carries out color applying drawing to the Vector spatial data after conversion, until the data render in described iteration means is drawn complete, obtains the map of color applying drawing.
Wherein, convert parameter to comprise: projective transformation parameter and plane coordinate transformation parameter;
Vector spatial data after described conversion carries out projective transformation by described iteration means according to described projective transformation parameter, and obtain after the Vector spatial data after projective transformation is carried out plane coordinate transformation according to described plane coordinate transformation parameter.
Wherein, also comprise before the Vector spatial data after rendering device obtains conversion from described iteration means:
Obtain map denotation pattern;
Map rendering parameter according to described map denotation style setting;
Described rendering device carries out color applying drawing to the Vector spatial data after conversion and comprises:
Described rendering device carries out color applying drawing according to described map rendering parameter to the Vector spatial data after conversion.
The method also comprises: display device shows the map of described color applying drawing according to described map denotation pattern.
Another aspect of the present invention, provides a kind of map rendering system, comprising: rendering device and iteration means;
Described iteration means, obtains the Vector spatial data after converting after converting Vector spatial data according to the conversion parameter pre-set;
Rendering device, for obtaining the Vector spatial data after conversion from described iteration means, carries out color applying drawing to the Vector spatial data after conversion, until the data render in described iteration means is drawn complete, obtains the map of color applying drawing.
Wherein, rendering device, also for obtaining map denotation pattern; Map rendering parameter according to described map denotation style setting; According to described map rendering parameter, color applying drawing is carried out to the Vector spatial data after conversion.
This system also comprises: display device, for showing the map of described color applying drawing according to described map denotation pattern.
Map rendering intent of the present invention and system, by iteration means, conversion is unified to Vector spatial data, reduce the interim medium object in conversion, saved the frequent memory cost creating basic drawing instrument in drawing, that improves Vector spatial data plays up drawing efficiency.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of map rendering intent embodiment of the present invention;
Fig. 2 is the process flow diagram of another embodiment of map rendering intent of the present invention;
Fig. 3 is the structural drawing of map rendering system embodiment of the present invention.
Embodiment
Generally, conventional the rendering style for Vector spatial data comprises single pattern, classification pattern, classification pattern etc., for each class color applying drawing, basic drawing instrument is constant, what change is only volume coordinate and part pictorial information, based on this prerequisite, the present invention propose Vector spatial data postpone obtain play up drawing concept, namely by a kind of spatial object iteration means of structure, do not need when drawing and starting to prepare Vector spatial data, only using iteration means and relevant pictorial information as Parameter transfer graphics module, it is good after drawing instrument prepares, from iteration means, final drawing coordinate and pictorial information is obtained by the conversion parameter preset, repeat this process and complete playing up at drawing instrument in real time, finally color applying drawing is presented at map window.Below in conjunction with accompanying drawing, the present invention is described in detail.
As shown in Figure 1, map rendering intent embodiment of the present invention comprises:
Step 102, iteration means converts Vector spatial data according to the conversion parameter pre-set;
Step 104, rendering device obtains the Vector spatial data after conversion from iteration means;
Step 106, rendering device carries out color applying drawing to the Vector spatial data after conversion, until the data render in iteration means is drawn complete, obtains the map of color applying drawing.
Wherein, convert parameter to comprise: projective transformation parameter and plane coordinate transformation parameter.Iteration means carries out projective transformation according to projective transformation parameter, and obtain after the Vector spatial data after projective transformation is carried out plane coordinate transformation according to plane coordinate transformation parameter.
Also comprise before step 102: rendering device obtains map denotation pattern; Rendering device is map rendering parameter according to described map denotation style setting.
In step 106, rendering device carries out color applying drawing according to described map rendering parameter to the Vector spatial data after conversion.
Also comprise after step 106: display device according to the map Show Styles shows the map of described color applying drawing.
As shown in Figure 2, the specific implementation flow process of map rendering intent of the present invention is as follows:
Step 202, input space data metadata information and Show Styles etc., be all designed to layer Layer and pattern Style in general GIS software;
A VectorLayer is opened by layer name:
GLayerlayer=OpenFeatureLayer(layerName);
The display style information defined as required creates Show Styles object:
GStylestyle=CreateStyle(styleInfo);
Step 204, creates an iteration means according to layer Layer, creates rendering device according to pattern Style;
Iteration means (GeometryIterator) is defined as follows:
classGeometryIterator{
GeometryIterator (GLayerlayer ...); // constructed fuction
BoolNext (Geometryg, voidinfo ...); // obtain next vector data object
BoolSetTransform (GTransformxx ...); // all kinds of transforming object is set
};
With layer object for data source constructs iteration means:
GeometryIteratorgi=newGeometryIterator(layer,......);
According to Show Styles structure rendering device:
GraphicsDevicegd=newGraphicsDevice(style,…….);
Step 206, arranges the aid such as paintbrush paintbrush needed for the coordinate system of rendering device and initialization, arranges the projection and coordinate conversion parameter etc. of iteration means simultaneously, and combined transformation matrix;
gd.CreateBrushAndPen(……);
gi.SetTransform(x,……);
Gd.Draw (gi ...); // utilize the drafting function call entrance of iteration means
Step 208, iteration means carries out the conversion of space vector data according to projection and coordinate conversion parameter;
Step 210, rendering device takes out the Vector spatial data after conversion from iteration means;
Geometryg;
Gi.Next (g, info ...); // from iteration means, take out the rendered object of next spatial entities, if success, then carry out step 210, if failure, then end loop, carry out step 214;
Step 212, rendering device carries out color applying drawing;
gd.graphics.Draw(g,pen,brush,…….);
Step 214, judges whether the data in iteration means draw complete; If so, perform step 216, if not, perform step 210;
Step 216, release rendering objects etc., are presented in map window by the result played up;
gi.Release();
gd.Release();
style.Release();
layer.Release()。
As shown in Figure 3, the present invention also provides a kind of map rendering system embodiment to comprise: rendering device 32 and iteration means 31.Iteration means 31, obtains the Vector spatial data after converting according to the conversion parameter pre-set to Vector spatial data after converting.Rendering device 32, obtains the Vector spatial data after conversion from described iteration means, carries out color applying drawing to the Vector spatial data after conversion, until the data render in described iteration means is drawn complete, obtains the map of color applying drawing.
Wherein, rendering device also obtains map denotation pattern; Map rendering parameter according to described map denotation style setting; According to described map rendering parameter, color applying drawing is carried out to the Vector spatial data after conversion.
This system also comprises: display device 33, shows the map of described color applying drawing according to described map denotation pattern.
Invention creates the iteration means for postponing to obtain spatial data, it can be used as diagram parameter to pass to drawing instrument, instead of directly transmit spatial data object to drawing instrument.Reduce the interim medium object in conversion by unified for conversion between projective transformation and plotting planes coordinate system in iteration means, in drafting action, directly spatial data can be transformed to drawing coordinate used of drawing like this.
Map rendering intent of the present invention and system, by iteration means, conversion is unified to Vector spatial data, reduce the interim medium object in conversion, saved the frequent memory cost creating basic drawing instrument in drawing, that improves Vector spatial data plays up drawing efficiency.
It is noted that above embodiment is only in order to illustrate the present invention and unrestricted, the present invention is also not limited in above-mentioned citing, and all do not depart from technical scheme and the improvement thereof of the spirit and scope of the present invention, and it all should be encompassed in right of the present invention.

Claims (6)

1. a map rendering intent, is characterized in that, comprising:
Rendering device obtains the Vector spatial data after conversion from iteration means, Vector spatial data after described conversion obtains after being converted Vector spatial data according to the conversion parameter pre-set by described iteration means, and described conversion parameter comprises: projective transformation parameter and plane coordinate transformation parameter;
Described rendering device carries out color applying drawing to the Vector spatial data after conversion, until the data render in described iteration means is drawn complete, obtains the map of color applying drawing;
Vector spatial data after described conversion carries out projective transformation by described iteration means according to described projective transformation parameter, and obtain after the Vector spatial data after projective transformation is carried out plane coordinate transformation according to described plane coordinate transformation parameter.
2. method according to claim 1, is characterized in that, also comprises before the Vector spatial data after rendering device obtains conversion from described iteration means:
Obtain map denotation pattern;
According to described map denotation style setting map rendering parameter;
Described rendering device carries out color applying drawing to the Vector spatial data after conversion and comprises:
Described rendering device carries out color applying drawing according to described map rendering parameter to the Vector spatial data after conversion.
3. method according to claim 2, is characterized in that, also comprises: display device shows the map of described color applying drawing according to described map denotation pattern.
4. a map rendering system, is characterized in that, comprising: rendering device and iteration means;
Described iteration means, after converting Vector spatial data according to the conversion parameter pre-set, obtain the Vector spatial data after converting, described conversion parameter comprises: projective transformation parameter and plane coordinate transformation parameter;
Rendering device, for obtaining the Vector spatial data after conversion from described iteration means, carries out color applying drawing to the Vector spatial data after conversion, until the data render in described iteration means is drawn complete, obtains the map of color applying drawing;
Vector spatial data after described conversion carries out projective transformation by described iteration means according to described projective transformation parameter, and obtain after the Vector spatial data after projective transformation is carried out plane coordinate transformation according to described plane coordinate transformation parameter.
5. system according to claim 4, is characterized in that, described rendering device, also for obtaining map denotation pattern; According to described map denotation style setting map rendering parameter; According to described map rendering parameter, color applying drawing is carried out to the Vector spatial data after conversion.
6. system according to claim 5, is characterized in that, also comprises: display device, for showing the map of described color applying drawing according to described map denotation pattern.
CN201310026386.9A 2013-01-24 2013-01-24 A kind of map rendering intent and system Active CN103390369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310026386.9A CN103390369B (en) 2013-01-24 2013-01-24 A kind of map rendering intent and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310026386.9A CN103390369B (en) 2013-01-24 2013-01-24 A kind of map rendering intent and system

Publications (2)

Publication Number Publication Date
CN103390369A CN103390369A (en) 2013-11-13
CN103390369B true CN103390369B (en) 2016-04-13

Family

ID=49534621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310026386.9A Active CN103390369B (en) 2013-01-24 2013-01-24 A kind of map rendering intent and system

Country Status (1)

Country Link
CN (1) CN103390369B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103035164B (en) * 2012-12-24 2015-03-25 广东威创视讯科技股份有限公司 Rendering method and system of geographic information system
CN103903289B (en) * 2014-04-02 2015-03-04 中国地质大学(武汉) Stochastic pattern wetland pattern generating method based on fractal generator
CN108572816A (en) * 2018-04-17 2018-09-25 国网上海市电力公司 A method of input parameter is visualized and is projected to map
CN112783385A (en) * 2021-01-04 2021-05-11 河北志晟信息技术股份有限公司 Dynamic generation method of environment-friendly monitoring map point location identification

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739887A (en) * 2009-12-01 2010-06-16 陈建平 Method and device for acquiring three-dimensional paleotopographic map
CN101833780A (en) * 2010-05-07 2010-09-15 南京大学 Run expression and operation-based map drawing method
CN101887595A (en) * 2009-05-14 2010-11-17 武汉如临其境科技创意有限公司 Three-dimensional digital earth-space data organizing and rendering method based on quad-tree index
CN102157001A (en) * 2011-04-14 2011-08-17 中国测绘科学研究院 Method and system for drawing electronic map
CN102509511A (en) * 2011-11-25 2012-06-20 武汉大学 Rapid map making system based on GIS (Geographic Information System) data
CN102800123A (en) * 2010-11-05 2012-11-28 浙江华震数字化工程有限公司 Portable image holography three-dimensional reconstruction system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010287218A (en) * 2009-05-14 2010-12-24 Tomo Data Service Co Ltd Feature data registration system, feature data registration method, and feature data registration program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887595A (en) * 2009-05-14 2010-11-17 武汉如临其境科技创意有限公司 Three-dimensional digital earth-space data organizing and rendering method based on quad-tree index
CN101739887A (en) * 2009-12-01 2010-06-16 陈建平 Method and device for acquiring three-dimensional paleotopographic map
CN101833780A (en) * 2010-05-07 2010-09-15 南京大学 Run expression and operation-based map drawing method
CN102800123A (en) * 2010-11-05 2012-11-28 浙江华震数字化工程有限公司 Portable image holography three-dimensional reconstruction system
CN102157001A (en) * 2011-04-14 2011-08-17 中国测绘科学研究院 Method and system for drawing electronic map
CN102509511A (en) * 2011-11-25 2012-06-20 武汉大学 Rapid map making system based on GIS (Geographic Information System) data

Also Published As

Publication number Publication date
CN103390369A (en) 2013-11-13

Similar Documents

Publication Publication Date Title
CN106200983B (en) A kind of system of combination virtual reality and BIM realization virtual reality scenario architectural design
CN103714167B (en) A kind of online 3 D displaying method of disaster information space-time data
CN103390369B (en) A kind of map rendering intent and system
CN108225348A (en) Map building and the method and apparatus of movement entity positioning
Yalcin et al. 3D city modelling with Oblique Photogrammetry Method
CN106683189B (en) A method of the rendering type in three-dimensional scenic
KR100895978B1 (en) Digital watercolor simulation system and method thereof
CN110516015B (en) Method for manufacturing geographical PDF map based on map graphic data and DLG
CN109598077A (en) A kind of graphics pipeline device and modeling method based on GPU chip
CN108345440A (en) A kind of method and its device of the geometric figure auxiliary line of display addition
CN204695673U (en) A kind of for the three-dimensional digital sand table in urban planning and construction
CN104765266A (en) Simulation clock display method and device and LED display control card
CN107958209B (en) Illegal construction identification method and system and electronic equipment
CN103559342B (en) The emulation mode of liquid crystal display in a kind of protective relaying device
JP7375149B2 (en) Positioning method, positioning device, visual map generation method and device
Tsai et al. Integration of BIM and GIS to query management on pipeline of building-a case study of dormitory
Zhao et al. Using augmented reality and mixed reality to interpret design choices of high-performance buildings
Kahraman et al. Developing web-based 3D campus information system
Qiu et al. Web-based 3D map visualization using WebGL
CN110378904A (en) The method and apparatus that point cloud data is split
CN109509234B (en) Urban building group high-definition grid map vectorization-based method
CN101510375B (en) Method for processing electronic map data file
CN111476873B (en) Mobile phone virtual graffiti method based on augmented reality
CN109858176B (en) Urban three-dimensional model construction system based on high-altitude photography acquisition technology
Zou et al. An overview of geospatial information visualization

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
CP03 Change of name, title or address

Address after: No. 9 Dengzhuang South Road, Haidian District, Beijing 100094

Patentee after: Institute of Remote Sensing and Digital Earth, Chinese Academy of Sciences

Patentee after: Beijing Zhongyao Ground Network Information Technology Co.,Ltd.

Address before: 100101 Beijing Chaoyang District Andingmen Datun Road No. 20 North

Patentee before: Institute of Remote Sensing Applications, Chinese Academy of Sciences

Patentee before: Beijing Zhongyao Ground Network Information Technology Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20231031

Address after: 100190 No. 19 West North Fourth Ring Road, Haidian District, Beijing

Patentee after: Research Institute of aerospace information innovation, Chinese Academy of Sciences

Patentee after: Beijing Zhongyao Ground Network Information Technology Co.,Ltd.

Address before: No. 9 Dengzhuang South Road, Haidian District, Beijing 100094

Patentee before: Institute of Remote Sensing and Digital Earth, Chinese Academy of Sciences

Patentee before: Beijing Zhongyao Ground Network Information Technology Co.,Ltd.

TR01 Transfer of patent right