CN102467519A - Visualization plotting method and system based on geographic information system - Google Patents

Visualization plotting method and system based on geographic information system Download PDF

Info

Publication number
CN102467519A
CN102467519A CN201010538048XA CN201010538048A CN102467519A CN 102467519 A CN102467519 A CN 102467519A CN 201010538048X A CN201010538048X A CN 201010538048XA CN 201010538048 A CN201010538048 A CN 201010538048A CN 102467519 A CN102467519 A CN 102467519A
Authority
CN
China
Prior art keywords
vml
statement
map
plotting
mapable
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.)
Granted
Application number
CN201010538048XA
Other languages
Chinese (zh)
Other versions
CN102467519B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201010538048.XA priority Critical patent/CN102467519B/en
Publication of CN102467519A publication Critical patent/CN102467519A/en
Application granted granted Critical
Publication of CN102467519B publication Critical patent/CN102467519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a visualization plotting method based on a geographic information system (GIS). The visualization plotting method comprises the steps of: obtaining all currently-plotted VML (Vector Markup Language) statements; processing the VML statements, converting screen coordinates of plotted patterns corresponding to the VML statements into map geographic coordinates; reconstructing the VML statements to form and associate as well as store map-visualization VML statements, and replacing the screen coordinates with the map geographic coordinates; when a reference position and/or screen plotting scale of a map changes, extracting all map-visualization VML statements associated with a selected VML identifier, extracting the map geographic coordinates of the map-visualization VML statements, and converting a map geographic position into new screen coordinates; reconstructing the map-visualization VML statements to form new VML statements, replacing the map geographic coordinates in the new VML statements with the screen coordinates; and executing the new VML statements to display a corresponding plotted pattern. Through conversion and associating-storage of the VML statements, the invention ensures that the proper plotted patterns can be dynamically shown with the change of the map when the map is subjected to various operations.

Description

Visual drawing method and system based on GIS-Geographic Information System
Technical field
The present invention relates to the image viewing field, relate in particular to a kind of based on the GIS-Geographic Information System visual drawing method and the system of (Geographic Information System is called for short GIS).
Background technology
Along with fast development of Chinese economy, more next many population in economically developed urban agglomerations, safeguard these metropolitan prosperity and stabilities, and important responsibility is being undertaken by relevant departments.Particularly modern big city population is mobile big, and society and environmental structure are very complicated, seem important unusually especially so can various emergent problem properly solve fast.
In relevant system software; Generalized information system obtains application more and more widely with its powerful SPATIAL CALCULATION ability and the graphical very intuitively form of expression, and the lifting of computer hardware combination property can be satisfied the demand of generalized information system to high speed processing ability and mass memory.
ArcIMS (Arc Internet Map Server) is (the Economic & Social Research Institute of economy and society research institute; Abbreviation ESRI) GIS platform on the second generation internet of up-to-date release, its structure is used for satisfying the needs that geodata and service are provided through special design on Internet.With ArcIMS is GIS platform; Through the ajax technology; Technology such as regular expression, JavaScript is with VML label implementation structureization; And through this VML content of real-time storage analysis, represent fast on the map foreground, make it on map layer, to realize the sequence of operations of real-time visual analyzing.Map view functions such as this GIS platform has amplification except possessing, dwindles, translation, full figure, preceding figure, back figure, hawkeye, the control of figure layer, click inquiry, frame selects the space queryings such as inquiry, layer properties inquiry; Also must have incident positioning function, global eyes, senior spatial analysis and aid decision making functions such as distance measuring, buffering analysis, thematic map.
In current GIS platform, to handle each incident and all need employ map plotting function, map is marked and drawed and is referred on map background, mark and draw various the have thing of space characteristics, the distribution or the action deployment of thing.Therefore the user more and more hopes and can make the situation form on the strange land, show through transmission mark elementary state on network, supports the utilization to the existing result of plotting simultaneously, and friendly man-machine interface is arranged, and can make more effectively using system of user.
Yet there is certain defective in the JAVA drawing function that existing engine map provides.As shown in Figure 1, provided and utilized engine map that current map is marked and drawed effect afterwards.But after map was amplified reduction operation, as shown in Figure 2, can find promptly to mark and draw figure can't change and corresponding resize ratio along with the ratio of map, still is initial size of drawing.In addition, as shown in Figure 3 after the map of marking and drawing is carried out roam operation, can find to mark and draw the size that figure is still initial drawing, the screen position when remaining at initial drawing can not show in the relevant position along with moving of map.
Therefore the map of existing engine map (for example ArcIMS etc.) is marked and drawed function and is had big defective, only be suitable for static map to browse, and can't be under operations such as map convergent-divergent translation the suitable plotting figure of Dynamic Display.
Summary of the invention
The objective of the invention is to propose a kind of visual drawing method and system, plotting figure that can Dynamic Display is suitable under various map operations based on GIS.
For realizing above-mentioned purpose, the invention provides a kind of visual drawing method based on GIS, comprising:
But obtain all vector SGML VML statements of current plotting;
Said VML statement is handled, and the screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into;
Said VML statement is recombinated, form mapable VML statement, and the said mapable VML of association store statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate;
In the reference position of map and/or screen proportion chi when changing, extract with selected VML and identify all related mapable VML statements;
Said mapable VML statement is carried out the extraction of map geographic coordinate, and convert said map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes;
Said mapable VML statement is recombinated, form new VML statement, in new VML statement, the map geographic coordinate is replaced with screen coordinate;
Carry out said new VML statement, to show corresponding plotting figure.
For realizing above-mentioned purpose, the invention provides a kind of visual plotting system based on GIS-Geographic Information System, comprising:
VML statement acquisition module, but be used to obtain all vector SGML VML statements of current plotting;
VML statement recombination module; Be used for said VML statement is handled; The screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into; Then said VML statement is recombinated, form mapable VML statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate;
Mapable VML statement memory module is used for the said mapable VML of association store statement;
Mapable VML statement extraction module is used in the reference position of map and/or screen proportion chi when changing, and extracts with selected VML and identifies all related mapable VML statements;
New VML statement recombination module; Be used for converting said map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes; And said mapable VML statement recombinated; Form new VML statement, in new VML statement, the map geographic coordinate is replaced with screen coordinate;
Mark and draw image display module, be used to carry out said new VML statement, to show corresponding plotting figure.
Based on technique scheme, the present invention makes when map is carried out various operation through to the conversion and the association store of VML statement, plotting figure that can Dynamic Display is suitable along with the variation of map.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 marks and draws effect synoptic diagram afterwards to current map in the prior art.
Fig. 2 is to the effect synoptic diagram after the map execution amplification reduction operation in the prior art.
Fig. 3 is to the effect synoptic diagram after the map execution roam operation in the prior art.
Fig. 4 is the schematic flow sheet of an embodiment that the present invention is based on the visual drawing method of GIS.
Fig. 5 is the effect synoptic diagram after the embodiment of the invention is marked and drawed current map.
To be the embodiment of the invention carry out the effect synoptic diagram that amplifies after the reduction operation to map to Fig. 6.
To be the embodiment of the invention carry out the effect synoptic diagram after the roam operation to map to Fig. 7.
Fig. 8 is the structural representation of an embodiment that the present invention is based on the visual plotting system of GIS.
Fig. 9 is the structural representation of another embodiment that the present invention is based on the visual plotting system of GIS.
Embodiment
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
At first introduce VML.The full name of VML is Vector Markup Language (but vector SGML).The figure of vector means that figure can amplify the quality of dwindling and not losing figure arbitrarily, and this has very big purposes on the making map.VML is equivalent to the paintbrush of IE the inside, can realize the figure that you want, and combines script, can let figure produce dynamic effect.
GIS among the present invention marks and draws framework has three layers, according to priority is respectively map (MAP) layer, framework (IFRAME) layer and piece (DIV) layer from low to high.The MAP layer is the level framework that is used to represent the bottom of ground module, promptly represents represent relevant with map.The IFRAME layer is to be used for the secondary level framework that temporary VML marks and draws data, and it is higher than MAP layer priority on the MAP layer.The DIV layer is the highest level framework of priority, and it is used to represent the front page layout effect of plotting, promptly on map, represents the level framework of plotting.
It is to carry out through triggering mouse event (adopting the triggering mode of handwriting pad, touch-screen etc. also can realize) that GIS marks and draws.The basic plotting is broadly divided into three types, that is: pencil, circle and square.When marking and drawing, online draw and edit device is created new DIV layer on map, add the VML of each type through mouse (or handwriting pad, touch-screen), the irregular shape that plots like pencil, circle, or square etc.
Through several embodiment the visual drawing method based on GIS of the present invention is described once below.As shown in Figure 4, be the schematic flow sheet of an embodiment of the visual drawing method that the present invention is based on GIS.In the present embodiment, this visual plotting flow process comprises:
But step 101, obtain all vector SGML VML statements of current plotting;
Step 102, said VML statement is handled, the screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into;
Step 103, said VML statement is recombinated, form mapable VML statement, and the said mapable VML of association store statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate;
Step 104, in the reference position of map and/or screen proportion chi when changing, extract with selected VML and identify all related mapable VML statements;
Step 105, said mapable VML statement is carried out the extraction of map geographic coordinate, and convert said map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes;
Step 106, said mapable VML statement is recombinated, form new VML statement, in new VML statement, the map geographic coordinate is replaced with screen coordinate;
Step 107, the said new VML statement of execution are to show corresponding plotting figure.
In the step 101 of present embodiment; When utilizing mouse (or handwriting pad, touch-screen etc.) on map, to draw circle (comprising ellipse), square, other irregular arbitrarily shape (be referred to as VML hereinafter and mark and draw figure) etc.; Through catching mouse (or handwriting pad, touch-screen etc.) to each screen coordinate of current operation and the size and the color of current nib setting; Obtain the location parameter that each VML marks and draws figure; Like the topology value of the screen drawing height of pencil, left planimetric position, combined spot, radius of a circle, priority, transparency, color, central point or the like, obtain the VML statement of current mapping operation thus.Certainly, once mark and draw square, the circle of arbitrary number to comprise arbitrary number and other irregular shapes of arbitrary number.
Square VML statement form is:
<v:rect>style=LEFT;TOP;WIDTH;HEIGHT</v:rect>,
For example:
<v:rectstyle=LEFT:260px;TOP:230px;WIDTH:100;HEIGHT:50</v:rect>
Wherein<v:rect>* * *</v:rect>For identifying square identifier; Plotting starting point when LEFT and TOP have described and marked and drawed through mouse is apart from the position on the page left side, apart from the position of page top; WIDTH and HEIGHT have described width and the height of marking and drawing.
Circular VML statement form is:
<v:oval>style=LEFT;TOP;WIDTH;HEIGHT</v:oval>,
For example:
<v:ovalstyle=LEFT:290px;TOP:250px;WIDTH:50;HEIGHT:100</v:oval>
Wherein<v:oval>* * *</v:oval>For identifying circular identifier; Plotting starting point when LEFT and TOP have described and marked and drawed through mouse is apart from the position on the page left side, apart from the position of page top; WIDTH and HEIGHT have described and have marked and drawed the circular major axis and the length of minor axis.
Irregular shape VML statement form is:
<v:shape>style=LEFT;WIDTH;path</v:shape>,
For example:
<v:shape>style=LEFT:171;TOP:225;path=″m0,0;l30,-30,60,0;e″</v:shape>
Wherein<v:shape>* * *</v:shape>For identifying the identifier of other shape; Plotting starting point when LEFT and TOP have described and marked and drawed through mouse is apart from the position on the page left side, apart from the position of page top.
Marking and drawing path P ath field then explains through following example simply.
The data mode of Path is=" ma, b; Lx1, y1 ... Xn, yn; E ", ma wherein, a among b value size, the b of the LEFT in the VML statement at this Path place represent the to squint value size of TOP of representing to squint.Parameter x n among the l, yn have described with respect to (LEFT+a, each summit of TOP+b) marking and drawing.It should be noted as stated the starting point marked and drawed for (LEFT, TOP).With the triangle is example, for example path=" m0,0; L30 ,-30,60,0,0,0; E ", m0,0 expression non-migration.30 ,-30 expressions with respect to (LEFT+0, TOP+0) to the right 30px, downwards-point of 30px (promptly upwards 30px); 60,0 expressions are with respect to (LEFT+0, TOP+0) 60px, the downward point of 0px to the right; 0,0 expression is with respect to (LEFT+0, TOP+0) 0px, the downward point of 0px to the right; Promptly be exactly to get back to starting point (LEFT TOP), has constituted triangular form thus.
It should be noted that square VML statement, circular VML statement, other shapes VML statement are not limited to above-mentioned instance, those skilled in the art can select the VML statement of appropriate format as required.
In addition, need to prove that above all corresponding numerical value is the screen coordinate point under the current map scale, do not have uniqueness and permanent, do not possess the storage meaning.Therefore, the different parameters of VML statement that need these are dissimilar all excavates one by one, autotelic conversion, and clocklike storing, during to extraction again with it conversion, put back to former VML statement accurately successively.
In the step 102 in the present embodiment, need handle the VML statement that obtains, the screen coordinate of the plotting figure that the VML statement is corresponding converts the map geographic coordinate into.Consider that computing machine can reduce treatment effeciency at the numerous change analysis mode of processing multiclass plotting figure time-frequency; Therefore higher in order to improve treatment effeciency; Can be after obtaining the VML statement; VML statement to all is classified, so that computing machine can be marked and drawed the dissection process that figure unitizes to every type respectively, avoids frequently changing analysis mode.
Instance through the front can find out that the VML statement is actually a string character string, that each VML statement possibly comprise is square (with<v:rect>* * *</v:rect>Character string for identifier), circular (with<v:oval>* * *</v:oval>Character string for identifier) or irregular shape (with<v:shape>* * *</v:shape>Character string for identifier) etc. mark and draw figure.Can classify to the VML statement that obtains through these identifiers.
The parameter of the plotting figure of each type is all inequality in these sorted VML statements; Mark and draw in the figure (irregular shape, circle, square) at main VML; Difform PATH value, LEFT value, TOP value have determined scale and height, width, the left and right sides ratio of drawing and map; Each connects the topological relation of turning point other figures of PATH value representation, and circular and square LEFT value, TOP value, WIDTH value, HEIGHT value determined important informations such as transverse axis and the longitudinal axis and central point, the length and width of this rule-like figure.Therefore; Mark and draw figure to various VML and extract corresponding screen coordinate; Specifically, promptly extract PATH value, LEFT value, the TOP value in the difform VML statement and preserve the also preservation of the LEFT value of the VML statement that extraction is circular and square, TOP value, WIDTH value, HEIGHT value.
Behind the screen coordinate of the plotting figure in extracting each VML statement, these VML statements are converted screen coordinate into the map geographic coordinate sentence by sentence.The front is mentioned because treated Graphics Character string is only effective under current map scale; Only corresponding to the point of the screen coordinate under the current map scale; If therefore hope to be consistent in real time, need convert the coordinate parameters of each VML plotting figure into the map geographic coordinate with map.This conversion can be adopted such as prior aries such as ratio method such as equal difference and realize, thereby does not do detailed description at this.Therefore,, can real the combining of diagram parameter and map be bound, thereby reach the purpose of preserving the map true coordinate through above-mentioned steps.
Consider the irregular coordinate that possibly exist some to cause in the VML statement because of undesired mouse action, and more issuable irregular symbols in the statement.Give an example, there are three difform VML statements in the classification back, is respectively:
<v:shape>style=LEFT:90;TOP:80;path=″m0,0;l00,30,60,20,20.0,0,0;e″</v:shape>;
<v:shape>style=LEFT:260;TOP:230;path=″m0,1;l30,-30,60,0;e″</v:shape>;
<v:shape>style=LEFT:290;TOP:250;path=″m1,1;l30,-30,60,0;e″</v:shape>。
Second starting point m0 wherein, 1, the three starting point m1; 1 possibly be because the user when a mouse click, because error has become double-click, causes this starting point that skew has been arranged; But because this skew is very small, can't follow-up operating result be impacted, therefore can the starting point in these two all be unified into the m0 of non-migration; 0, on analytical Calculation, more save time, improve treatment effeciency.In addition; To the Path value characteristics lack of standardization of other figures, some punctuation mark in the path value array of other figures is unified, for example with pause mark ', ' rule turn to comma '; ', and remove the blank character that occurs sometimes in the array in case next step automatically conversion make mistakes.
In the step of extracting screen coordinate sentence by sentence, with obtain each in LEFT value, TOP value and path value be kept in the corresponding array, in switch process, one by one LEFT value and TOP value are converted into the map geographic coordinate in order then; For example LEFT is 90 in first, and TOP is 80, and this this figure initial point of expression is at (90 of current screen; 80) pixel place; And conversion according to the map, becoming LEFT is 4000, TOP is 3000; This is illustrated in, and this figure initial point is (4000,3000) of map reference in the map.
Because difform singularity when reduction Path value, add the LEFT value and the TOP value of screen coordinate respectively successively on horizontal ordinate and ordinate value, guarantee its primitiveness, one by one the path value is transformed map reference, for example path=" m0,0 in order again; L00,30,60,20.20.0,0,0; E ", remove RP m0 end to end, 0; L000,0; E, three-dimensional (30,60) (20,20) (0,0) in the middle of taking out; Because these 3 are not represented the screen coordinate point, just three groups is the point sequence of reference with the starting point, before therefore must adding (LEFT, TOP); Just these three coordinates finally become (30+90,60+80) (20+90,20+80) (0+90,0+80); After the map conversion, be (2500,2500) (1500,2800) (0,0) again.
In the step 103 of present embodiment, need recombinate to the VML statement, form mapable VML statement, and association store mapable VML statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate.
The association store here comprises two layers of meaning, and one deck is the association store between the map geographic coordinate after preceding screen coordinate of conversion and the conversion, and this layer association store is to resolve for ease to mark and draw statement and make it visual, and supplies to analyze and represent; Another layer be handle during the storage organization VML sign (VMLID) once marked and drawed is marked and drawed with this time all the association store between the VML statement of physics and chemistry; Owing to can comprise the square plotting figure of any amount, circular figure and the irregular shape plotting figure marked and drawed in once marking and drawing; And this VMLID corresponding the ground physics and chemistry VML statement after this time all reorganization in marking and drawing, through this association can so that the user in repeatedly plotting process, directly select VMLID to select and call corresponding VML statement and mark and draw the visual of figure and represent.
Before association store; Each VML statement in will marking and drawing this is recombinated; So that obtain the VML statement; Regrouping process promptly is the plotting parameter value after the conversion to be embedded each again mark and draw in statement, if any many plotting statements that type is identical, then through the embedding that circulates of JavaScript method.For difform VML statement, with the PATH value after the conversion, TOP value, LEFT value, this reorganization of irregular shape identifier.For square or circular VML statement,, thereby form the VML statement that has true map geographic coordinate with the TOP value after the conversion, LEFT value, WIDTH value, HEIGHT value, this reorganization of square or circular identifier.VML statement institute stored parameters after the reorganization all is the true geographic coordinate related with map, so VML statement at this moment is called ground physics and chemistry VML statement or ground physics and chemistry plotting statement.
Still marking and drawing figure with irregular shape is example, with the x of Path, and the y value is recombinated by former order successively, for example Path=" m0,0; L00,30,60,20,20.0,0,0; E " becomes path=" 2500,2500,1500,2800,0,0 after treatment, ", the path value and the irregular shape identifier of the LEFT value after the conversion, TOP value, the completion of recombinating embedded in former other graphic plot statements sentence by sentence.For example, conversion plotting statement before is not:
<v:shape>Style=LEFT:90; TOP:80; Path=" m0,0; L00,30,60,20,20.0,0,0; E "</v:shape>, through the VML statement after step B, the C be:
<v:shape>style=LEFT:4000;TOP:3000;path=″m0,0;l00,2500,2500,1500,2800.0,0,0;e″</v:shape>。
If reference position and/or screen proportion chi at map in step 104 change, extract and all related mapable VML statements of selected VML sign.When the user need carry out online representing to a certain plotting; The reference position of map and/or screen proportion chi change and may change; If still continue to use original screen coordinate; Then be difficult to be consistent with map, what therefore need extraction is that the mapable VML statement that VMLID is associated is marked and drawed in this time, and what comprise in this mapable VML statement is the character string of the plotting figure of real map geographic coordinate.
In step 105, mapable VML statement is carried out the extraction of map geographic coordinate, and convert the map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes.Before extracting the map geographic coordinate; Reason owing to data base tool; Mixed nonstandard symbol in the mapable VML statement that may cause extracting,, can carry out regularization the irregular symbol in the mapable VML statement in order to reduce the possibility of makeing mistakes.If the mapable VML statement that extracts in order to improve processing speed, can also increase the operation of classification not according to classification and ordination, concrete sorting technique can be with reference to aforementioned classification to the VML statement.
The transfer process of coordinate is exactly that reference position and/or screen proportion chi according to the map that changes converts the map geographic coordinate into new screen coordinate; And conversion method and aforesaid screen coordinate to convert the map geographic coordinate to be reverse and approximate, just do not elaborated here.
In the new VML statement that step 106 reorganization obtains, the map geographic coordinate is replaced by new screen coordinate, and these new screen coordinates have been formed all kinds of plotting figures with current map match.
After having obtained the new VML statement after the reorganization, can on map (MAP) layer, create new piece (DIV) layer, and show that at the piece layer each marks and draws the corresponding plotting figure of label in the new VML statement.
Through above-mentioned steps, can realize that plotting figure on the map schemes and become everywhere, represent really and accurately map and mark and draw.
Compare with Fig. 1-3, Fig. 5 shows the design sketch after utilizing the present invention to mark and draw.As shown in Figure 6; After carrying out map amplification reduction operation, can find not only can show drawing fast, and the adjustment variation of self is carried out in this drawing immediately along with the ratio variation of map; Defer to the implication of initial drawing, thereby remain on the accuracy of drawing and showing in the map.As shown in Figure 7; After carrying out the map roam operation; Can find not only can show drawing fast, and the instant adjustment of carrying out self along with the ratio variation of map of this drawing changes also strict maintenance of geographical directivity and the unified state of truth; Defer to the implication of initial drawing, thereby remain on the accuracy of drawing and showing in the map.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Hardware can comprise the processing unit of network side; Wherein this unit can comprise CPU, RAM, ROM and i/o controller, and all these parts can and interconnect through console controller.This unit further comprises communication interface, memory device, floppy disk and graphics controller.Especially, floppy disk can be read and write floppy disk, and graphics controller is driving display then.
CPU operates according to the program that is stored among ROM, BIOS and the RAM, and controls each part thus.All kinds of plotting figures can pass through mouse (or input equipments such as handwriting pad, touch-screen) input.Memory device is also stored code and the data of the program of the present invention that supplies computing machine to use, application, OS or the like.After this, program and data will be loaded among the RAM and use for CPU.
Can find out that from the said structure instance any hardware with multi-purpose computer function can be used as the hardware that the present invention needs.Should be noted that structure described above is not limited to the hardware configuration as embodiment of the present invention embodiment.Correspondingly, concerning other various structures, as long as can use the embodiment of the invention to it, these structures all are feasible so.In addition, each above-mentioned illustrated components may not be a necessary assembly of the present invention.In addition, the present invention can also use hardware, software or combination thereof to realize.
So far, invention has been described.Know through above-mentioned; The present invention has realized in the operation interaction of webgis and business platform; According to real-time condition is online map is is effectively marked and drawed work, and in time preserve, call at any time and represent; Be convenient to analyze, reached through the real-time reliable field data map is carried out the artificial accurately and effectively analysis sequence of operations of marking and drawing, preserve in real time, represent.Based on the visual plotting real-time storage of GIS with represent this method; Make map plotting function be used for reality based on existing engine map; Particularly the visual analyzing of route is drawn with instant, greatly facilitates in processing events, in the face of the decision-making dirigibility and the science of each emergency situations.
As shown in Figure 8, be the structural representation of an embodiment of the visual plotting system that the present invention is based on GIS.In the present embodiment, visual plotting system comprises: VML statement acquisition module 1, VML statement recombination module 2, mapable VML statement memory module 3, mapable VML statement extraction module 4, new VML statement recombination module 5 and plotting image display module 6.
But VML statement acquisition module 1 is responsible for obtaining all vector SGML VML statements of current plotting.VML statement recombination module 2 is responsible for the VML statement is handled; The screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into; Then said VML statement is recombinated; Form mapable VML statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate.Mapable VML statement memory module 3 is responsible for the said mapable VML of association store statement.When mapable VML statement extraction module 4 is responsible in the reference position of map and/or the screen proportion chi changes, extract and all related mapable VML statements of selected VML sign.New VML statement recombination module 5 is responsible for converting said map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes; And said mapable VML statement recombinated; Form new VML statement, in new VML statement, the map geographic coordinate is replaced with screen coordinate.Mark and draw image display module 6 and be responsible for carrying out said new VML statement, to show corresponding plotting figure.
As shown in Figure 9, be the structural representation of another embodiment of the visual plotting system that the present invention is based on GIS.Compare with a last embodiment, present embodiment can also comprise VML statement classification module 7, and this module is used for according to the shape identifier of said VML statement said VML statement being classified.Sorted VML statement efficient on dissection process is higher, and is also more convenient.
That the type of the plotting figure in the VML statement can comprise is square, circular and irregular shape; Mark and draw starting point apart from the distance on the page left side, width and the height square apart from distance, the plotting of page top said square comprising; Said circle comprise mark and draw starting point apart from the distance on the page left side, apart from the distance of page top, mark and draw square width and height, said irregular shape comprises and marks and draws starting point apart from the distance on the page left side, apart from the distance of page top with mark and draw the path.
Consider and to have the irregular symbol that occurs in some irregular coordinates that cause because of the input equipment operation, the database manipulation in the VML statement; These irregular coordinates and irregular symbol may cause coordinate to extract and change and mistake occur; For fear of this mistake; Can in system, add VML statement law module 8, this module is used for the irregular coordinate of said VML statement and irregular symbol are carried out regularization.
In mapable VML statement leaching process, also exist the possibility that causes occurring irregular symbol because of database manipulation; Therefore the mistake of bringing for fear of this irregular symbol; Also can add mapable VML statement law module 9, the irregular symbol in the mapable VML statement is carried out regularization.
In another embodiment of visual plotting system, marking and drawing image display module can also specifically comprise: the piece layer is created the unit, is used on map layer, creating new piece layer; Mark and draw pattern displaying unit, each marks and draws the corresponding plotting figure of label to be used for showing said new VML statement at said layer.
Should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not to its restriction; Although with reference to preferred embodiment the present invention has been carried out detailed explanation, the those of ordinary skill in affiliated field is to be understood that: still can specific embodiments of the invention make amendment or the part technical characterictic is equal to replacement; And not breaking away from the spirit of technical scheme of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (13)

1. visual drawing method based on GIS-Geographic Information System comprises:
But obtain all vector SGML VML statements of current plotting;
Said VML statement is handled, and the screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into;
Said VML statement is recombinated, form mapable VML statement, and the said mapable VML of association store statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate;
In the reference position of map and/or screen proportion chi when changing, extract with selected VML and identify all related mapable VML statements;
Said mapable VML statement is carried out the extraction of map geographic coordinate, and convert said map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes;
Said mapable VML statement is recombinated, form new VML statement, in new VML statement, the map geographic coordinate is replaced with screen coordinate;
Carry out said new VML statement, to show corresponding plotting figure.
2. visual drawing method according to claim 1 wherein, but after obtaining all vector SGML VML statements of current plotting, also comprises the operation that all VML statements are classified, and is specially:
According to the shape identifier in the said VML statement said VML statement is classified.
3. visual drawing method according to claim 2; Wherein, That the type of the plotting figure in the said VML statement comprises is square, circular and irregular shape; Mark and draw starting point apart from the distance on the page left side, width and the height square apart from distance, the plotting of page top said square comprising; Said circle comprise mark and draw starting point apart from the distance on the page left side, apart from the distance of page top, mark and draw the circular major axis and the length of minor axis, said irregular shape comprises and marks and draws starting point apart from the distance on the page left side, apart from the distance of page top with mark and draw the path.
4. visual drawing method according to claim 1 wherein, before the screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into, also comprises the operation of said VML statement being carried out regularization, is specially:
Irregular coordinate in the said VML statement and irregular symbol are carried out regularization.
5. visual drawing method according to claim 4; Wherein, Before converting said map geographic position to new screen coordinate according to the reference position of the map that changes and/or screen proportion chi, also comprise the operation of said mapable VML statement being carried out regularization, be specially:
Irregular symbol in the said mapable VML statement carries out regularization.
6. visual drawing method according to claim 1, wherein, being operating as of said association store said mapable VML statement:
Said mapable VML statement and VML are identified association store in database.
7. visual drawing method according to claim 1, wherein, the operation of the plotting figure that said demonstration is corresponding is specially:
On map layer, create new piece layer, and show that at said layer each marks and draws the corresponding plotting figure of label in the said new VML statement.
8. visual plotting system based on GIS-Geographic Information System comprises:
VML statement acquisition module, but be used to obtain all vector SGML VML statements of current plotting;
VML statement recombination module; Be used for said VML statement is handled; The screen coordinate of the plotting figure that said VML statement is corresponding converts the map geographic coordinate into; Then said VML statement is recombinated, form mapable VML statement, in the mapable VML statement after reorganization screen coordinate is replaced with the map geographic coordinate;
Mapable VML statement memory module is used for the said mapable VML of association store statement;
Mapable VML statement extraction module is used in the reference position of map and/or screen proportion chi when changing, and extracts with selected VML and identifies all related mapable VML statements;
New VML statement recombination module; Be used for converting said map geographic position to new screen coordinate according to the reference position and/or the screen proportion chi of the map that changes; And said mapable VML statement recombinated; Form new VML statement, in new VML statement, the map geographic coordinate is replaced with screen coordinate;
Mark and draw image display module, be used to carry out said new VML statement, to show corresponding plotting figure.
9. visual plotting system according to claim 8 wherein, also comprises:
VML statement classification module is used for according to the shape identifier of said VML statement said VML statement being classified.
10. visual plotting system according to claim 9; Wherein, That the type of the plotting figure in the said VML statement comprises is square, circular and irregular shape; Mark and draw starting point apart from the distance on the page left side, width and the height square apart from distance, the plotting of page top said square comprising; Said circle comprise mark and draw starting point apart from the distance on the page left side, apart from the distance of page top, mark and draw square width and height, said irregular shape comprises and marks and draws starting point apart from the distance on the page left side, apart from the distance of page top with mark and draw the path.
11. visual plotting system according to claim 8 wherein, also comprises:
VML statement law module is used for the irregular coordinate and the irregular symbol of said VML statement are carried out regularization.
12. visual plotting system according to claim 11 wherein, also comprises:
Mapable VML statement law module is used for the irregular symbol of said mapable VML statement is carried out regularization.
13. visual plotting system according to claim 6, wherein, said plotting image display module specifically comprises:
The piece layer is created the unit, is used on map layer, creating new piece layer;
Mark and draw pattern displaying unit, each marks and draws the corresponding plotting figure of label to be used for showing said new VML statement at said layer.
CN201010538048.XA 2010-11-04 2010-11-04 Visualization plotting method and system based on geographic information system Active CN102467519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010538048.XA CN102467519B (en) 2010-11-04 2010-11-04 Visualization plotting method and system based on geographic information system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010538048.XA CN102467519B (en) 2010-11-04 2010-11-04 Visualization plotting method and system based on geographic information system

Publications (2)

Publication Number Publication Date
CN102467519A true CN102467519A (en) 2012-05-23
CN102467519B CN102467519B (en) 2014-10-29

Family

ID=46071163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010538048.XA Active CN102467519B (en) 2010-11-04 2010-11-04 Visualization plotting method and system based on geographic information system

Country Status (1)

Country Link
CN (1) CN102467519B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279895A (en) * 2013-04-27 2013-09-04 广东电网公司佛山供电局 Method and system for monitoring power failure
CN103605463A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Rapid momentum plotting system and method based on GIS platform and touchscreen device
CN104537024A (en) * 2014-12-19 2015-04-22 河海大学 Mass position check-in data visualization method
WO2015131575A1 (en) * 2014-09-25 2015-09-11 中兴通讯股份有限公司 Layer-based processing method and device, and computer storage medium
CN105354295A (en) * 2015-11-04 2016-02-24 北京超图软件股份有限公司 Dynamic display apparatus and method for three-dimensional dynamic plotted-point label
CN109508134A (en) * 2017-09-14 2019-03-22 北京国双科技有限公司 A kind of map label method and apparatus
CN109974717A (en) * 2019-03-13 2019-07-05 浙江吉利汽车研究院有限公司 Localization method, device and the terminal of target point on a kind of map
CN110634171A (en) * 2019-02-01 2019-12-31 天津完美引力科技有限公司 Device and method for drawing map

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060089792A1 (en) * 2004-10-25 2006-04-27 Udi Manber System and method for displaying location-specific images on a mobile device
CN101349567A (en) * 2008-07-29 2009-01-21 方圆信通科技(北京)有限公司 Method for providing local mobile geographical information service based on GPS and mobile terminal
CN101739443A (en) * 2009-12-29 2010-06-16 广东威创视讯科技股份有限公司 System and method for fast response of GIS intelligent analyzing system on large high-definition screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060089792A1 (en) * 2004-10-25 2006-04-27 Udi Manber System and method for displaying location-specific images on a mobile device
CN101349567A (en) * 2008-07-29 2009-01-21 方圆信通科技(北京)有限公司 Method for providing local mobile geographical information service based on GPS and mobile terminal
CN101739443A (en) * 2009-12-29 2010-06-16 广东威创视讯科技股份有限公司 System and method for fast response of GIS intelligent analyzing system on large high-definition screen

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279895A (en) * 2013-04-27 2013-09-04 广东电网公司佛山供电局 Method and system for monitoring power failure
CN103605463A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Rapid momentum plotting system and method based on GIS platform and touchscreen device
CN103605463B (en) * 2013-11-28 2016-06-29 东莞中国科学院云计算产业技术创新与育成中心 Drawing method based on GIS platform and the quick situation plotting system of touch panel device
WO2015131575A1 (en) * 2014-09-25 2015-09-11 中兴通讯股份有限公司 Layer-based processing method and device, and computer storage medium
CN105512136A (en) * 2014-09-25 2016-04-20 中兴通讯股份有限公司 Method and device for processing based on layer
CN104537024A (en) * 2014-12-19 2015-04-22 河海大学 Mass position check-in data visualization method
CN104537024B (en) * 2014-12-19 2017-12-22 河海大学 A kind of magnanimity position is registered the method for visualizing of data
CN105354295A (en) * 2015-11-04 2016-02-24 北京超图软件股份有限公司 Dynamic display apparatus and method for three-dimensional dynamic plotted-point label
CN105354295B (en) * 2015-11-04 2019-12-17 北京超图软件股份有限公司 Dynamic display device and method for three-dimensional dynamic plotting point labels
CN109508134A (en) * 2017-09-14 2019-03-22 北京国双科技有限公司 A kind of map label method and apparatus
CN110634171A (en) * 2019-02-01 2019-12-31 天津完美引力科技有限公司 Device and method for drawing map
CN110634171B (en) * 2019-02-01 2024-02-27 北京完美知识科技有限公司 Device and method for drawing map
CN109974717A (en) * 2019-03-13 2019-07-05 浙江吉利汽车研究院有限公司 Localization method, device and the terminal of target point on a kind of map

Also Published As

Publication number Publication date
CN102467519B (en) 2014-10-29

Similar Documents

Publication Publication Date Title
CN102467519B (en) Visualization plotting method and system based on geographic information system
CN108829435A (en) A kind of image labeling method and general image annotation tool
US11455502B2 (en) Learning device, classification device, learning method, classification method, learning program, and classification program
CN106384371A (en) Map drawing method based on vector tile
JP6430197B2 (en) Electronic apparatus and method
CN104391786A (en) Webpage automatic test system and method thereof
RU2430421C2 (en) Applying effects to merged text path
JP2014092902A (en) Electronic apparatus and handwritten document processing method
CN103777866A (en) Data editing method and device for magnifying glass
CN103530356A (en) Electronic map service platform and electronic map data linkage displaying method
CN105488232A (en) Graphical display method for breakdown maintenance of electronic equipment
KR20210039360A (en) Method, apparatus and electronic device for annotating information of structured document
CN115393872A (en) Method, device and equipment for training text classification model and storage medium
CN102509314A (en) Quick generating method for sunlight greenhouse construction drawing
CN106650720A (en) Method, device and system for network marking based on character recognition technology
CN106294686B (en) Method for rapidly updating tree node position coordinates in thought guide graph applied to computer technical field
JP2006267228A (en) Raster map retrieving device
CN103605521A (en) Method and device for realizing interface apposition
JP2015138494A (en) Electronic device and method
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN115375795A (en) Rapid plotting method for flood frequency analysis
CN103838903A (en) Method for creating Label through user-defined font object library
US10761719B2 (en) User interface code generation based on free-hand input
CN102708169A (en) Geographical space data storage method based on SWF (Small Web Format) file extension
CN112115680A (en) Font splitting method and device, computer equipment and computer readable storage medium

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