CN106372261A - Method and device for processing vector data - Google Patents

Method and device for processing vector data Download PDF

Info

Publication number
CN106372261A
CN106372261A CN201610940523.3A CN201610940523A CN106372261A CN 106372261 A CN106372261 A CN 106372261A CN 201610940523 A CN201610940523 A CN 201610940523A CN 106372261 A CN106372261 A CN 106372261A
Authority
CN
China
Prior art keywords
vector data
data
resolution
vector
labelled amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610940523.3A
Other languages
Chinese (zh)
Inventor
董福田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUPERENGINE FOR GRAPHICS AND IMAGINES TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
SUPERENGINE FOR GRAPHICS AND IMAGINES TECHNOLOGY DEVELOPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUPERENGINE FOR GRAPHICS AND IMAGINES TECHNOLOGY DEVELOPMENT Co Ltd filed Critical SUPERENGINE FOR GRAPHICS AND IMAGINES TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201610940523.3A priority Critical patent/CN106372261A/en
Publication of CN106372261A publication Critical patent/CN106372261A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2237Vectors, bitmaps or matrices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/008Vector quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/94Vector quantisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and device for processing vector data. The method comprises a vector data processing method, a vector data simplification method, a vector data progressive transmission method, a vector data compiling method, a vector data drawing method and a vector data spatial relationship calculation method. According to the method for processing the vector data, the bottleneck problems of compression, transmission, compiling, display and spatial relationship calculation and the like of the vector data of a server, a transport network and a client in the process of processing mass vector data are effectively solved.

Description

A kind of processing method and processing device of vector data
The application is on November 08th, 2011 for the applying date, Application No.: 201110350609.8, invention entitled: one Plant the divisional application of the processing method and processing device of vector data.
Technical field
The present invention relates to the neck such as Spatial Information Technology, computer graphicss, virtual reality technology and computer operating system The processing method and processing device in domain, more particularly, to vector data.
Background technology
Spatial entities be to exist or virtual entity in natural world or phenomenon abstract, with locus or feature Associated, it is not subdivisible minimum unit in natural world, basic spatial entities have point, line, surface and body four type. Spatial data is used for locus, shape information and the spatial relationship of representation space entity itself, the such as information such as topological relation, its Spatial data structure is divided into vector data structure and raster data structure, and vector data structure is described with spatial spreading point coordinates Spatial entities, the whole space of research is considered as a spatial domain by it, and spatial entities are as independent object distribution in this spatial domain; Raster data structure divides uniformly grid space, and the space for description with continuous distribution feature in certain space is real Body.
Resolution, refers to the measurement or display system resolution capability to details.National scientific and technical terminology validation board The definition of the resolution that authorization is announced is: differentiates the ability of physical quantity details.
With scientific and technical continuous progress, the fast development of space technology and extensive apply, computer graphicss, virtual Reality, urban planning, historical relic reparation, animated gaming, computer-aided design, GIS-Geographic Information System, medical graphical etc. are with space Application based on entity is rapidly developed, and spatial data is in explosive growth, the compression of massive spatial data, biography Main technical bottleneck that is defeated, showing, analyzed these industry developments of restriction.
Content of the invention
In view of this, the present invention provides a kind of processing method and processing device of vector data.Its concrete scheme is as follows:
A kind of processing method of vector data, comprising:
Obtain the coordinate points of vector data;
Coordinate points according to described vector data generate the resolution labelled amount that vector data minimum data organizes unit.
A kind of method of vector data abbreviation, comprising:
Determine the resolution reference value for vector data described in abbreviation;
Choose first coordinate points of vector data and resolution labelled amount corresponding to this coordinate points as currently waiting to locate Reason coordinate points and currently resolution labelled amount to be judged:
Judge described resolution labelled amount currently to be judged whether less than or equal to described for vector data described in abbreviation Resolution reference value, if so, then currently pending coordinate points are added to coordinate point set;
Judge that whether described currently pending coordinate points are last coordinate points in the coordinate points of described vector data, If it is not, then executing next step, if so, then execute the coordinate points in described coordinate point set as described vector data abbreviation Data afterwards, and end step;
Next coordinate points in selection vector data are as currently pending coordinate points, and obtain described currently pending Coordinate points corresponding resolution labelled amount as currently resolution labelled amount to be judged, returns execution and judges described currently to wait to judge Whether resolution labelled amount is less than or equal to the described resolution reference value step for vector data described in abbreviation;
Using the coordinate points in described coordinate point set as the data after described vector data abbreviation, and terminate.
A kind of method that vector data is drawn, comprising:
Obtain the view control parameter of the view window of display vector data;
According to described view control parameter and vector data as the view window width viewwidth of reference and height Viewheight calculates the resolution labelled amount that vector data shows in view window determined by described view control parameter resolutionlabel;
The resolution labelled amount that described vector data is shown in view window determined by described view control parameter Resolutionlabel carries out abbreviation as the resolution reference value of vector data described in abbreviation to described vector data;
Vector data after abbreviation is drawn in described view window using drawing algorithm.
A kind of system of selection of vector data, comprising:
Obtain and record the range of choice and alternative condition;
According to the described range of choice and alternative condition, the vector data showing in view window is carried out at selection Reason;
After determining the process that the described vector data chosen is carried out, then according to the described range of choice and selector bar Part is choosing all vector datas meeting and choosing condition.
A kind of method that vector data spatial relationship calculates, comprising:
Spatial relationship is carried out to the low resolution vector data corresponding to the original vector data of spatial relationship to be calculated Calculate, determine and there is between original vector data certain spatial relationship certainly, certainly there is no certain spatial relationship, be likely to be of Certain spatial relationship;
To the vector data being likely to be of certain spatial relationship, it is analyzed whether there is certain using original vector data Spatial relationship.
A kind of method of vector data editor, comprising:
Obtain and record the alternative condition selecting vector data to enter edlin;
According to described alternative condition to the vector meeting alternative condition in the vector data showing in view window The object to be operated that data operates as editing and processing;
After determining the editing and processing that the described vector data chosen is carried out, obtain the editor to vector data and refer to Order and editor's parameter;
To choose all vector datas meeting and choosing condition according to described alternative condition, to described all meet choose bar The vector data of part according to described edit instruction is and edits parameter and enter edlin to vector data.
A kind of method of vector data progressive transmission, comprising:
When needing to ask incremental data, send incremental data request, in described request, comprise control parameter;
Receive the increment obtaining after being analyzed according to the resolution labelled amount of described view control parameter and vector data Data.
A kind of vector data progressive transmission method, comprising:
Receive the incremental data request that request transmitting terminal sends, in described incremental data request, comprise control parameter;
The view control parameter containing according to described request bag and the resolution labelled amount of vector data are carried out to vector data Analyzing and processing, determines that the data meeting increment condition in vector data is incremental data;
Send described incremental data to described request transmitting terminal.
A kind of processing meanss of vector data, comprising:
Coordinate points acquiring unit, for obtaining the coordinate points of vector data;
Signal generating unit, organizes dividing of unit for generating vector data minimum data according to the coordinate points of described vector data Resolution labelled amount.
A kind of vector data abbreviation device, comprising:
First determining unit, for determining the resolution reference value for vector data described in abbreviation;
First selection unit, for choosing first coordinate points and the resolution mark corresponding to this coordinate points of vector data The amount of showing is as currently pending coordinate points and current resolution labelled amount to be judged:
First judging unit, for judging whether described resolution labelled amount currently to be judged is used for less than or equal to described If so, currently pending coordinate points are then added to coordinate point set by the resolution reference value of vector data described in abbreviation;
Second judging unit, for judging in the coordinate points whether described currently pending coordinate points are described vector data Last coordinate points, if it is not, then execute next step, if so, then execute by described coordinate point set coordinate points make For the data after described vector data abbreviation, and end step;
Second selection unit, for choosing the next coordinate points in vector data as currently pending coordinate points, and Obtain the corresponding resolution labelled amount of described currently pending coordinate points as currently resolution labelled amount to be judged, return execution Judge whether described resolution labelled amount currently to be judged is less than or equal to the described resolution for vector data described in abbreviation Reference value step;
Second determining unit, for using the coordinate points in described coordinate point set as the number after described vector data abbreviation According to, and terminate.
A kind of vector data drawing apparatus, comprising:
Parameter acquiring unit, for obtaining the view control parameter of the view window of display vector data;
Computing unit, for according to described view control parameter and vector data as reference view window width Viewwidth and height viewheight calculates vector data and shows in view window determined by described view control parameter Resolution labelled amount resolutionlabel;
Abbreviation unit, for show described vector data in view window determined by described view control parameter Resolution labelled amount resolutionlabel is entered to described vector data as the resolution reference value of vector data described in abbreviation Row abbreviation;
Drawing unit, for being drawn the vector data after abbreviation in described view window using drawing algorithm.
A kind of selecting device of vector data, comprising:
The range of choice and condition acquiring unit, for obtaining and recording the range of choice and alternative condition;
Select processing unit, for according to the described range of choice and alternative condition to the arrow showing in view window Amount data carries out selection process;
Selected cell, for after determining the process that the described vector data chosen is carried out, then according to described choosing Select scope and alternative condition to choose all vector datas meeting and choosing condition.
A kind of vector data spatial relationship computing device, comprising:
Spatial relationship determining unit, for the low resolution corresponding to the original vector data to spatial relationship to be calculated Vector data carries out spatial relationship calculating, determines and certainly has certain spatial relationship between original vector data, certainly do not have Certain spatial relationship, it is likely to be of certain spatial relationship;
Analytic unit, for the vector data being likely to be of certain spatial relationship, is carried out point using original vector data Whether analysis has certain spatial relationship.
A kind of vector data editing device, comprising:
Obtain recording unit, for obtaining and recording the alternative condition selecting vector data to enter edlin;
Select unit, for meeting choosing according to described alternative condition in the vector data showing in view window Select the object to be operated that the vector data of condition operates as editing and processing;
Edit instruction and editor's parameter acquiring unit, for determining the volume that the described vector data chosen is carried out Collect after processing, obtain the edit instruction to vector data and editor's parameter;
Edit cell, for choose all vector datas meeting and choosing condition according to described alternative condition, to described All vector datas choosing condition that meet according to described edit instruction are and edit parameter and enter edlin to vector data.
A kind of vector data progressive transmission device, comprising:
Incremental data request transmitting unit, for when need ask incremental data when, send incremental data request, described please Control parameter is comprised in asking;
Incremental data receiving unit, for receiving the resolution labelled amount according to described view control parameter and vector data The incremental data obtaining after being analyzed.
A kind of vector data progressive transmission device, comprising:
Incremental data request reception unit, for receiving the incremental data request that request transmitting terminal sends, described incremental number Comprise control parameter according in request;
Analysis and processing unit, the resolution for the view control parameter that contains according to described request bag and vector data indicates Amount is analyzed to vector data processing, and determines that the data meeting increment condition in vector data is incremental data;
Transmitting element, for sending described incremental data to described request transmitting terminal.
It can be seen from above-mentioned technical scheme that, the processing method of vector data disclosed by the invention, efficiently solve The compression of the vector data of server end, transmission network and client in the processing procedure of massive vector data, transmission, editor, The bottleneck problem of display and spatial relationship calculating etc..
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of vector data processing method disclosed in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the generation method of resolution labelled amount of vector data disclosed in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of the process obtaining resolution labelled amount disclosed in the embodiment of the present invention;
Fig. 4 is the flow chart of the process of the embodiment of the present invention another acquisition resolution labelled amount disclosed;
Fig. 5 is the flow chart of the process of the embodiment of the present invention another acquisition resolution labelled amount disclosed;
Fig. 6 is a kind of flow chart of the method for vector data abbreviation disclosed in the embodiment of the present invention;
Fig. 7 is that the embodiment of the present invention is disclosed to be changed according to the described resolution reference value for vector data described in abbreviation The flow chart of the described vector data of letter;
Fig. 8 is a kind of side obtaining the resolution reference value for vector data described in abbreviation disclosed in the embodiment of the present invention The flow chart of method;
Fig. 9 is the flow chart of the method that a kind of vector data disclosed in the embodiment of the present invention is drawn:
Figure 10 is a kind of flow chart of the system of selection of vector data disclosed in the embodiment of the present invention;
Figure 11 is a kind of flow chart of vector data spatial relationship computational methods disclosed in the embodiment of the present invention;
Figure 12 is a kind of flow chart of the method for vector data editor disclosed in the embodiment of the present invention;
Figure 13 is a kind of flow chart of the method for vector data progressive transmission disclosed in the embodiment of the present invention;
Figure 14 is the flow chart of the method for another vector data progressive transmission disclosed in the embodiment of the present invention;
Figure 15 be the embodiment of the present invention disclosed by the incremental data of described reception be inserted into described in the vector that formerly caches Flow chart in data;
Figure 16 is the flow chart of the method for another vector data progressive transmission disclosed in the embodiment of the present invention;
Figure 17 is the flow chart of the method for another vector data progressive transmission disclosed in the embodiment of the present invention;
Figure 18 is the flow chart of the method for another vector data progressive transmission disclosed in the embodiment of the present invention;
Figure 19 is that the embodiment of the present invention is disclosed to be divided according to described current resolution reference value and first resolution reference value Analyse described vector data, to obtain the flow chart meeting the data of increment condition as incremental data;
Figure 20 is a kind of structural representation of the processing meanss of vector data disclosed in the embodiment of the present invention;
Figure 21 is a kind of structural representation of vector data abbreviation device disclosed in the embodiment of the present invention;
Figure 22 is a kind of structural representation of vector data drawing apparatus disclosed in the embodiment of the present invention;
Figure 23 is a kind of structural representation of the selecting device of vector data disclosed in the embodiment of the present invention;
Figure 24 is a kind of structural representation of vector data spatial relationship computing device disclosed in the embodiment of the present invention;
Figure 25 is a kind of structural representation of vector data editing device disclosed in the embodiment of the present invention;
Figure 26 is a kind of structural representation of vector data progressive transmission device disclosed in the embodiment of the present invention;
Figure 27 is the structural representation of another vector data progressive transmission device disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Spatial entities are to express and describe presence or virtual entity in natural world by spatial data, from aobvious The angle shown, the either spatial data of vector data structure, or the spatial data of raster data structure, all there are many resolutions The characteristic of rate.Because electronic curtain (view window) has resolution, when spatial entities show in view window, due to The resolution of view window is limited, the graphics Web publishing hour drawn in view window when spatial data, has performance arrow The data (coordinate points) of amount data details part can be plotted in identical pixel, when vector data is drawn in view window When graphics Web publishing is big, detail section just can show that is to say, that the number of pixels of vector data filling (drafting) is many, arrow The resolution of amount data is just high, and the display number of filling (drafting) is few, and the resolution of vector data is just low, therefore although vector The display effect of data itself will not show upper distortion because of resolution, but during vector data display, has multiresolution Characteristic.But current vector data structure, do not record vector data display when resolution character, transmission and display when Wait whole bottlenecks transmitting and showing, manufactured the drafting display of network transmission bottleneck data, if carried out to vector data certainly Adapt to abbreviation, and cause Calculation bottleneck to server.Therefore the present invention records dividing of vector data in vector data structure Resolution labelled amount, is carried out the self adaptation abbreviation of vector data, progressive transmission, paints by the resolution labelled amount of vector data System, analysis etc., solve the compression of massive vector data, network transmission, client show and analyze etc. technical bottleneck.
Vector data include two-dimensional vector data, trivector data and multidimensional vector data etc. meaningful on arrow Amount data.
Disclosed in the embodiment of the present invention, a kind of flow process of vector data processing method is as shown in Figure 1, comprising:
Step s11, the coordinate points of acquisition vector data;
The coordinate points of two-dimensional vector data can be expressed as: (x1, y1), (x2, y2) ... (xn, yn);
The coordinate points of trivector data can be expressed as: (x1, y1, z1), (x2, y2, z2) ... (xn, yn, zn);
Step s12, according to described vector data coordinate points generate vector data minimum data organize unit resolution Labelled amount ri1,ri2…rin.
The minimum data tissue unit of two-dimensional vector data is coordinate points, the minimum data tissue unit of trivector data Related with threedimensional model, e.g., the minimum data tissue unit of triangulation network threedimensional model is triangle, the minimum of point cloud threedimensional model Data organization unit is three-dimensional coordinate point.The resolution obtaining labelled amount can be added in vector data structure, so that Must get while vector data it becomes possible to obtain its corresponding resolution labelled amount.
A kind of flow process such as Fig. 2 institute of the generation method of resolution labelled amount of vector data disclosed in the embodiment of the present invention Show, comprising:
Step s21, set view window as reference, described view window includes the width of view window Viewwidth and height viewheight;
And highly to be determined as vector data reference as the view window width of vector data reference by setting View window, for calculate vector data described as the view window of reference in show when resolution labelled amount.Because All of vector data can set identical as the view window width viewwidth of reference and height Viewheight, can not comprise the view window width viewwidth as reference and height therefore in vector data structure Degree viewheight.
Step s22, according to the described view window as reference, generate the resolution labelled amount of vector data.
Calculate composition vector data minimum data tissue unit (as coordinate points) described as in the view window of reference During display, the magnification ratio that can be revealed or other controling parameter (e.g., versus control) are organized as this minimum data The resolution labelled amount of unit (as coordinate points).Such as line vector data, calculates each coordinate points of composition line vector data Described as the view window of reference in show when, the magnification ratio that can be revealed is as the resolution mark of this coordinate points The amount of showing.
In above-described embodiment, the resolution generating vector data according to the described view window as reference is needed to indicate Amount, is described in detail to the process obtaining resolution labelled amount, its flow process is as shown in Figure 3 below, comprising:
Step s31, the initial value of the resolution labelled amount of the described vector data of calculating;
Step s32, the increment of setting resolution labelled amount;
The vector described in incremental computations of step s33, the initial value according to described resolution labelled amount and resolution labelled amount Each minimum data of data organizes the resolution labelled amount corresponding to unit (as coordinate points).
In above-described embodiment, in order to generate the resolution labelled amount data item described in vector data structure, below will be with As a example two-dimensional line vector data, to according to the described view window width as reference and height, calculate described line vector data Each coordinate points resolution labelled amount, that is, when described line vector data described set as reference view window During middle display, calculate each coordinate points, be possible to show, and do not covered by other coordinate points in described vector data Magnification ratio is as the resolution labelled amount of this coordinate points.Hereinafter detailed retouching is carried out to the process obtaining resolution labelled amount State, its flow process is as shown in Figure 4, comprising:
First the resolution labelled amount of described vector data is assigned initial value 0.
Step s41, the width vectorwidth and height vectorheight of acquisition line vector data;
Because mostly in actual application, the outsourcing rectangle all containing vector data in vector data structure, can be direct Obtain width and the height of vector data, if the outsourcing rectangle of vector data can not be directly obtained, vector number can be passed through According to coordinate points be calculated.
Step s42, initial value r of the resolution labelled amount of the described line vector data of calculatingmin
(1) calculate corresponding putting when described vector data is displayed in full screen in described setting as the view window of reference Vast scale r;
r1=viewwidth ÷ vectorwidth;
r2=viewheight ÷ vectorheight;
By r1And r2In smaller value as r value.
(2) calculate and work as described line vector data at least 2 coordinate points in described setting as the view window of reference The magnification ratio being revealed is as rmin.
Assume magnification ratio rtemp;
If r1Less than r2, then:
Rtemp=r ÷ viewwidth × 2, and using viewwidth as view window reference value viewrefvalue;
If r1More than or equal to r2, then:
Rtemp=r ÷ viewheight × 2, and using viewheight as view window reference value viewrefvalue;
Because constituting, line graph is minimum to need 2 coordinate points.
A. as view control parameter, vector data is carried out as the view window of reference and rtemp according to described setting Self adaptation abbreviation;
If the coordinate points b. having 2 or more than 2 after abbreviation are retained that is to say, that in described view control parameter Under, when described vector data shows in described setting as the view window of reference, at least two coordinate points can be shown Come, then using rtemp the resolution labelled amount as described line vector data initial value rmin, remain after described abbreviation The value of the resolution labelled amount of the coordinate points of corresponding vector data of coordinate points be set as rmin, and terminate;
If being c. less than 2 coordinate points after abbreviation to be retained, described rtemp is added an increment size, occurrence is permissible Set according to practical situation, returned execution step a;
Step s43, the increment △ r of setting resolution labelled amount;
According to actual needs can be by rminAs increment △ r it is also possible to using r ÷ viewrefvalue as increment △ r etc. Deng.
Step s44, according to described initial value rminCalculate the resolution of each coordinate points of described vector data with increment △ r Rate labelled amount.
Hypothesis magnification ratio is r, and the initial value of r is rmin.
1st, r value is increased △ r, i.e. r=r+ △ r;
2nd, judge that the value that whether there is the resolution labelled amount corresponding to coordinate points in the coordinate points of described vector data is 0, if it does not exist, then terminating, if there is then execution step 3;
3rd, according to described set vector data is carried out as view control parameter as the view window of reference and r adaptive Answer abbreviation;
Dividing corresponding to the coordinate points of corresponding vector data of the coordinate points remaining after the 4th, judging described abbreviation Whether the value of resolution labelled amount is 0, if 0, is then set as r, if greater than 0, then retains original resolution labelled amount Value;
5th, return execution step 1.
The method of the present embodiment another acquisition vector data resolution labelled amount disclosed, its flow process is as shown in figure 5, have Body step is as follows:
First the resolution labelled amount of described vector data is assigned initial value 0.
Step s51, the width vectorwidth and height vectorheight of acquisition line vector data;
Because mostly in actual application, all also having the outsourcing rectangle of vector data in vector data structure, can be direct Obtain width and the height of vector data.If the outsourcing rectangle of vector data can not be directly obtained, vector number can be passed through According to coordinate points be calculated.
Step s52, the magnification ratio r corresponding to the initial value of resolution labelled amount of the described line vector data of calculatingmin
(1) calculate corresponding putting when described vector data is displayed in full screen in described setting as the view window of reference Vast scale r;
r1=viewwidth ÷ vectorwidth;
r2=viewheight ÷ vectorheight;
By r1And r2In smaller value as r value.
(2) calculate and work as described line vector data at least 2 coordinate points in described setting as the view window of reference The magnification ratio being revealed is as rmin.
Assume magnification ratio rtemp;
If r1Less than r2, then:
Rtemp=r ÷ viewwidth × 2, and using viewwidth as view window reference value viewrefvalue;
If r1More than or equal to r2, then:
Rtemp=r ÷ viewheight × 2, and using viewheight as view window reference value viewrefvalue;
Because constituting, line graph is minimum to need 2 coordinate points.
A. as view control parameter, vector data is carried out as the view window of reference and rtemp according to described setting Self adaptation abbreviation;
If the coordinate points b. having 2 or more than 2 after abbreviation are retained that is to say, that in described view control parameter Under, when described vector data shows in described setting as the view window of reference, at least two coordinate points can be shown Come, then using rtemp as the initial value of the resolution labelled amount of described vector data corresponding to magnification ratio rmin, will be described The initial value of the resolution labelled amount of line vector data is entered as 1, and (1 as versus control, as the resolution of vector data The initial value of labelled amount), the original coordinates point of the vector data corresponding to the coordinate points remaining after described abbreviation The value of resolution labelled amount is set as 1, and terminates;
If being c. less than 2 coordinate points after abbreviation to be retained, by rtemp plus increment size, occurrence can basis Practical situation is set, and returns execution step a;
Step s53, the increment △ r of setting resolution labelled amount;
According to actual needs can be by rminAs increment △ r it is also possible to using r ÷ viewrefvalue as increment △ r etc. Deng.
Step s54, according to described initial value rminCalculate the resolution of each coordinate points of described vector data with increment △ r Rate labelled amount;
Hypothesis magnification ratio is r, and the initial value of r is rminIt is assumed that the initial value of versus control resolutionlabel For 1, represent the resolution labelled amount of vector data with versus control.
1st, r value is increased △ r, i.e. r=r+ △ r, the value of resolution labelled amount is increased by 1, i.e. resolutionlabel= resolutionlabel+1;
2nd, judge that the value that whether there is the resolution labelled amount corresponding to coordinate points in the coordinate points of described vector data is 0, if it does not exist, then terminating, if there is then execution step 3;
3rd, according to described set vector data is carried out as view control parameter as the view window of reference and r adaptive Answer abbreviation;
Dividing corresponding to the coordinate points of corresponding vector data of the coordinate points remaining after the 4th, judging described abbreviation Whether the value of resolution labelled amount is 0, if 0, is then set as resolutionlabel, if greater than 0, then retains original The value of resolution labelled amount.
5th, return execution step 1.
Case study on implementation disclosed above can reduce the data volume of vector data, because magnification ratio is often using double precision To store, to need 8 bytes, and to be used above-mentioned versus control as vector data resolution labelled amount, then generally only to need Want a byte storage just permissible, effectively reduce data volume.
Self adaptation simplifying method in above-described embodiment, can adopt following methods disclosed by the invention, concrete steps bag Include:
A, foundation view control parameter, the original coordinates conversion of vector data is obtained the view under view window coordinate system Coordinate, the view coordinate points under the corresponding described view window coordinate system of original coordinates point of described vector data;
B, with Douglas Pu Kefa (douglas peucker), abbreviation analysis is carried out to described view coordinate points, point Analyse whether described view coordinate points meet abbreviation condition;
By the view coordinate under the coordinate transform of vector data to view window coordinate system, abbreviation is carried out to vector data, Show after can ensure that abbreviation that time space relation is protected in view window determined by described view control parameter set in advance Hold correct display, display effect is undistorted, and the needs according to actual displayed effect and compression ratio can be by general for Douglas gram The value of the distance threshold d of method (douglas peucker) is entered as the numerical value between 0 or 0 to 1;
C, according to analysis result, abbreviation meets the original seat of the corresponding vector data of view coordinate points of described abbreviation condition Punctuate.
The present invention discloses a kind of method of vector data abbreviation, and its flow process is as shown in Figure 6.
Step s61, determine resolution reference value for vector data described in abbreviation;
Step s62, carry out vector data described in abbreviation according to the described resolution reference value for vector data described in abbreviation;
Concrete steps as shown in fig. 7, comprises:
Step s621, choose resolution labelled amount conduct corresponding to first coordinate points of vector data and this coordinate points Currently pending coordinate points and currently resolution labelled amount to be judged;
Step s622, judge described resolution labelled amount currently to be judged whether less than or equal to described for described in abbreviation If so, currently pending coordinate points are then added to coordinate point set, execution step by the resolution reference value of vector data S623, if it is not, then execution step s623;
Step s623, judge that whether described currently pending coordinate points are last in the coordinate points of described vector data Individual coordinate points, if it is not, then execution step s624, if so, then execution step s625;
Next coordinate points in step s624, selection vector data are as currently pending coordinate points, and obtain described The corresponding resolution labelled amount of currently pending coordinate points, as currently resolution labelled amount to be judged, returns execution step s622;
Step s625, using the coordinate points in described coordinate point set as the data after described vector data abbreviation, and tie Bundle.
The present invention discloses a kind of method obtaining the resolution reference value for vector data described in abbreviation, and concrete steps are such as Shown in Fig. 8, comprising:
Step s71, according to view control parameter set in advance, and vector data is as the view window width of reference Viewwidth and height viewheight calculates vector data in view determined by described view control parameter set in advance Resolution labelled amount resolutionlabel of display in window;
Described view control parameter set in advance includes: the width realviewwidth of view window, view window The magnification ratio realradio of vector data in height realviewheight and view window.The width of view window The height realviewheight of realviewwidth and view window determines the view window scope of display vector data (0,0, realviewwidth, realviewheight), the such as scope of computer screen map display window, by this two Parameter is it may be determined that be used for the magnitude range of the window of display image in actual view window.
The value of the realradio generally width of foundation view window and height, and show in view window Calculating, the rectangular extent of the described vector data showing in view window refers to this rectangular extent of vector data In the range of vector data be shown in view window, that is, the outsourcing of the vector data that can show in view window Rectangle, its specific value range sets according to actual display situation, and the width of the rectangular extent of described vector data is Vwidth, highly for vheight.
The computational methods of realradio are as follows:
R1=realviewwidth ÷ vwidth;
R2=realviewheight ÷ vheight;
If r1 is less than r2, r1 is assigned to realradio, otherwise r2 is assigned to realradio.
The computational methods of resolutionlabel are as follows:
Dradiow=(viewwidth*realradio)/realviewwidth;
Dradioh=(viewheight*realradio)/realviewheight;
If dradiow is more than dradioh, dradiow value is assigned to resolutionlabel
, otherwise dradioh value is assigned to resolutionlabel.
Step s72, foundation vector data are aobvious in view window determined by described view control parameter set in advance Resolution labelled amount resolutionlabel shown is determining the resolution reference value for vector data described in abbreviation.
If the resolution labelled amount of described vector data uses magnification ratio r as resolution labelled amount, will Resolutionlabel is as the resolution reference value for vector data described in abbreviation.If the ensuring that the vector number after abbreviation Undistorted according to showing in view window determined by described view control parameter set in advance, then by described vector data In resolution labelled amount than resolutionlabel big one-level or equal resolution labelled amount as swearing described in abbreviation The resolution reference value of amount data.
If the resolution labelled amount of described vector data uses versus control as vector data resolution mark The amount of showing, then with resolutionlabel deduct described vector data resolution labelled amount initial value rminThe value of gained is Kkk, if kkk is less than or is equal to 0, the resolution reference value for vector data described in abbreviation is 1;If kkk is more than 0, then by kkk divided by described vector data resolution labelled amount increment △ r, the value of gained is assumed to hhh, if hhh is whole Number, then using hhh as the resolution reference value being used for vector data described in abbreviation;If hhh also has decimal, if requiring to guarantee Vector data after abbreviation shows undistorted, then general in view window determined by described view control parameter set in advance The integer value of hhh adds 1 as the resolution reference value for vector data described in abbreviation, otherwise, can be directly by the integer of hhh Value is as the resolution reference value for vector data described in abbreviation.
The present invention discloses a kind of method that vector data is drawn, and its idiographic flow is as shown in Figure 9.
When vector data needs to show in view window, if vector data is very fine, or vector data is regarding In figure window display smaller it may appear that multiple coordinate points of vector data are plotted in the same pixel of view window, The characteristic of this exactly multiresolution that vector data has when showing in view window, therefore can be carried by this characteristic The drafting efficiency of high vector data.
Step s81, the view control parameter of the view window of acquisition display vector data;
Described view control parameter includes: the width realviewwidth of view window, the height of view window The magnification ratio realradio of vector data in realviewheight and view window.The width of view window The height realviewheight of realviewwidth and view window determines the view window scope of display vector data (0,0, realviewwidth, realviewheight), the such as scope of computer screen map display window, by this two Parameter is it may be determined that be used for the magnitude range of the window of display image in actual view window.
The value of the realradio generally width of foundation view window and height, and show in view window Calculating, the rectangular extent of the described vector data showing in view window refers to this rectangular extent of vector data In the range of vector data be shown in view window, that is, the outsourcing of the vector data that can show in view window Rectangle, its specific value range sets according to actual display situation, and the width of the rectangular extent of described vector data is Vwidth, highly for vheight.
Step s82, according to described view control parameter and vector data as reference view window width viewwidth Calculate the resolution that vector data shows in view window determined by described view control parameter with height viewheight Labelled amount resolutionlabel;
The computational methods of resolutionlabel are as follows:
Dradiow=(viewwidth*realradio)/realviewwidth;
Dradioh=(viewheight*realradio)/realviewheight;
If dradiow is more than dradioh, dradiow value is assigned to resolutionlabel
, otherwise dradioh value is assigned to resolutionlabel.
Step s83, the resolution that described vector data is shown in view window determined by described view control parameter Rate labelled amount resolutionlabel as vector data described in abbreviation resolution reference value to described vector data Letter;
Show in view window according to the view control parameter of view window and vector data showing vector data Multi-resolution characteristics carry out abbreviation to vector data, by vector data described vector data when showing in described view window The data abbreviation being blocked by other data falls, by vector data not display effect in view window for the impact vector data with And the data abbreviation of spatial relationship falls and other vector datas between.
Step s84, the vector data after abbreviation is drawn in described view window using drawing algorithm.
The present invention discloses a kind of system of selection of vector data, and its flow process is as shown in Figure 10.
In the actual range of choice data volume may shown data volume out be many than in view window, if Directly the data in the range of choice is all taken out and carries out subsequent treatment, the decline of systematic function in a network environment, can be caused, Particularly subsequent operation is by data edition and highlights, and the present invention discloses a kind of method and step of vector data selection such as Under:
Step s91, obtain and record the range of choice and alternative condition;
Vector data selects most basic inclusion to click, frame selects, circle selects and polygon selects etc., the selection range clicking It is exactly coordinate points, sometimes comprise one again and click tolerance limit, such as line vector data is clicked;The selection range of frame choosing It is exactly rectangular area, the range of choice of circle choosing is often represented with the radius of center point coordinate and circle;The choosing that polygon selects Selecting scope is exactly polygonal region.It is usually the method (such as comprise, intersect) chosen, limits to certain class number for alternative condition According to carrying out selecting etc., depending on concrete practical situation.The present invention will not enumerate, and protection domain includes all of vector The selection situation of data.
Step s92, according to the described range of choice and alternative condition, the vector data showing in view window is entered Row selection is processed;
Replace whole symbols with meeting the Local Vector data choosing condition in the vector data showing in view window Close alternative condition vector data will participate in come the vector data to complete to have to all choose outside operation.
If selecting to occur in client, and the vector data shown by client being with the vector number corresponding to server end According to comparing, if transmitting after server end abbreviation, compression are processed, and the vector data after abbreviation can Ensure identical display effect and the spatial relationship with other vector datas in view window and before abbreviation, existed using local Choose meeting of showing in window vector data (even if this data is by abbreviation, compressed) all symbols of replacement of condition Close the vector data choosing condition without impact effect, such as highlight, and do not having to determine to the vector data chosen Final operation before operation, before such as graphics edition terminates, such as in map dragging process, (i.e. map drags and does not also tie Bundle) etc. operation, server end can not be gone vector data to be carried out with selection analysis, reads the operation such as data, directly using locally The data showing in the window, so can effectively mitigate the pressure of server, the pressure of network transmission, improve The performance of whole system.
If vector data select be clicked with mouse in view window or drawn with mouse vectogram Vector data is selected, because the figure drawn in view window with mouse, the resolution shown by its figure has been Highest it is shown that all details of figure, on the vectogram and view window that therefore can directly be drawn with described mouse The vector data showing carries out selection analysis;If by specifying certain or some vector datas to other vector datas Selected, and in view window, the vector data of display is through abbreviation, even lossy compression method (is reduced data essence Degree), then two vector datas contacting with each other are shown on view, may actually two vector datas be from, Therefore jointly carry out spatial relationship calculating sometimes for server end just can complete to the vector showing in view window Data carries out the operation of selection.
The identification number meeting the vector data of alternative condition in view window is added to and chooses in set, as to choosing The object being operated that vector data is operated, when the view control parameter of view window changes, such as the amplification of map, The operation such as reduce, translate and rotate, need to judge the vector of display in view window according to the described range of choice and alternative condition Whether data meets is chosen condition, and the described data chosen in set is updated.
Step s93, after determining the process that the described vector data chosen is carried out, then according to the described range of choice To choose all vector datas meeting and choosing condition with alternative condition.
Such as check the attribute information of the vector data chosen, need the attribute letter of all qualified vector datas Breath all takes out it is therefore desirable to choose all qualified vector datas according to the described range of choice and alternative condition, so Again the attribute information corresponding to the vector data chosen is taken out afterwards.
The present invention discloses a kind of method that vector data spatial relationship calculates, and its flow process is as shown in figure 11.
It is primarily directed between the complete vector data in vector data server end after abbreviation, compression for the client How to carry out common spatial relationship to calculate, mitigate the pressure of server end, using the resource of client, carry out load balance, The performance of lifting whole system.For the convenience describing, by the vector data referred to as original arrow to spatial relationship to be calculated Amount data, vector data after abbreviation, compression for the described original vector data is referred to as low resolution vector data.
Step s101, the low resolution vector data corresponding to the original vector data of spatial relationship to be calculated is carried out Spatial relationship calculate, determine certainly have between original vector data certain spatial relationship, affirm do not have certain spatial relationship, It is likely to be of certain spatial relationship;
Because client does not often have whole vector datas, and the existing vector data of client is with server end institute Corresponding vector data is compared, and is also that ratio of precision is relatively low, or vector data be by abbreviation after data, also do not comprise all Coordinate points, the data of therefore client be multi-resolution characteristics when server end shows according to vector data through abbreviation and It is transferred to client after compression, described low resolution vector data can be judged determine original vector number in client According between there is certain spatial relationship certainly, certainly there is no certain spatial relationship, be likely to be of certain spatial relationship, if logical Cross low resolution vector data and can interpolate that out that there is between corresponding original vector data certain spatial relationship, affirmative certainly There is no certain spatial relationship, spatial relationship calculates and terminates.
Step s102, to the vector data being likely to be of certain spatial relationship, be analyzed using original vector data be No have certain spatial relationship.
The original vector data being likely to be of certain spatial relationship can be got client and carry out spatial relationship calculating, Server end can be allowed to carry out spatial relationship calculating.
The present invention discloses a kind of method of vector data editor, and its flow process is as shown in figure 12.
Step s111, obtain and record and select vector data to enter the alternative condition of edlin;
Editor to vector data, needs first to choose vector data, then enters edlin to the vector data chosen.
Step s112, meet selector bar according to described alternative condition in the vector data showing in view window The object to be operated that the vector data of part operates as editing and processing;
Replace whole symbols with meeting the Local Vector data choosing condition in the vector data showing in view window The vector data closing alternative condition is carrying out the operation in editing process.
The identification number meeting the vector data of alternative condition in view window is added to and chooses in set, as to choosing Vector data enters the object edited of edlin, when the view control parameter of view window changes, such as the amplification of map, The operation such as reduce, translate and rotate, need to judge the vector of display in view window according to the described range of choice and alternative condition Whether data meets is chosen condition, and the described data chosen in set is updated.
If edit operation is come the vector data at editing server end by client to the edit operation of vector graphics, And the vector data shown by client is compared with the vector data corresponding to server end, if through server end Letter, compression transmit after processing, and the vector data after abbreviation can guarantee that phase in view window and before abbreviation With display effect and the spatial relationship with other vector datas, choose bar using meeting of locally showing in the window Vector data (even if this data is by the abbreviation, compressed) replacement of part is all meet choose the vector data of condition without Impact effect, such as highlights, and before not having to determine that the edit operation to the vector data chosen completes, such as rotation arrow In the graphic procedure that amount data is drawn, the operation such as (i.e. rotation is not over), can not go same server interaction, directly make With the data locally showing in the window, can effectively mitigate the pressure of server, the pressure of network transmission, carry The performance of high whole system.
Step s113, after determining the editing and processing that the described vector data chosen is carried out, obtain to vector number According to edit instruction and editor parameter;
As being rotation editor to the edit instruction of vector data, then editor's parameter includes central point and the anglec of rotation rotating Degree;Edit instruction to vector data is mobile editor, then editor's parameter includes the displacement along each coordinate axess.The present embodiment is not Enumerate again.
Step s114, to choose all vector datas meeting and choosing condition according to described alternative condition, to described all Meet the vector data choosing condition according to described edit instruction to be and edit parameter and enter edlin to vector data.
As joined in the select condition of vector data, the Command And Edit of edit operation that obtain client-side editing vector graphics Amount, is subsequently transmitted to server end and carries out edit operation, decrease the interaction of data.
The present invention discloses a kind of method of vector data progressive transmission, and its flow process is as shown in figure 13, comprising:
Step s121, when need ask incremental data when, send incremental data request, described request in comprise view control Parameter;
Vector data progressive transmission method in the present embodiment is applied to request transmitting terminal, when request transmitting terminal is judged to need When asking incremental data, send incremental data request to request receiving terminal, comprise request transmitting terminal in the request works as forward sight Figure control parameter.
Described view control parameter includes: the width realviewwidth of view window, the height of view window The magnification ratio realradio of vector data in realviewheight and view window.The width of view window The height realviewheight of realviewwidth and view window determines the view window scope of display vector data (0,0, realviewwidth, realviewheight), the such as scope of computer screen map display window, by this two Parameter is it may be determined that be used for the magnitude range of the window of display image in actual view window.
The value of the realradio generally width of foundation view window and height, and show in view window Calculating, the rectangular extent of the described vector data showing in view window refers to this rectangular extent of vector data In the range of vector data be shown in view window, that is, the outsourcing of the vector data that can show in view window Rectangle, its specific value range sets according to actual display situation, and the width of the rectangular extent of described vector data is Vwidth, highly for vheight.
The computational methods of realradio are as follows:
R1=realviewwidth ÷ vwidth;
R2=realviewheight ÷ vheight;
If r1 is less than r2, r1 is assigned to realradio, otherwise r2 is assigned to realradio.
If vector data can be obtained as the view window width viewwidth of reference and height in request transmitting terminal Viewheight, then can calculate the resolution that vector data shows in view window determined by described view control parameter Rate labelled amount resolutionlabel then includes as view control parameter, described view control parameter: vector data is described Resolution labelled amount resolutionlabel of display in view window determined by view control parameter.And view window The magnification ratio of vector data in width realviewwidth, the height realviewheight of view window and view window Realradio just can be not included in view control parameter.
The computational methods of resolutionlabel are as follows:
Dradiow=(viewwidth*realradio)/realviewwidth;
Dradioh=(viewheight*realradio)/realviewheight;
If dradiow is more than dradioh, dradiow value is assigned to resolutionlabel
, otherwise dradioh value is assigned to resolutionlabel.
If request transmitting terminal is cached with vector data, view control parameter also includes: the vector data formerly caching Identification number and the vector data formerly caching current highest resolution labelled amount.
Step s122, reception obtain after being analyzed according to the resolution labelled amount of described view control parameter and vector data The incremental data obtaining.
Receive the incremental data that request receiving terminal returns.
In vector data progressive transmission method disclosed in the present embodiment, ask transmitting terminal when sending incremental data request, Carry the view control parameter of the view window being currently needed for being shown in the request so that request receiving terminal can foundation The resolution labelled amount analysis that view control parameter and vector data are comprised obtains being suitable for the incremental number of active view window According to it is ensured that the incremental data obtaining can lossless show, reduce volume of transmitted data simultaneously, improve data transmission efficiency.
As shown in figure 14, the method is applied to request and sends out another vector data progressive transmission method flow process disclosed by the invention Sending end, is cached with the situation of the vector data formerly caching based on request transmitting terminal, comprising:
Step s131, according to view control parameter and vector data as the view window width viewwidth of reference and Height viewheight calculates the resolution mark that vector data shows in view window determined by described view control parameter The amount of showing resolutionlabel;
The current highest resolution labelled amount of the vector data that step s132, acquisition formerly cache;
Whether the current highest resolution labelled amount of the vector data formerly caching described in step s133, judgement is less than described The resolution labelled amount that vector data shows in view window determined by described view control parameter Resolutionlabel, if so, then execution step s134, if it is not, then terminate;
Step s134, transmission incremental data request, comprise view control parameter, described view control parameter in described request In comprise the identification number of vector data formerly caching and the current highest resolution labelled amount of the vector data formerly caching;
Step s135, reception obtain after being analyzed according to the resolution labelled amount of described view control parameter and vector data The incremental data obtaining;
Step s136, by the incremental data of described reception be inserted into described in the vector data that formerly caches.
If the vector data being used as using versus control in the vector data formerly caching formerly caching is current Highest resolution labelled amount, then step s132 is changed in the present embodiment: obtains the current highest of the vector data formerly caching Magnification ratio corresponding to resolution labelled amount, as the maximum magnification ratio formerly caching;Step s133 is changed to: judges described Whether it is less than described vector data as the maximum magnification ratio formerly caching in view determined by described view control parameter Resolution labelled amount resolutionlabel of display in window, if so, then execution step s134, if it is not, then terminate;
The vector data formerly caching due to now asking transmitting terminal to be cached with, so need to insert the incremental data of reception Enter in the vector data formerly caching, realize data reconstruction, the data after reconstruction is as the corresponding display of active view window Data.
Incremental data by described reception disclosed by the invention be inserted into described in process in the vector data that formerly caches As shown in figure 15, comprising:
Step s141, the positional information of original coordinates point and the current highest resolution sign obtaining in described incremental data Amount;
Step s142, according to described positional information, by the original coordinates point in described incremental data be inserted into described in formerly The correspondence position of the vector data of caching;
The current highest resolution labelled amount of the vector data formerly caching described in step s143, replacement is in incremental data The current highest resolution labelled amount being comprised.
If the vector data being used as using versus control in the vector data formerly caching formerly caching is current Highest resolution labelled amount, then formerly caching needs to record the current highest resolution labelled amount institute of the vector data formerly caching Corresponding magnification ratio.
The flow process of another vector data progressive transmission method disclosed by the invention is as shown in figure 16, comprising:
The incremental data request that step s151, reception request transmitting terminal send, comprises view control parameter in described request;
Disclosed in the present embodiment, vector data progressive transmission method is applied to request receiving terminal.The data increment that it receives please The type of view control parameter asked is corresponding with the type in embodiment illustrated in fig. 13.When request Sender side Storage has formerly During the vector data of caching, described view control parameter includes: the scope of active view window, active view window amplification ratio Example, the current highest resolution labelled amount of the identification number of the vector data first caching and the vector data formerly caching.If Request transmitting terminal can obtain vector data as the view window width viewwidth and height viewheight of reference, then may be used To calculate the resolution labelled amount that vector data shows in view window determined by described view control parameter Resolutionlabel then includes as view control parameter, described view control parameter: vector data is in described view control Resolution labelled amount resolutionlabel of display, the mark of the vector data first caching in view window determined by parameter Knowledge number and the current highest resolution labelled amount of the vector data formerly caching.
The resolution labelled amount of step s152, the view control parameter containing according to described request bag and vector data is to vector Data is analyzed processing, and determines that the data meeting increment condition in vector data is incremental data;
Step s153, the described incremental data of transmission are to described request transmitting terminal.
The incremental data obtaining is sent to request transmitting terminal.
In vector data progressive transmission method disclosed in the present embodiment, request receiving terminal is according to view control parameter to original Vector data carries out abbreviation analysis, and using the data meeting incremental data condition in vector data as incremental data.The method In, the analysis process of vector data is indicated according to the resolution of the view control parameter in incremental data request and vector data Amount is carried out, and that is, based on the actual displayed view window asking transmitting terminal, is sent to request with the incremental data ensureing to obtain Transmitting terminal, the vector data after request transmitting terminal receives described incremental data and rebuilds can be joined according to beforehand through view control Several controlled display effects are shown, are capable of lossless display, are only transmitted incremental data simultaneously, significantly reduce Volume of transmitted data, improves data transmission efficiency.
As shown in figure 17, the method is applied to request to the flow process of another vector data progressive transmission method disclosed by the invention Receiving terminal, is cached with the situation of the vector data formerly caching based on request transmitting terminal, comprising:
The incremental data request that step s161, reception request transmitting terminal send, comprises view control parameter in described request;
Step s162, according to view control parameter and vector data as the view window width viewwidth of reference and Height viewheight calculates the resolution mark that vector data shows in view window determined by described view control parameter The amount of showing resolutionlabel;
Described resolution labelled amount resolutionlabel can also calculate in request transmitting terminal, directly as view control Parameter processed is sent to request receiving terminal, and described view control parameter then includes: vector data is in described view control parameter institute really In fixed view window display resolution labelled amount resolutionlabel, the identification number of the vector data first caching and The current highest resolution labelled amount of the vector data first caching.
If described resolution labelled amount resolutionlabel does not calculate in request transmitting terminal, and as view Control parameter is sent to request receiving terminal, then described view control parameter includes: the scope of active view window, active view window Mouth magnification ratio realradio, the current best result of the identification number of the vector data first caching and the vector data formerly caching Resolution labelled amount.
The scope of active view window includes: the width realviewwidth of view window, the height of view window realviewheight.
The computational methods of resolutionlabel are as follows:
Dradiow=(viewwidth*realradio)/realviewwidth;
Dradioh=(viewheight*realradio)/realviewheight;
If dradiow is more than dradioh, dradiow value is assigned to resolutionlabel
, otherwise dradioh value is assigned to resolutionlabel.
Step s163, foundation vector data are aobvious in view window determined by described view control parameter set in advance Resolution labelled amount resolutionlabel shown is determining resolution reference value for vector data described in abbreviation as working as Front resolution reference value, carries out abbreviation with current resolution reference value to described vector data, obtains current abbreviation result;
The current highest resolution labelled amount of the vector data that step s164, use formerly cache is as formerly resolution reference Value, carries out abbreviation with formerly resolution reference value to described vector data, obtains formerly abbreviation result;
Step s165, determine meet in described current abbreviation result increment condition data be incremental data;
The detailed process of this step includes:
Determine in described current abbreviation result, and not the coordinate points of the vector data in described formerly abbreviation result and Positional information in described vector data for this coordinate points is done incremental data;
Simultaneously using described current resolution reference value as incremental data current highest resolution labelled amount.
Step s166, the described incremental data of transmission are to request transmitting terminal.
As shown in figure 18, the method is applied to request to the flow process of another vector data progressive transmission method disclosed by the invention Receiving terminal, is cached with the situation of the vector data formerly caching based on request transmitting terminal, comprising:
The incremental data request that step s171, reception request transmitting terminal send, comprises view control parameter in described request;
Step s172, according to view control parameter and vector data as the view window width viewwidth of reference and Height viewheight calculates the resolution mark that vector data shows in view window determined by described view control parameter The amount of showing resolutionlabel;
Described resolution labelled amount resolutionlabel can also calculate in request transmitting terminal, directly as view control Parameter processed is sent to request receiving terminal, and described view control parameter then includes: vector data is in described view control parameter institute really In fixed view window display resolution labelled amount resolutionlabel, the identification number of the vector data first caching and The current highest resolution labelled amount of the vector data first caching.
If described resolution labelled amount resolutionlabel does not calculate in request transmitting terminal, and as view Control parameter is sent to request receiving terminal, then described view control parameter includes: the scope of active view window, active view window Mouth magnification ratio realradio, the current best result of the identification number of the vector data first caching and the vector data formerly caching Resolution labelled amount.
The scope of active view window includes: the width realviewwidth of view window, the height of view window realviewheight.
The computational methods of resolutionlabel are as follows:
Dradiow=(viewwidth*realradio)/realviewwidth;
Dradioh=(viewheight*realradio)/realviewheight;
If dradiow is more than dradioh, dradiow value is assigned to resolutionlabel
, otherwise dradioh value is assigned to resolutionlabel.
Step s173, foundation vector data are aobvious in view window determined by described view control parameter set in advance Resolution labelled amount resolutionlabel shown is determining resolution reference value for vector data described in abbreviation as working as Front resolution reference value;
The current highest resolution labelled amount of the vector data that step s174, use formerly cache is as formerly resolution reference Value;
Step s175, to analyze described vector data according to described current resolution reference value and first resolution reference value, To obtain the data meeting increment condition as incremental data.
The detailed process of this step is as shown in figure 19, comprising:
Step s1751, the resolution labelled amount chosen corresponding to first coordinate points of vector data and this coordinate points are made For currently pending coordinate points and current resolution labelled amount to be judged;
Step s1752, judge that whether described resolution labelled amount currently to be judged is less than or equal to current resolution reference It is worth and more than first resolution reference value, if so, then currently pending coordinate points are added to coordinate point set, execution step S1753, if it is not, then execution step s1753;
Step s1753, judge that whether described currently pending coordinate points are last in the coordinate points of described vector data One coordinate points, if it is not, then execution step s1754, if so, then execution step s1755;
Next coordinate points in step s1754, selection vector data are as currently pending coordinate points, and obtain described The corresponding resolution labelled amount of currently pending coordinate points, as currently resolution labelled amount to be judged, returns execution step s1752;
Step s1755, by the coordinate points and this coordinate points in described coordinate point set the position in described vector data Information is as the incremental data of described vector data, and terminates.
Simultaneously using described current resolution reference value as incremental data current highest resolution labelled amount.
Step s176, the described incremental data of transmission are to request transmitting terminal.
If the resolution labelled amount of described vector data uses versus control as vector data resolution mark The amount of showing, then need described current resolution reference value to be entered in use after line translation, the method for conversion is as follows:
Assume described current resolution reference value resolutionlabel, deduct described vector with resolutionlabel Data resolution labelled amount initial value rminThe value of gained is kkk, if kkk is less than or is equal to 0, current resolution Rate reference value is 1;If kkk be more than 0, by kkk divided by described vector data resolution labelled amount increment △ r, gained Value is assumed to hhh, if hhh is integer, using hhh as current resolution reference value;If hhh also has decimal, if will Ask the vector data after guaranteeing abbreviation to show in view window determined by described view control parameter set in advance not lose Very, then the integer value of hhh is added 1 as current resolution reference value, otherwise, can directly using the integer value of hhh as current Resolution reference value.If being also used as, using versus control, the vector data that formerly caches in the vector data formerly caching Current highest resolution labelled amount, then need will described conversion after current resolution reference value current as incremental data Highest resolution labelled amount.
When asking transmitting terminal not cache vector data, then do not deposit the identification number of the vector data first caching and formerly delay The current highest resolution labelled amount of the vector data deposited, does not therefore also comprise in view control parameter.Request receiving terminal exists After receiving incremental data request, according to view control parameter by the original vector data asked according to currently displaying view window The view control parameter of mouth carries out abbreviation, and the data obtaining is incremental data.After request transmitting terminal receives incremental data, will Incremental data as active view window need display data, shown, and cached, in order in this, as First cache vector data, carry out follow-up progressive transmission and process.
The present invention discloses a kind of processing meanss of vector data, its structure is as shown in figure 20, comprising:
Coordinate points acquiring unit 201, for obtaining the coordinate points of vector data;
Signal generating unit 202, for generating vector data minimum data tissue unit according to the coordinate points of described vector data Resolution labelled amount.
The present embodiment merely discloses its preferably implementation, and its specific work process refer to any one in Fig. 1-5 Flow process shown in width, here is not repeating.
The invention also discloses a kind of vector data abbreviation device, its structure is as shown in figure 21, comprising:
First determining unit 211, for determining the resolution reference value for vector data described in abbreviation;
First selection unit 212, for choosing first coordinate points and the resolution corresponding to this coordinate points of vector data Rate labelled amount is as currently pending coordinate points and current resolution labelled amount to be judged:
Whether the first judging unit 213, for judging described resolution labelled amount currently to be judged less than or equal to described For the resolution reference value of vector data described in abbreviation, if so, then currently pending coordinate points are added to coordinate point set;
Second judging unit 214, for judging that whether described currently pending coordinate points are the coordinate of described vector data Last coordinate points in point, if it is not, then executing next step, if so, then execute the coordinate in described coordinate point set Point is as the data after described vector data abbreviation, and end step;
Second selection unit 215, for choosing the next coordinate points in vector data as currently pending coordinate points, And obtaining the corresponding resolution labelled amount of described currently pending coordinate points as currently resolution labelled amount to be judged, return is held Row judges whether described resolution labelled amount currently to be judged is less than or equal to the described resolution for vector data described in abbreviation Rate reference value step;
Second determining unit 216, for using the coordinate points in described coordinate point set as after described vector data abbreviation Data, and terminate.
The present embodiment merely discloses its preferably implementation, and its specific work process refer to any one in Fig. 6-8 Flow process shown in width, here is not repeating.
The invention also discloses a kind of vector data drawing apparatus, its structure is as shown in figure 22, comprising:
Parameter acquiring unit 221, for obtaining the view control parameter of the view window of display vector data;
Computing unit 222, for according to described view control parameter and vector data as reference view window width Viewwidth and height viewheight calculates vector data and shows in view window determined by described view control parameter Resolution labelled amount resolutionlabel;
Abbreviation unit 223, for aobvious in view window determined by described view control parameter by described vector data Resolution labelled amount resolutionlabel shown as vector data described in abbreviation resolution reference value to described vector number According to carrying out abbreviation;
Drawing unit 224, for being painted the vector data after abbreviation in described view window using drawing algorithm System.
The present embodiment merely discloses its preferably implementation, and its specific work process refer to flow process shown in Fig. 9, This is not repeating.
The invention also discloses a kind of selecting device of vector data, its structure is as shown in figure 23, comprising:
The range of choice and condition acquiring unit 231, for obtaining and recording the range of choice and alternative condition;
Select processing unit 232, for showing in view window according to the described range of choice and alternative condition Vector data carry out selection process;
Selected cell 233, for after determining the process that the described vector data chosen is carried out, then according to described The range of choice and alternative condition are choosing all vector datas meeting and choosing condition.
The present embodiment merely discloses its preferably implementation, and its specific work process refer to flow process shown in Fig. 9, This is not repeating.
The invention also discloses a kind of vector data spatial relationship computing device, its structure is as shown in figure 24, comprising:
Spatial relationship determining unit 241, for low point corresponding to the original vector data to spatial relationship to be calculated Resolution vector data carries out spatial relationship calculating, determines certainly there is certain spatial relationship, affirmative between original vector data not There is certain spatial relationship, be likely to be of certain spatial relationship;
Analytic unit 242, for the vector data being likely to be of certain spatial relationship, being carried out using original vector data Analyse whether that there is certain spatial relationship.
The present embodiment merely discloses its preferably implementation, and its specific work process refer to flow process shown in Figure 10, Here is not repeating.
The invention also discloses a kind of vector data editing device, its structure is as shown in figure 25, comprising:
Obtain recording unit 251, for obtaining and recording the alternative condition selecting vector data to enter edlin;
Select unit 252, for according with the vector data showing in view window according to described alternative condition Close the object to be operated that the vector data of alternative condition operates as editing and processing;
Edit instruction and editor's parameter acquiring unit 253, for being carried out to the described vector data chosen determining Editing and processing after, obtain to the edit instruction of vector data and editor's parameter;
Edit cell 254, for choose all vector datas meeting and choosing condition according to described alternative condition, to institute State all vector datas choosing condition that meet according to described edit instruction to be and edit parameter and enter edlin to vector data.
The present embodiment merely discloses its preferably implementation, and its specific work process refer to flow process shown in Figure 12, Here is not repeating.
The invention also discloses a kind of vector data progressive transmission device is it is adaptable to client, its structure as shown in figure 26, Including:
Incremental data request transmitting unit 261, for when needing to ask incremental data, sending incremental data request, institute State and in request, comprise control parameter;
Incremental data receiving unit 262, for receiving the resolution mark according to described view control parameter and vector data The incremental data that the amount of showing obtains after being analyzed.
The present embodiment merely discloses its preferably implementation, and its specific work process refer in Figure 13-15 arbitrarily Flow process shown in one width, here is not repeating.
The present invention discloses another kind of vector data progressive transmission device is it is adaptable to server end, its structure is as schemed Shown in 27, comprising:
Incremental data request reception unit 271, for receiving the incremental data request that request transmitting terminal sends, described increment Control parameter is comprised in request of data;
Analysis and processing unit 272, for the resolution of the view control parameter that contains according to described request bag and vector data Labelled amount is analyzed to vector data processing, and determines that the data meeting increment condition in vector data is incremental data;
Transmitting element 273, for sending described incremental data to described request transmitting terminal.
The present embodiment merely discloses its preferably implementation, and its specific work process refer in Figure 16-17 arbitrarily Flow process shown in one width, here is not repeating.
A kind of vector data processing method and processing device disclosed by the invention can be arranged in computer it is also possible to be arranged on In mobile phone or other equipment.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it corresponds to the method disclosed in Example, so description is fairly simple, say referring to method part in place of correlation Bright.
Professional further appreciates that, in conjunction with the unit of each example of the embodiments described herein description And algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, generally describes composition and the step of each example in the above description according to function.These Function to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specialty Technical staff can use different methods to each specific application realize described function, but this realization should Think beyond the scope of this invention.
The step of the method in conjunction with the embodiments described herein description or algorithm can directly be held with hardware, processor The software module of row, or the combination of the two is implementing.Software module can be placed in random access memory (ram), internal memory, read-only deposit Reservoir (rom), electrically programmable rom, electrically erasable rom, depositor, hard disk, moveable magnetic disc, cd-rom or technology In known any other form of storage medium in field.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one The scope the widest causing.

Claims (14)

1. a kind of processing method of vector data is it is characterised in that include:
Obtain the coordinate points of vector data;
Coordinate points according to described vector data generate the resolution labelled amount that vector data minimum data organizes unit;
Wherein, the minimum data tissue unit of two-dimensional vector data is coordinate points, and the minimum data tissue of trivector data is single Position is related with threedimensional model.
2. method according to claim 1 is it is characterised in that the generation method bag of the resolution labelled amount of vector data Include:
Set the view window as reference, described view window includes width viewwidth and the height of view window viewheight;
According to the described view window as reference, generate the resolution labelled amount of vector data.
3. method according to claim 2 is it is characterised in that the generation method bag of the resolution labelled amount of vector data Include:
Calculate the initial value of the resolution labelled amount of described vector data;
Set the increment of resolution labelled amount;
According to the initial value of described resolution labelled amount and resolution labelled amount vector data described in incremental computations each Resolution labelled amount corresponding to small data organization unit.
4. a kind of method of vector data editor is it is characterised in that include:
Obtain and record the alternative condition selecting vector data to enter edlin;
According to described alternative condition to the vector data meeting alternative condition in the vector data showing in view window The object to be operated as editing and processing operation;
After determining the editing and processing that the described vector data chosen is carried out, obtain to the edit instruction of vector data and Editor's parameter;
To choose all vector datas meeting and choosing condition according to described alternative condition, to described all meet choose condition Vector data according to described edit instruction is and edits parameter and enter edlin to vector data.
5. a kind of method of vector data progressive transmission is it is characterised in that include:
When needing to ask incremental data, send incremental data request, in described request, comprise view control parameter;
Receive the incremental data obtaining after being analyzed according to the resolution labelled amount of described view control parameter and vector data;
Wherein, described view control parameter includes vector number in the width of view window, the height of view window and view window According to magnification ratio;
Wherein, when the ratio of the width of the rectangular extent of width and the vector data of view window, less than the height of view window During with the ratio of the height of the rectangular extent of vector data, in shown view window, the magnification ratio of vector data adopts view window The ratio of the width of rectangular extent of the width of mouth and vector data;Otherwise, in shown view window vector data amplification ratio Example adopts the ratio of the height of view window and the height of rectangular extent of vector data.
6. method according to claim 5 is it is characterised in that request transmitting terminal is cached with the vector data formerly caching Situation, concrete steps include:
According to view control parameter and vector data as reference view window width viewwidth and height viewheight Calculate the resolution labelled amount that vector data shows in view window determined by described view control parameter resolutionlabel;
Obtain the current highest resolution labelled amount of the vector data formerly caching;
Whether the current highest resolution labelled amount of the vector data formerly caching described in judgement is less than described vector data in institute State resolution labelled amount resolutionlabel of display in view window determined by view control parameter, if so, then continue Execute follow-up step, if it is not, then terminating;
Send incremental data request, in described request, comprise view control parameter;
Receive the incremental data obtaining after being analyzed according to the resolution labelled amount of described view control parameter and vector data;
By the incremental data of described reception be inserted into described in the vector data that formerly caches.
7. method according to claim 6 it is characterised in that by the incremental data of described reception be inserted into described in formerly delay Process in the vector data deposited includes:
Obtain the positional information of original coordinates point in described incremental data and current highest resolution labelled amount;
According to described positional information, by the original coordinates point in described incremental data be inserted into described in the vector data that formerly caches Correspondence position;
The current highest resolution labelled amount of the vector data formerly caching described in replacement is current included in incremental data Highest resolution labelled amount.
8. a kind of vector data progressive transmission method is it is characterised in that include:
Receive the incremental data request that request transmitting terminal sends, in described incremental data request, comprise view control parameter;
The view control parameter containing according to described request bag and the resolution labelled amount of vector data are analyzed to vector data Process, determine that the data meeting increment condition in vector data is incremental data;
Send described incremental data to described request transmitting terminal;
Wherein, described view control parameter includes vector number in the width of view window, the height of view window and view window According to magnification ratio;
Wherein, the incremental data process required for request transmitting terminal that obtains includes:
Receive the incremental data request that request transmitting terminal sends, in described request, comprise view control parameter;
The resolution mark showing in view window determined by described view control parameter set in advance according to vector data The amount of showing resolutionlabel is determining resolution reference value for vector data described in abbreviation as current resolution reference Value;
With the current highest resolution labelled amount of vector data that formerly caches as formerly resolution reference value;
To analyze described vector data according to described current resolution reference value and first resolution reference value, to obtain and to meet increment The data of condition includes as incremental data, the detailed process of this step:
Choose first coordinate points of vector data and the resolution labelled amount corresponding to this coordinate points as currently pending seat Punctuate and currently resolution labelled amount to be judged;
Judge described resolution labelled amount currently to be judged whether less than or equal to current resolution reference value and more than first dividing If so, currently pending coordinate points are then added to coordinate point set by resolution reference value;
Judge that whether described currently pending coordinate points are last coordinate points in the coordinate points of described vector data, if No, then execute next step, if so, then execute the coordinate points in described coordinate point set and this coordinate points in described vector number According in positional information as described vector data incremental data, and end step;
Next coordinate points in selection vector data are as currently pending coordinate points, and obtain described currently pending coordinate The corresponding resolution labelled amount of point as currently resolution labelled amount to be judged, returns execution and judges described currently to treat judgement resolution Whether rate labelled amount is less than or equal to current resolution reference value and more than first resolution reference value step;
Using positional information in described vector data for the coordinate points and this coordinate points in described coordinate point set as described arrow The incremental data of amount data, and terminate;
Simultaneously using described current resolution reference value as incremental data current highest resolution labelled amount;
Send described incremental data to request transmitting terminal.
9. method according to claim 8 has, it is characterised in that working as request Sender side Storage, the vector data formerly caching When, described control parameter includes: the scope of active view window, active view window magnification ratio, the vector data first caching Identification number and the vector data formerly caching current highest resolution labelled amount.
10. method according to claim 8 has, it is characterised in that working as request Sender side Storage, the vector number formerly caching According to when, described control parameter includes: the resolution that vector data shows in view window determined by described view control parameter Rate labelled amount resolutionlabel, the identification number of the vector data first caching and the vector data that formerly caches current High-resolution labelled amount.
A kind of 11. processing meanss of vector data are it is characterised in that include:
Coordinate points acquiring unit, for obtaining the coordinate points of vector data;
Signal generating unit, generates, for the coordinate points according to described vector data, the resolution that vector data minimum data organizes unit Labelled amount;
Wherein, the minimum data tissue unit of two-dimensional vector data is coordinate points, and the minimum data tissue of trivector data is single Position is related with threedimensional model.
A kind of 12. vector data editing devices are it is characterised in that include:
Obtain recording unit, for obtaining and recording the alternative condition selecting vector data to enter edlin;
Select unit, for meeting selector bar according to described alternative condition in the vector data showing in view window The object to be operated that the vector data of part operates as editing and processing;
Edit instruction and editor's parameter acquiring unit, for determining the Editorial Services that the described vector data chosen is carried out After reason, obtain the edit instruction to vector data and editor's parameter;
Edit cell, for choose all vector datas meeting and choosing condition according to described alternative condition, to described all Meet the vector data choosing condition according to described edit instruction to be and edit parameter and enter edlin to vector data.
A kind of 13. vector data progressive transmission devices are it is characterised in that include:
Incremental data request transmitting unit, for when needing to ask incremental data, sending incremental data request, in described request Comprise view control parameter;
Incremental data receiving unit, is carried out according to the resolution labelled amount of described view control parameter and vector data for receiving The incremental data obtaining after analysis;
Wherein, described view control parameter includes vector number in the width of view window, the height of view window and view window According to magnification ratio;
Wherein, when the ratio of the width of the rectangular extent of width and the vector data of view window, less than the height of view window During with the ratio of the height of the rectangular extent of vector data, in shown view window, the magnification ratio of vector data adopts view window The ratio of the width of rectangular extent of the width of mouth and vector data;Otherwise, in shown view window vector data amplification ratio Example adopts the ratio of the height of view window and the height of rectangular extent of vector data.
A kind of 14. vector data progressive transmission devices are it is characterised in that include:
Incremental data request reception unit, for receiving the incremental data request that request transmitting terminal sends, described incremental data please View control parameter is comprised in asking;
Analysis and processing unit, for the resolution labelled amount pair of the view control parameter that contains according to described request bag and vector data Vector data is analyzed processing, and determines that the data meeting increment condition in vector data is incremental data;
Transmitting element, for sending described incremental data to described request transmitting terminal;
Wherein, described view control parameter includes vector number in the width of view window, the height of view window and view window According to magnification ratio;
Wherein, the incremental data process required for request transmitting terminal that obtains includes:
Receive the incremental data request that request transmitting terminal sends, in described request, comprise view control parameter;
The resolution mark showing in view window determined by described view control parameter set in advance according to vector data The amount of showing resolutionlabel is determining resolution reference value for vector data described in abbreviation as current resolution reference Value;
With the current highest resolution labelled amount of vector data that formerly caches as formerly resolution reference value;
To analyze described vector data according to described current resolution reference value and first resolution reference value, to obtain and to meet increment The data of condition includes as incremental data, the detailed process of this step:
Choose first coordinate points of vector data and the resolution labelled amount corresponding to this coordinate points as currently pending seat Punctuate and currently resolution labelled amount to be judged;
Judge described resolution labelled amount currently to be judged whether less than or equal to current resolution reference value and more than first dividing If so, currently pending coordinate points are then added to coordinate point set by resolution reference value;
Judge that whether described currently pending coordinate points are last coordinate points in the coordinate points of described vector data, if No, then execute next step, if so, then execute the coordinate points in described coordinate point set and this coordinate points in described vector number According in positional information as described vector data incremental data, and end step;
Next coordinate points in selection vector data are as currently pending coordinate points, and obtain described currently pending coordinate The corresponding resolution labelled amount of point as currently resolution labelled amount to be judged, returns execution and judges described currently to treat judgement resolution Whether rate labelled amount is less than or equal to current resolution reference value and more than first resolution reference value step;
Using positional information in described vector data for the coordinate points and this coordinate points in described coordinate point set as described arrow The incremental data of amount data, and terminate;
Simultaneously using described current resolution reference value as incremental data current highest resolution labelled amount;
Send described incremental data to request transmitting terminal.
CN201610940523.3A 2011-11-08 2011-11-08 Method and device for processing vector data Pending CN106372261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610940523.3A CN106372261A (en) 2011-11-08 2011-11-08 Method and device for processing vector data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610940523.3A CN106372261A (en) 2011-11-08 2011-11-08 Method and device for processing vector data
CN2011103506098A CN103092892A (en) 2011-11-08 2011-11-08 Processing method and device of vector data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2011103506098A Division CN103092892A (en) 2011-11-08 2011-11-08 Processing method and device of vector data

Publications (1)

Publication Number Publication Date
CN106372261A true CN106372261A (en) 2017-02-01

Family

ID=48205469

Family Applications (6)

Application Number Title Priority Date Filing Date
CN2011103506098A Pending CN103092892A (en) 2011-11-08 2011-11-08 Processing method and device of vector data
CN201610932294.0A Active CN106502611B (en) 2011-11-08 2011-11-08 A kind of processing method and processing device of vector data
CN201610932293.6A Active CN106503171B (en) 2011-11-08 2011-11-08 Vector data processing method and device
CN201610932292.1A Active CN106485654B (en) 2011-11-08 2011-11-08 Vector data processing method and device
CN201610930050.9A Active CN106445445B (en) 2011-11-08 2011-11-08 Vector data processing method and device
CN201610940523.3A Pending CN106372261A (en) 2011-11-08 2011-11-08 Method and device for processing vector data

Family Applications Before (5)

Application Number Title Priority Date Filing Date
CN2011103506098A Pending CN103092892A (en) 2011-11-08 2011-11-08 Processing method and device of vector data
CN201610932294.0A Active CN106502611B (en) 2011-11-08 2011-11-08 A kind of processing method and processing device of vector data
CN201610932293.6A Active CN106503171B (en) 2011-11-08 2011-11-08 Vector data processing method and device
CN201610932292.1A Active CN106485654B (en) 2011-11-08 2011-11-08 Vector data processing method and device
CN201610930050.9A Active CN106445445B (en) 2011-11-08 2011-11-08 Vector data processing method and device

Country Status (1)

Country Link
CN (6) CN103092892A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485654A (en) * 2011-11-08 2017-03-08 苏州超擎图形软件科技发展有限公司 A kind of processing method and processing device of vector data

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902513A (en) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 Method and device for displaying fonts in terminal device
CN106326492B (en) * 2016-09-19 2019-08-27 深圳市数字城市工程研究中心 Space vector data generation method and device
CN107688560A (en) * 2017-08-30 2018-02-13 青岛创易智联网络有限公司 Photographing On-line editing machine word turns SVG systems on demand
CN108319701B (en) * 2018-02-05 2020-09-15 北京纬思拓信息科技有限公司 Map data comprehensive processing method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860472A (en) * 2003-09-30 2006-11-08 佳能株式会社 Method and device for editing svg digital graphical documents using a browser
CN101119485A (en) * 2007-08-06 2008-02-06 北京航空航天大学 Characteristic reservation based three-dimensional model progressive transmission method
CN101217654A (en) * 2008-01-04 2008-07-09 华南理工大学 Scalable organization method of video bit stream
CN101246597A (en) * 2007-11-30 2008-08-20 北京师范大学 Method for commercial scale vector map data gradual transmission and dynamic reconstruction
CN101515372A (en) * 2009-02-04 2009-08-26 北京石油化工学院 Visual analyzing and predicting method based on a virtual geological model
CN101819590A (en) * 2010-01-07 2010-09-01 董福田 Vectordata self-adaptation simplification method based on spatial entity view model
CN101827097A (en) * 2010-01-07 2010-09-08 董福田 Vector data self-adaption progressive transmission method based on spatial entity view model
US20100266054A1 (en) * 2006-05-26 2010-10-21 Telecommunications Research Laboratories Quantization of channel state information in multiple antenna systems
CN102044089A (en) * 2010-09-20 2011-05-04 董福田 Method for carrying out self-adaption simplification, gradual transmission and rapid charting on three-dimensional model
CN102096945A (en) * 2010-01-07 2011-06-15 董福田 Method and device for progressive transmission of spatial data

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2062911A1 (en) * 1991-05-17 1992-11-18 Stephen C. Gates Computer graphics system and method for auto-tresselating graphic objects
US6314452B1 (en) * 1999-08-31 2001-11-06 Rtimage, Ltd. System and method for transmitting a digital image over a communication network
US7009626B2 (en) * 2000-04-14 2006-03-07 Picsel Technologies Limited Systems and methods for generating visual representations of graphical data and digital document processing
CN100546196C (en) * 2005-12-01 2009-09-30 武汉大学 A kind of compression method of two-dimensional vector data
CN100576165C (en) * 2008-07-08 2009-12-30 深圳市蓝韵实业有限公司 A kind of integrated reduced graph implementation method based on multi-screen
CN101359341B (en) * 2008-09-08 2010-09-29 中国科学院地理科学与资源研究所 Dimension setting method based on vector data traffic
CN101814197A (en) * 2010-01-07 2010-08-25 董福田 Spatial entity view model and processing method thereof
CN102074004B (en) * 2010-01-07 2013-09-25 董福田 Method and device for determining type of barrier of spatial entity
CN102063496B (en) * 2010-01-07 2013-03-13 董福田 Spatial data simplifying method and device
CN103092892A (en) * 2011-11-08 2013-05-08 董福田 Processing method and device of vector data

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860472A (en) * 2003-09-30 2006-11-08 佳能株式会社 Method and device for editing svg digital graphical documents using a browser
US20100266054A1 (en) * 2006-05-26 2010-10-21 Telecommunications Research Laboratories Quantization of channel state information in multiple antenna systems
CN101119485A (en) * 2007-08-06 2008-02-06 北京航空航天大学 Characteristic reservation based three-dimensional model progressive transmission method
CN101246597A (en) * 2007-11-30 2008-08-20 北京师范大学 Method for commercial scale vector map data gradual transmission and dynamic reconstruction
CN101217654A (en) * 2008-01-04 2008-07-09 华南理工大学 Scalable organization method of video bit stream
CN101515372A (en) * 2009-02-04 2009-08-26 北京石油化工学院 Visual analyzing and predicting method based on a virtual geological model
CN101819590A (en) * 2010-01-07 2010-09-01 董福田 Vectordata self-adaptation simplification method based on spatial entity view model
CN101827097A (en) * 2010-01-07 2010-09-08 董福田 Vector data self-adaption progressive transmission method based on spatial entity view model
CN102096945A (en) * 2010-01-07 2011-06-15 董福田 Method and device for progressive transmission of spatial data
CN102044089A (en) * 2010-09-20 2011-05-04 董福田 Method for carrying out self-adaption simplification, gradual transmission and rapid charting on three-dimensional model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙庆辉 等: ""矢量数据的压缩"", 《空间位置信息服务系统原理和方法(2009年2月第1版)》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485654A (en) * 2011-11-08 2017-03-08 苏州超擎图形软件科技发展有限公司 A kind of processing method and processing device of vector data

Also Published As

Publication number Publication date
CN106485654A (en) 2017-03-08
CN106445445A (en) 2017-02-22
CN106502611A (en) 2017-03-15
CN103092892A (en) 2013-05-08
CN106503171B (en) 2020-02-07
CN106502611B (en) 2019-10-18
CN106485654B (en) 2021-10-26
CN106445445B (en) 2022-06-03
CN106503171A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN110738721B (en) Three-dimensional scene rendering acceleration method and system based on video geometric analysis
US8154544B1 (en) User specified contact deformations for computer graphics
US8253736B2 (en) Reducing occlusions in oblique views
CN102110280B (en) Spatial data processing method and device
CN106372261A (en) Method and device for processing vector data
CN109448137B (en) Interaction method, interaction device, electronic equipment and storage medium
CN108876910A (en) A kind of three-dimensional modeling method, device, equipment and computer readable storage medium
US9805517B2 (en) Integrating external algorithms into a flexible framework for imaging visualization data
CN102096945B (en) Progressive transmission of spatial data and device
CN108122266A (en) A kind of method, apparatus and storage medium for caching skeleton cartoon and rendering texture
CN107728201B (en) A kind of two-dimension earthquake profile drawing method based on Web
CN102063496B (en) Spatial data simplifying method and device
CN116977523B (en) STEP format rendering method at WEB terminal
Noguera et al. Volume rendering strategies on mobile devices
Scholz et al. Real‐time isosurface extraction with view‐dependent level of detail and applications
CN116109803A (en) Information construction method, device, equipment and storage medium
CN102074004B (en) Method and device for determining type of barrier of spatial entity
KR20200065797A (en) 3D spatial information visualization system and method
Mao et al. Three-axis NC milling simulation based on adaptive triangular mesh
CN103425783B (en) Progressive transmission of spatial data and device
KR101129084B1 (en) Method for terrain rendering using biased vertex distribution
CN117814934B (en) Root canal preparation process visualization method and device
CN102956028A (en) Graphic data cross-platform accelerated transmission and display method and graphic data cross-platform accelerated transmission and display device
CN113448472B (en) Binding method of GIS data and three-dimensional model interaction behavior and related device
Gois et al. Resampling strategies for deforming MLS surfaces

Legal Events

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

Application publication date: 20170201