CN102467519B - 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
CN102467519B
CN102467519B CN201010538048.XA CN201010538048A CN102467519B CN 102467519 B CN102467519 B CN 102467519B CN 201010538048 A CN201010538048 A CN 201010538048A CN 102467519 B CN102467519 B CN 102467519B
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.)
Active
Application number
CN201010538048.XA
Other languages
Chinese (zh)
Other versions
CN102467519A (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

Landscapes

  • Processing Or Creating Images (AREA)

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

Visualization plotting method based on Geographic Information System and system
Technical field
The present invention relates to image viewing field, relate in particular to a kind of based on Geographic Information System visualization plotting method and the system of (Geographic Information System is called for short GIS).
Background technology
Along with the fast development of China's economic, 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 mobility is large, and society and environmental structure are very complicated, seem especially extremely important so can various emergent problem properly solve fast.
In relevant system software, generalized information system is with its powerful space computing power and the graphical form of expression and obtain applying more and more widely very intuitively, and the lifting of computer hardware combination property can meet 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, be called for short ESRI) GIS platform on the second-generation internet of up-to-date release, its structure is used for meeting through special design the needs that geodata and service are provided on Internet.Taking ArcIMS as GIS platform, by technology such as ajax technology, regular expression, JavaScript by VML label implementation structure, and analyze this VML content by real-time storage, represent fast on map foreground, make it to realize the sequence of operations of real-time visual analyzing on map layer.The map view functions such as this GIS platform has amplification except possessing, dwindles, translation, full figure, front figure, rear figure, hawkeye, the control of figure layer, click outside the space queryings such as inquiry, frame choosing inquiry, layer properties inquiry, also must there is state event location function, global eyes, senior spatial analysis and the decision-making functions such as distance measuring, buffering analysis, thematic map.
In current GIS platform, to process each event and all need to employ map plotting function, map plotting refers to mark and draw various the have thing of space characteristics, distribution or the action deployment of thing on map background.Therefore user more and more wishes on network, to mark elementary state by transmission, and situation form is showed on strange land, supports the utilization to existing plotting result simultaneously, has friendly man-machine interface, can make user more effectively use system.
But there is certain defect in the JAVA drawing function that existing engine map provides.As shown in Figure 1, provided and utilized engine map to mark and draw effect afterwards to current map.But when map is amplified after reduction operation, as shown in Figure 2, can find to mark and draw figure can't change and corresponding resize ratio along with the ratio of map, is still initial size of drawing.In addition, carry out after roam operation at map when to marking and drawing, as shown in Figure 3, can find to mark and draw figure and be still the size of initial drawing, the screen position while remaining at initial drawing, can not show in relevant position along with the movement of map.
Therefore the map plotting function of existing engine map (such as ArcIMS etc.) has larger defect, be only suitable in static map browsing, and cannot be under the operation such as map convergent-divergent translation the suitable plotting figure of Dynamic Display.
Summary of the invention
The object of the invention is to propose a kind of visualization plotting method and system based on GIS, plotting figure that can Dynamic Display is suitable under various map operations.
For achieving the above object, the invention provides a kind of visualization plotting method based on GIS, comprising:
The all vectors that obtain current plotting can markup language VML statement;
Described VML statement is processed, the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate;
Described VML statement is recombinated, form mapable VML statement, and mapable VML statement described in association store, in the mapable VML statement after restructuring, screen coordinate is replaced with to map geographic coordinate;
In the reference position of map and/or when screen proportion chi changes, extract with selected VML and identify associated all mapable VML statements;
Described mapable VML statement is carried out to the extraction of map geographic coordinate, and convert described map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing;
Described mapable VML statement is recombinated, form new VML statement, in new VML statement, map geographic coordinate is replaced with to screen coordinate;
Carry out described new VML statement, to show corresponding plotting figure.
For achieving the above object, the invention provides a kind of visual plotting system based on Geographic Information System, comprising:
VML statement acquisition module, can markup language VML statement for all vectors that obtain current plotting;
VML statement recombination module, for described VML statement is processed, the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate, then described VML statement is recombinated, form mapable VML statement, in the mapable VML statement after restructuring, screen coordinate is replaced with to map geographic coordinate;
Mapable VML statement memory module, for mapable VML statement described in association store;
Mapable VML statement extraction module, in the reference position of map and/or when screen proportion chi changes, extracts with selected VML and identifies associated all mapable VML statements;
New VML statement recombination module, for converting described map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing, and described mapable VML statement is recombinated, form new VML statement, in new VML statement, map geographic coordinate is replaced with to screen coordinate;
Mark and draw image display module, for carrying out described new VML statement, to show corresponding plotting figure.
Based on technique scheme, the present invention by conversion and association store to VML statement, makes in the time that map is carried out to various operation, plotting figure that can Dynamic Display is suitable along with the variation of map.
Brief description of the drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is to the effect schematic diagram after current map plotting in prior art.
Fig. 2 carries out to map the effect schematic diagram amplifying after reduction operation in prior art.
Fig. 3 carries out the effect schematic diagram after roam operation to map in prior art.
Fig. 4 is the schematic flow sheet that the present invention is based on an embodiment of the visualization plotting method of GIS.
Fig. 5 is the effect schematic diagram after the embodiment of the present invention is marked and drawed current map.
Fig. 6 is that the embodiment of the present invention is carried out the effect schematic diagram amplifying after reduction operation to map.
Fig. 7 is that the embodiment of the present invention is carried out the effect schematic diagram after roam operation to map.
Fig. 8 is the structural representation that the present invention is based on an embodiment of the visual plotting system of GIS.
Fig. 9 is the structural representation that the present invention is based on another embodiment of the visual plotting system of GIS.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Paper is VML once.The full name of VML is Vector Markup Language (vector can markup language).The figure of vector means that figure can amplify arbitrarily the quality of dwindling and do not lose figure, and this has very large purposes on making map.VML is equivalent to the paintbrush of IE the inside, can realize the figure that you want, and in conjunction with script, can allow figure produce dynamic effect.
GIS in the present invention marks and draws framework three layers, is according to priority respectively map (MAP) layer, framework (IFRAME) layer and piece (DIV) layer from low to high.MAP layer is the level framework of the bottom for representing ground module, represents represent relevant to map.IFRAME layer is the secondary level framework of marking and drawing data for temporary VML, and it is higher than MAP layer priority on MAP layer.DIV layer is the level framework that priority is the highest, and it,, for representing the front page layout effect of plotting, represents the level framework of plotting on map.
It is to be undertaken by triggering mouse event (adopting the triggering mode of handwriting pad, touch-screen etc. also can realize) that GIS marks and draws.Basic plotting is broadly divided into three classes, that is: pencil, circle and square.In the time marking and drawing by mouse (or handwriting pad, touch-screen), online graph drawing editing machine creates new DIV layer on map, adds the VML of each type, the irregular shape that plots as pencil, circle or square etc.
Below by several embodiment, the visualization plotting method based on GIS of the present invention is once described.As shown in Figure 4, for the present invention is based on the schematic flow sheet of an embodiment of visualization plotting method of GIS.In the present embodiment, this visual plotting flow process comprises:
Step 101, all vectors that obtain current plotting can markup language VML statement;
Step 102, described VML statement is processed, the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate;
Step 103, described VML statement is recombinated, form mapable VML statement, and mapable VML statement described in association store, in the mapable VML statement after restructuring, screen coordinate is replaced with to map geographic coordinate;
Step 104, in the reference position of map and/or when screen proportion chi changes, extract with selected VML and identify associated all mapable VML statements;
Step 105, described mapable VML statement is carried out to the extraction of map geographic coordinate, and convert described map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing;
Step 106, described mapable VML statement is recombinated, form new VML statement, in new VML statement, map geographic coordinate is replaced with to screen coordinate;
Step 107, carry out described new VML statement, to show corresponding plotting figure.
In the step 101 of the present embodiment, when utilizing mouse (or handwriting pad, touch-screen etc.) on map, draw circle (comprising ellipse), square, other is arbitrarily when irregular shape (be referred to as hereinafter VML mark and draw figure) etc., by catching mouse (or handwriting pad, touch-screen etc.) each screen coordinate to current operation and size and the color of current nib setting, obtain the location parameter that each VML marks and draws figure, as the screen drawing height of pencil, left planimetric position, the topology value of combined spot, radius of a circle, priority, transparency, color, central point etc., obtain thus the VML statement of current mapping operation.Certainly, once mark and draw square, the circle of arbitrary number and other irregular shapes of arbitrary number that can comprise 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> is the square identifier of mark; LEFT and TOP have described plotting starting point while plotting by mouse 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 marked and drawed.
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> is the circular identifier of mark; LEFT and TOP have described plotting starting point while plotting by mouse apart from the position on the page left side, apart from the position of page top; WIDTH and HEIGHT have described the length of marking and drawing circular major axis and 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;130,-30,60,0;e″</V:shape>
Wherein <v:shape>****</v: shape> is the identifier of other shape of mark; LEFT and TOP have described plotting starting point while plotting by mouse apart from the position on the page left side, apart from the position of page top.
Marking and drawing path P ath field illustrates simply by example below.
The data mode of Path is=" ma, b; Lx1, y1 ... xn, yn; E ", wherein ma, value size, the b that a in b represents to be offset the LEFT in the VML statement at this Path place represents to be offset the value size of TOP.Parameter x n in 1, yn has described each summit of marking and drawing for (LEFT+a, TOP+b).It should be noted that the starting point of plotting described above is (LEFT, TOP).Taking triangle as example, for example path=" m0,0; 130 ,-30,60,0,0,0; E ", m0,0 represents not to be offset.30,-30 represent the point of 30px, downwards-30px (upwards 30px) to the right with respect to (LEFT+0, TOP+0), 60,0 represents with respect to (LEFT+0, TOP+0) 60px, the downward point of 0px to the right, 0,0 represents with respect to (LEFT+0, TOP+0) 0px, the downward point of 0px to the right, be exactly to get back to starting point (LEFT, TOP), formed thus triangular form.
It should be noted that square VML statement, circular VML statement, other shapes VML statement are not limited to above-mentioned example, those skilled in the art can select the VML statement of appropriate format as required.
In addition, it should be noted that above all corresponding numerical value is the screen coordinate point under current map scale, there is no uniqueness and permanent, do not possess storage meaning.Therefore, the different parameters of these dissimilar VML statements all need to be excavated out one by one, autotelic conversion, and regular storing, to when extraction again by it conversion, put back to accurately former VML statement successively.
In step 102 in the present embodiment, need to process the VML statement obtaining, the screen coordinate of plotting figure corresponding VML statement is converted to map geographic coordinate.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 obtain after VML statement, all VML statements are classified, carry out unitized dissection process so that computing machine can be marked and drawed figure to every class respectively, avoid frequently changing analysis mode.
Can find out by example above, VML statement is actually a string character string, each VML statement may comprise square (character string taking <v:rect>****</v: rect> as identifier), circular (character string taking <v:0val>****</v: oval> as identifier) or irregular shape (character string taking <v:shape>****</v: shape> as identifier) etc. are marked and drawed figure.Can classify to the VML statement obtaining by these identifiers.
In these sorted VML statements, the parameter of the plotting figure of each class is all not identical, mark and draw in figure (irregular shape, circle, square) at main VML, difform PATH value, LEFT value, TOP value have determined the scale of drawing and map and height, width, left and right ratio, 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 the important informations such as the transverse axis of this rule-like figure and the longitudinal axis and central point, length and width.Therefore, mark and draw screen coordinate corresponding to Graph Extraction for various VML, specifically, extract PATH value, LEFT value, the TOP value in difform VML statement and preserve, extract LEFT value, TOP value, WIDTH value, the HEIGHT value of circular and square VML statement and preserve.
Extracting after the screen coordinate of the plotting figure in each VML statement, these VML statements are converted to screen coordinate to map geographic coordinate sentence by sentence.Mention above because treated Graphics Character string is only effective under current map scale, only corresponding to the screen coordinate point under current map scale, if therefore wish to be consistent in real time with map, the coordinate parameters that each VML need to be marked and drawed to figure is converted to map geographic coordinate.This conversion can adopt and realize prior aries such as ratio method such as equal difference, thereby does not describe in detail at this.Therefore,, by above-mentioned steps, diagram parameter and the real combination of map can be bound, thereby reach the object of preserving map true coordinate.
Consider the irregular coordinate that may exist some to cause because of undesired mouse action in VML statement, and more issuable irregular symbols in statement.Give an example, after classification, have three difform VML statements, be respectively:
<V:shape>style=LEFT:90;TOP:80;path=″m0,0;100,30,60,20,20.0,0,0;e″</v:shape>;
<V:shape>style=LEFT:260;TOP:230;path=″m0,1;130,-30,60,0;e″</v:shape>;
<v:shape>style=LEFT:290;TOP:250;path=″m1,1;130,-30,60,0;e″</V:shape>。
Wherein second starting point m0,1, the three starting point m1,1 may be because user in the time of a mouse click, because error has become double-click, cause this starting point to have skew, but because this skew is very small, can't impact follow-up operating result, therefore the starting point in these two all can be unified into the m0 not being offset, 0, in analytical Calculation, more save time, improve treatment effeciency.In addition, for the Path value feature lack of standardization of other figures, some punctuation mark in the path value array of other figures is unified, for example pause mark ', ' rule is turned to comma ', ', and remove the blank character that sometimes occurs in array in case next step automatically conversion make mistakes.
Extracting sentence by sentence in the step of screen coordinate, LEFT value, TOP value and path value in each of acquisition are kept in corresponding array, then in switch process, one by one LEFT value and TOP value are converted into map geographic coordinate in order, for example in first, LEFT is 90, TOP is 80, this represents that this figure initial point is at (90 of current screen, 80) pixel place, and conversion according to the map, becoming LEFT is 4000, TOP is 3000, and this is illustrated in (4000,3000) that in map, this figure initial point is map reference.
Due to difform singularity, in the time of reduction Path value, on horizontal ordinate and ordinate value, add respectively successively LEFT value and the TOP value of screen coordinate, ensure its primitiveness, more one by one path value is transformed to map reference, for example path=" m0,0 in order; 100,30,60,20.20.0,0,0; E ", remove reference point m0 end to end, 0; 1000,0; E, three-dimensional (30 in the middle of taking out, 60) (20,20) (0,0), because these 3 do not represent screen coordinate point, just three groups of point sequences taking starting point as reference, therefore (the LEFT before must adding, TOP), namely these three coordinates finally become (30+90,60+80) (20+90,20+80) (0+90,0+80), then be (2500,2500) (1500 after map conversion, 2800) (0,0).
In the step 103 of the present embodiment, need to recombinate to VML statement, form mapable VML statement, and association store mapable VML statement, in the mapable VML statement after restructuring, screen coordinate is replaced with to 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 screen coordinate and the conversion before changing, and this layer of association store is mark and draw statement and make it visual for convenient parsing, and supplies analysis and represent; Another layer is the association store between the VML statement of all ground physics and chemistry of processing during the storage organization VML mark (VMLID) once marked and drawed is marked and drawed with this time, owing to can comprising 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 correspondence the ground physics and chemistry VML statement after all restructuring of this time in marking and drawing, by this association can so that 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, to obtain VML statement, regrouping process is the plotting parameter value after conversion to be embedded to each again mark and draw in statement, if any many plotting statements that type is identical, carry out loop embedding by JavaScript method.For difform VML statement, by the PATH value after conversion, TOP value, LEFT value, this restructuring of irregular shape identifier.For square or circular VML statement, by the TOP value after conversion, LEFT value, WIDTH value, HEIGHT value, this restructuring of square or circular identifier, thereby form the VML statement that has true map geographic coordinate.The parameter that VML statement after restructuring is stored is all the true geographic coordinate associated with map, therefore VML statement is now called to ground physics and chemistry VML statement or ground physics and chemistry plotting statement.
Still mark and draw figure as example taking irregular shape, by the x of Path, y value is recombinated successively by former order, for example Path=" m0,0; 100,30,60,20,20.0,0,0; E " becomes path=" 2500,2500,1500,2800,0,0 after treatment, ", LEFT value, TOP value, the path value of having recombinated and irregular shape identifier after conversion are embedded in former other graphic plot statements sentence by sentence.For example, conversion plotting statement is not before:
<v:shape>style=LEFT:90; TOP:80; Path=" m0,0; 100,30,60,20,20.0,0,0; E " </v:shape>, through the VML statement after step B, C is:
<v:shape>style=LEFT:4000;TOP:3000;path=″m0,0;100,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 all mapable VML statements associated with selected VML mark.In the time that user need to represent online 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, 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 this mapable VML statement comprised is the character string of the plotting figure of real map geographic coordinate.
In step 105, mapable VML statement is carried out to the extraction of map geographic coordinate, and convert map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing.Before extracting map geographic coordinate, due to the reason of data base tool, in the mapable VML statement that may cause extracting, mix nonstandard symbol, in order to reduce the possibility of makeing mistakes, can carry out regularization to the irregular symbol in mapable VML statement.If the mapable VML statement extracting, not according to classification and ordination, in order to improve processing speed, can also increase the operation of classification, concrete sorting technique can be with reference to the aforementioned classification to VML statement.
The transfer process of coordinate is exactly, according to reference position and/or the screen proportion chi of the map changing, map geographic coordinate is converted to new screen coordinate, and conversion method and aforesaid screen coordinate to convert map geographic coordinate to be reverse and approximate, just do not elaborated here.
Recombinate in the new VML statement obtaining in step 106, map geographic coordinate is replaced by new screen coordinate, and these new screen coordinates have formed all kinds of plotting figures with current map match.
Obtaining after the new VML statement after restructuring, can on map (MAP) layer, create new piece (DIV) layer, and showing that at piece layer in new VML statement, each marks and draws plotting figure corresponding to label.
By above-mentioned steps, the plotting figure that can realize on map is schemed everywhere and becomes, and represents map plotting really and accurately.
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, carrying out, after map amplification reduction operation, can finding not only can show fast drawing, and the adjustment variation of self along with changing, the ratio of map is carried out in this drawing immediately, defer to the implication of initial drawing, thereby remain on the accuracy of drawing and showing in map.As shown in Figure 7, carrying out after map roam operation, can find not only can show fast drawing, and the adjustment variation of self is carried out in this drawing immediately along with the ratio of map changes, geographical directivity also strictly keeps the state unified with truth, defer to the implication of initial drawing, thereby remain on the accuracy of drawing and showing in map.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by 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 see through console controller and interconnect.This unit can also comprise 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.
CPU operates according to the program being stored in ROM, BIOS and RAM, and controls thus each part.All kinds of plotting figures can pass through mouse input equipments such as (or) handwriting pad, touch-screens input.Memory device is also stored code and the data for the program of the present invention of computing machine, application, OS etc.After this, program and data will be loaded in RAM and use for CPU.
From said structure example, can find out the hardware that any hardware with multi-purpose computer function can need as the present invention.Should be noted that, structure described above is not limited to as the hardware configuration of implementing the embodiment of the present invention.Correspondingly, concerning other various structures, as long as can apply the embodiment of the present invention to it, these structures are all feasible so.In addition, each above-mentioned illustrated components may not be necessary assembly of the present invention.In addition, the present invention can also realize by hardware, software or combination thereof.
So far, invention has been described.By above-mentioned known, the present invention has realized in the operation interaction of webgis and business platform, online map is is effectively marked and drawed to work according to real-time condition, and preserve in time, call and represent at any time, be convenient to analyze, reached by real time reliable field data analysis sequence of operations is is manually marked and drawed, preserves in real time, represented to map accurately and effectively.Visual plotting real-time storage based on GIS with represent this method, make map plotting function based on existing engine map for reality, the particularly visual analyzing of route and drawing on-line, greatly facilitates in processing event, in the face of decision-making dirigibility and the science of each emergency situations.
As shown in Figure 8, for the present invention is based on the structural representation of an embodiment of visual plotting system of 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 restructuring mould certainly 5 and mark and draw image display module 6.
VML statement acquisition module 1 is responsible for obtaining all vectors of current plotting can markup language VML statement.VML statement recombination module 2 is responsible for VML statement to process, the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate, then described VML statement is recombinated, form mapable VML statement, in the mapable VML statement after restructuring, screen coordinate is replaced with to map geographic coordinate.Mapable VML statement described in the responsible association store of mapable VML statement memory module 3.Mapable VML statement extraction module 4 is responsible in the reference position of map and/or when screen proportion chi changes, is extracted with selected VML and identify associated all mapable VML statements.New VML statement recombination module 5 is responsible for converting described map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing, and described mapable VML statement is recombinated, form new VML statement, in new VML statement, map geographic coordinate is replaced with to screen coordinate.Mark and draw image display module 6 and be responsible for carrying out described new VML statement, to show corresponding plotting figure.
As shown in Figure 9, for the present invention is based on the structural representation of another embodiment of visual plotting system of GIS.Compared with a upper embodiment, the present embodiment can also comprise VML statement classification module 7, and this module is for classifying to described VML statement according to the shape identifier of described VML statement.Sorted VML statement efficiency in dissection process is higher, also more convenient.
That the type of the plotting figure in VML statement can comprise is square, circular and irregular shape, described square 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, described 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, described 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 path.
Consider in VML statement and may have the irregular symbol occurring in some irregular coordinates that cause because input equipment operates, database manipulation, these irregular coordinates and irregular symbol may cause coordinate to extract and change and occur mistake, for fear of this mistake, can in system, add VML statement law module 8, this module is for carrying out regularization by the irregular coordinate of described VML statement and irregular symbol.
In mapable VML statement leaching process, also exist the possibility that factor data bank operation causes occurring irregular symbol, therefore the mistake of bringing for fear of this irregular symbol, also can add mapable VML statement law module 9, the irregular symbol in mapable VML statement is carried out to regularization.
In another embodiment of visual plotting system, marking and drawing image display module can also specifically comprise: piece layer creating unit, for create new piece layer on map layer; Mark and draw pattern displaying unit, for showing described new VML statement at described layer, each marks and draws plotting figure corresponding to label.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the field are to be understood that: still can modify or part technical characterictic is equal to replacement the specific embodiment of the present invention; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request protection of the present invention.

Claims (13)

1. the visualization plotting method based on Geographic Information System, comprising:
The all vectors that obtain current plotting can markup language VML statement;
Described VML statement is processed, the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate;
Described VML statement is recombinated, form mapable VML statement, and mapable VML statement described in association store, in the mapable VML statement after restructuring, screen coordinate is replaced with to map geographic coordinate;
In the reference position of map and/or when screen proportion chi changes, extract with selected VML and identify associated all mapable VML statements;
Described mapable VML statement is carried out to the extraction of map geographic coordinate, and convert described map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing;
Described mapable VML statement is recombinated, form new VML statement, in new VML statement, map geographic coordinate is replaced with to screen coordinate;
Carry out described new VML statement, to show corresponding plotting figure.
2. visualization plotting method according to claim 1, wherein, after all vectors that obtain current plotting can markup language VML statement, also comprises the operation that all VML statements are classified, and is specially:
According to the shape identifier in described VML statement, described VML statement is classified.
3. visualization plotting method according to claim 2, wherein, that the type of the plotting figure in described VML statement comprises is square, circular and irregular shape, described square 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, described 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 length of circular major axis and minor axis, described 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 path.
4. visualization plotting method according to claim 1, wherein, before the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate, also comprises the operation of described VML statement being carried out to regularization, is specially:
Irregular coordinate in described VML statement and irregular symbol are carried out to regularization.
5. visualization plotting method according to claim 4, wherein, before converting described map geographic position to new screen coordinate according to the reference position of map changing and/or screen proportion chi, also comprise the operation of described mapable VML statement being carried out to regularization, be specially:
Irregular symbol in described mapable VML statement is carried out to regularization.
6. visualization plotting method according to claim 1, wherein, being operating as of mapable VML statement described in described association store:
Described mapable VML statement and VML are identified to association store in database.
7. visualization plotting method according to claim 1, wherein, the operation of plotting figure corresponding to described demonstration is specially:
On map layer, create new piece layer, and show that at described layer in described new VML statement, each marks and draws plotting figure corresponding to label.
8. the visual plotting system based on Geographic Information System, comprising:
VML statement acquisition module, can markup language VML statement for all vectors that obtain current plotting;
VML statement recombination module, for described VML statement is processed, the screen coordinate of plotting figure corresponding described VML statement is converted to map geographic coordinate, then described VML statement is recombinated, form mapable VML statement, in the mapable VML statement after restructuring, screen coordinate is replaced with to map geographic coordinate;
Mapable VML statement memory module, for mapable VML statement described in association store;
Mapable VML statement extraction module, in the reference position of map and/or when screen proportion chi changes, extracts with selected VML and identifies associated all mapable VML statements;
New VML statement recombination module, for converting described map geographic position to new screen coordinate according to reference position and/or the screen proportion chi of the map changing, and described mapable VML statement is recombinated, form new VML statement, in new VML statement, map geographic coordinate is replaced with to screen coordinate;
Mark and draw image display module, for carrying out described new VML statement, to show corresponding plotting figure.
9. visual plotting system according to claim 8, wherein, also comprises:
VML statement classification module, for classifying to described VML statement according to the shape identifier of described VML statement.
10. visual plotting system according to claim 9, wherein, that the type of the plotting figure in described VML statement comprises is square, circular and irregular shape, described square 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, described 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, described 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 path.
11. visual plotting systems according to claim 8, wherein, also comprise:
VML statement law module, for carrying out regularization by the irregular coordinate of described VML statement and irregular symbol.
12. visual plotting systems according to claim 11, wherein, also comprise:
Mapable VML statement law module, for carrying out regularization to the irregular symbol of described mapable VML statement.
13. visual plotting systems according to claim 8, wherein, described plotting image display module specifically comprises:
Piece layer creating unit, for creating new piece layer on map layer;
Mark and draw pattern displaying unit, for showing described new VML statement at described layer, each marks and draws plotting figure corresponding to label.
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 CN102467519A (en) 2012-05-23
CN102467519B true 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)

Families Citing this family (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
CN103605463B (en) * 2013-11-28 2016-06-29 东莞中国科学院云计算产业技术创新与育成中心 Drawing method based on GIS platform and the quick situation plotting system of touch panel device
CN105512136A (en) * 2014-09-25 2016-04-20 中兴通讯股份有限公司 Method and device for processing based on layer
CN104537024B (en) * 2014-12-19 2017-12-22 河海大学 A kind of magnanimity position is registered the method for visualizing of data
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
CN110634171B (en) * 2019-02-01 2024-02-27 北京完美知识科技有限公司 Device and method for drawing map
CN109974717B (en) * 2019-03-13 2021-05-25 浙江吉利汽车研究院有限公司 Method, device and terminal for repositioning target point on map

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8150617B2 (en) * 2004-10-25 2012-04-03 A9.Com, Inc. System and method for displaying location-specific images on a mobile device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102467519A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
CN102467519B (en) Visualization plotting method and system based on geographic information system
US9141134B2 (en) Utilization of temporal and spatial parameters to enhance the writing capability of an electronic device
JP6430197B2 (en) Electronic apparatus and method
CN105511792A (en) In-position hand input method and system for form
US11455502B2 (en) Learning device, classification device, learning method, classification method, learning program, and classification program
CN109685870B (en) Information labeling method and device, labeling equipment and storage medium
CN103500296A (en) Inlaying method and device of digital watermarks in text documents
RU2430421C2 (en) Applying effects to merged text path
CN102157003B (en) Automatic configuration method for annotation label of map under digital environment
JP2014092902A (en) Electronic apparatus and handwritten document processing method
CN103777866A (en) Data editing method and device for magnifying glass
US9465785B2 (en) Methods and apparatus for comic creation
CN115393872A (en) Method, device and equipment for training text classification model and storage medium
CN112100296A (en) GIS system convenient to carry out GIS vector data editing
CN104240273A (en) Raster image processing method and device
CN103605521A (en) Method and device for realizing interface apposition
CN104516919A (en) Quoting annotation processing method and system
US20160162174A1 (en) Electronic apparatus, method and storage medium
JP2016085547A (en) Electronic apparatus and method
JP2015138494A (en) Electronic device and method
US20140136966A1 (en) Method and System for Generating Instructions According to Change of Font Outline
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN112307725B (en) Method for adding table information on two-dimensional drawing interface
CN103838903A (en) Method for creating Label through user-defined font object library
CN114519213A (en) Computer-aided cartographic automation from markup using machine learning

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