CN102222066B - Conflict shifting processing method for multi-source spatial data combination - Google Patents

Conflict shifting processing method for multi-source spatial data combination Download PDF

Info

Publication number
CN102222066B
CN102222066B CN201010148256.9A CN201010148256A CN102222066B CN 102222066 B CN102222066 B CN 102222066B CN 201010148256 A CN201010148256 A CN 201010148256A CN 102222066 B CN102222066 B CN 102222066B
Authority
CN
China
Prior art keywords
point
delta
entity
line
coordinate
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.)
Expired - Fee Related
Application number
CN201010148256.9A
Other languages
Chinese (zh)
Other versions
CN102222066A (en
Inventor
童小华
陈鹏
谢欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
Original Assignee
Tongji University
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 Tongji University filed Critical Tongji University
Priority to CN201010148256.9A priority Critical patent/CN102222066B/en
Publication of CN102222066A publication Critical patent/CN102222066A/en
Application granted granted Critical
Publication of CN102222066B publication Critical patent/CN102222066B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a conflict shifting processing method for multi-source spatial data combination. The method comprises the following steps of: (1) reading data, and constructing topological relationships among entities; (2) performing entity matching; (3) performing the regulation and combination of entity coordinates; (4) checking whether combination results comprise mismatching or not, correcting the mismatching and returning to the step (3) if the combination results comprise the mismatching, and executing the step (5) if the combination results do not comprise the mismatching; and (5) automatically detecting the existence or inexistence of a picture conflict, and if the picture conflict is automatically detected, performing conflict shifting by adopting a least square adjustment method. Compared with the prior art, the method has the advantages of saving manpower and material resources, eliminating differences among data sets, solving the spatial conflict, maintaining geometrical characteristics of the entities, and the like.

Description

The conflict shifting processing method that a kind of multi-source Spatial Data merges
Technical field
The present invention relates to the conflict shifting processing method that a kind of data merge, especially relate to the conflict shifting processing method that a kind of multi-source Spatial Data merges.
Background technology
Along with the development of Surveying and Mapping Industry and Geographic Information System (GIS), abundant GIS data resource has been accumulated by each department, and these data have various difference.Between data set, why producing difference is mainly due to the production division data from different, and, for self needs, there is different emphasis in each production division to data.As land administration department emphasizes the positional information in plot, thereby the database producing has higher spatial positional precision, and economic department is studied for space distribution information, more focuses on the attribute information of non-space, the database of its generation has abundant attribute data, but precision is poor.Wherein, of paramount importance a little species diversity is as follows:
1, the difference of data model.Existing GIS data model is divided into Vector Data Model and raster data model, even model of the same race, Method of Data Organization also can be different, as line entity may be used face list structure, also may use node segmental arc topological structure;
2, database structure difference, the field comprising as database is different, and same field data type is not equal;
3, data the level of detail is different, different mainly due to map scale, is subject to the impact of Map Generalization, for same entity information amount, varies in size.As, river under large scale than there is more multiple spot information under small scale, or due to data acquisition asynchronism(-nization), cause some entity on new figure not exist etc. on old figure;
4, the differences in spatial location of entity of the same name;
5, data precision difference, for example large scale topographical map is higher to the accuracy requirement of the volume coordinate position of atural object, and the cadastre of same ratio chi only requires that there is higher precision in ownership boundary line.
Due to above-mentioned kind of species diversity, realize data integrated and shared be difficulty comparatively, therefore most departments take the method for repeated acquisition, have wasted a large amount of manpower and materials, also caused the idle of a large amount of useful datas.Realize separate sources, have the integrated and shared important topic that has become present stage GIS development of the data of each species diversity.In order to utilize better these data, eliminate the difference of each data set to form the new data set that can meet certain requirement, therefore there is " spatial data merging " this concept.
Spatial data merging refers on the basis of spatial entities coupling of the same name, adjusts the geometric position of relevant atural object entity, realizes the integrated and information fusion of areal separate sources spatial data.In spatial data merging process, because the displacement of entity can cause and the conflicting of other entity.Be illustrated in fig. 1 shown below, in figure, entity comprises buildings entity and road entity, and in merging process, path layer carries out respectively the adjustment conversion of entity from buildings layer according to different maps, when two figure stacked with together with time, the too small Graphic Conflicts that causes of some buildings and road spacing.
Existing large quantity research attempts to solve the conflict displacement problem of figure.Lichtner (1976) has proposed the displacement formula of putting under perfect condition, and off-line entity is far away, and shift amount is less, and the method does not consider that a displacement is subject to the impact of many line entities, is only applicable to the displacement that single line entity causes.Many methods were all based on this thought afterwards, and expanded, for example, consider that road turnover is to the combined effect of every in displacement district, then according to corner, the floor area of building to whole building or turning point displacement.Mackness (1994) has set up and a kind ofly by target interphase interaction space exploration, has conflicted, thereby implements the attenuation type shifting function away from conflict center.Another kind method is that polar plot is converted into grid map, Li Zhilin (1996) has proposed the Map Generalization key element displacement model based on mathematical morphology, Fei Lifan (2004,2002) propose to adopt the grid one vector MIDAS mixed data structure owned building in district that will be shifted to classify, carry out the operations such as cartographic displacement and controlled-deformation.In additive method, Burghardt & Meier (1997) has proposed " snake " model, has considered that the external energy (conflict) of entity and internal energy (single order that entity is how much, second order reciprocal) are to reach energy minimum simultaneously.It is some triangles by whole Region Segmentation that Hojholt (1998) is used finite element method, to survey and manage conflict problem.Ai Tinghua (2004) sets up the subdivision structure that is similar to Voronoi figure in polygon cluster space, obtains " equidistant relation curve " for expressing the effect of a displacement power, by vector calculus, obtains direction of displacement and displacement.
About seldom mentioning the follow-up collision problem causing because merging in the research of spatial data, complete spatial data combination system should be able to detect conflict the displacement that automatically conflicts both at home and abroad.
The topological relation that must keep inter-entity while managing conflict displacement problem, the geometrical property of as far as possible preserving entity, can't bring new collision problem simultaneously.
Summary of the invention
The conflict shifting processing method that object of the present invention is exactly the difference that provides a kind of in order to overcome the defect that above-mentioned prior art exists and use manpower and material resources sparingly, eliminate each data set, solved space conflict, kept the multi-source Spatial Data of entity geometric properties to merge.
Object of the present invention can be achieved through the following technical solutions:
The conflict shifting processing method that multi-source Spatial Data merges, is characterized in that, comprises the following steps:
(1) reading out data, the topological relation of structure inter-entity;
(2) carry out entity coupling;
(3) carry out the adjustment merging of entity coordinate;
(4) whether check amalgamation result there is mistake coupling, and if yes, correct mistake coupling, and return to step (3), if NO, execution step (5);
(5) automatically whether detection there is Graphic Conflicts, if yes, adopts the least square adjustment displacement that manages conflict.
Entity coupling in described step (2) comprises the coupling of an entity, the coupling of the coupling of line entity, face entity.
Employing least square adjustment in described step (5) manage conflict displacement as follows:
If point coordinate is (x in former figure i 0, y i 0) (i=1,2 ..., n) as parameter approximate value, the position coordinates after point is mobile as adjusted value, have
x ^ i = x i 0 + Δx i y ^ i = y i 0 + Δy i ( i = 1,2 , · · · , n ) - - - ( 1 )
(Δ x in formula i, Δ y i) be coordinate translation amount, be parameter to be solved is adjusted value correction, the adjustment Equations of use comprises as follows:
1) coordinate amount of movement error equation
The point that forms entity should remain on original position as far as possible, and coordinate amount of movement will, close to 0, obtain following error equation
v x i = Δx i v y i = Δy i - - - ( 2 )
All corresponding two the coordinate amount of movement error equations of each point, therefore the number of whole coordinate amount of movement error equation is total number of the point of twice;
2) relative shift error equation
In order to keep the geometry of entity inside, should make the relative shift of consecutive point on entity close to 0, can obtain following error equation
v x i , j + 1 = Δx i - Δx i + 1 v y i , i + 1 = Δy i - Δy i + 1 - - - ( 3 )
3) shape error equation
Keep the original shape of entity when making Coordinate Adjusting, need carry out shape restriction to entity to be adjusted, if keep the turning value of entity frontier point, can obtain error equation and be
v β i = a ik Δx k + b ik Δy k - ( a ik - a ij ) Δx i - ( b ik - b ij ) Δy i - a ij Δx j - b ij Δy j - l β i - - - ( 4 )
In formula a ij = - sin α ij s ij ; b ij = cos α ij s ij ; a ik = - sin α ik s ik ; b ik = cos α ik s ik
s ij = ( x j 0 - x i 0 ) 2 + ( y j 0 - y i 0 ) 2 ; s ik = ( x k 0 - x i 0 ) 2 + ( y k 0 - y i 0 ) 2
l β i = β i - β i 0 ; β i 0 = arctan y k 0 - y i 0 x k 0 - x i 0 - arctan y j 0 - y i 0 x j 0 - x i 0
Wherein, α ik, α ijbe respectively the position angle of ik, ij direction, by the approximation calculation of coordinate adjustment value, obtained, the former angle value that β is corner point, the number of shape error equation is the number of entity corner point;
4) conflict shift error equation
Graphic Conflicts can be divided into a little and conflicting with face with line, line with face, line with line, point with point, point,
Point is tried to achieve with the range formula of point
v D ( P i , P j ) + D ( P i , P j ) = ( x ^ j - x ^ i ) 2 + ( y ^ j - y ^ i ) 2 - - - ( 5 )
Wherein, the error of distance observation, D (P i, P j) be a P i(x i, y i) and P j(x j, y j) distance, with it is the coordinate after its displacement;
Linearization obtains its error equation:
v dist=-a ijΔx i+b ijΔy i+a ijΔx j-b ijΔy j-l dist (6)
A wherein ij=cos α ij, b ij=-sin α ij, α ijapproximation calculation by coordinate adjustment value obtains, l distvalue be divided into two kinds of situations: if the distance D of point and point before mobile point-pointbe less than minimum threshold of distance mindist, l dist=min dist-D point-point, wherein if D point-pointbe greater than mindist and be less than l of 1.5*mindist dist=0;
Point with the range equation of line segment is:
v D ( P i , L P j P k ) + D ( P i , L P j P k ) = | ( y ^ j - y ^ k ) x ^ i + ( x ^ k - x ^ j ) y ^ i + ( x ^ j y ^ k - x ^ k y ^ j ) | ( y ^ k - y ^ j ) 2 + ( x ^ k - x ^ j ) 2 - - - ( 7 )
Wherein, with respectively apart from observed reading and error, with two end points of the point after adjustment and line segment;
Linearization obtains its error equation:
v D ( P i , L P j P k ) = a ijk δx i + b ijk δy i + c ijk δx j + d ijk δy j + e ijk δx k + f ijk δy k - l D ( P i , P j P k ) - - - ( 8 )
Wherein, (x i 0, y i 0), (x j 0, y j 0) and (x k 0, y k 0) be the approximate value of coordinate, and
a ijk = y j 0 - y k 0 ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 1 / 2 ;
b ijk = x k 0 - x j 0 ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 1 / 2 ;
c ijk = ( y k 0 - y i 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( x k 0 - x j 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
d ijk = ( x i 0 - x k 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( y k 0 - y j 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
e ijk = ( y i 0 - y j 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( x j 0 - x k 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
f ijk = ( x j 0 - x i 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( y j 0 - y k 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
l D ( P i , L P j P k ) = D ( P i , L P j P k ) - | ( y j 0 - y k 0 ) x i 0 + ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) | ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 .
L in formula distvalue with point with point error equation identical, if D point-line< mindist, l dist=min dist-D point-lineif, mindist < D point-line< 1.5*mindist, l dist=0;
Point with the distance definition of face is: this,, to the minor increment forming in the distance of all polylines of this face, thus, can be similar to formula (8) and set up the distance error equation that point arrives face;
Line to the distance definition of line is: for line segment L iand L j, its distance is
D ( L i , L j ) = min P i &Element; L i { min P j &Element; L j { D ( P i , P j ) } } - - - ( 9 )
Wherein, P iline segment L ion any point, P jline segment L jon any point, D (P i, P j) be a P iand P jdistance, according to formula (5), calculate;
Line to the distance definition of face is: for line segment L iwith polygon A j, its distance is
D ( L i , A j ) = min P i &Element; L i { min P j &Element; A j { D ( P i , P j ) } } - - - ( 10 )
Wherein, P iline segment L ion any point, P jpolygon A jin any point, line is line segment to the minimum value forming in the distance of this polygonal polyline to the distance definition of face,
Line to the distance definition of face is: for line segment A iwith polygon A j, its distance is
D ( A i , A j ) = min P i &Element; A i { min P j &Element; A j { D ( P i , P j ) } } - - - ( 11 )
Wherein, P ipolygon A iin any point, P jpolygon A jin any point, the various equations of simultaneous, are indirect adjustment problem, its universal model is:
v=Ax-l (12)
In formula, x is parameter vector, x=(Δ x 1Δ y 1Δ x nΔ y n) t; A is factor arrays; L is constant vector; 1 is constant vector; V is residual vector, by the principle of least square, can obtain normal equation and is
N Ax-U=0 (13)
In formula: N a=A tpA; U=A tpl, P is weight matrix;
Separating normal equation can obtain:
x = N A - 1 &CenterDot; U - - - ( 14 )
Parameter x substitution error equation by trying to achieve, obtains residual error v and adjusted value coordinate adjustment value is the coordinate after a movement;
The inverse of weight matrix computing formula of coordinate adjustment value is
Q x ^ x ^ ( A T PA ) - 1 = N A - 1 - - - ( 15 )
The factor arrays that wherein A is error equation, p is power battle array, the accuracy formula of adjusted value is
&sigma; ^ x ^ i = &PlusMinus; &sigma; ^ 0 Q x ^ i x ^ i - - - ( 16 )
Wherein for the pivot of matrix, error in weight unit
Compared with prior art, the present invention have use manpower and material resources sparingly, eliminate each data set difference, solved space conflict, kept entity geometric properties.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention;
Fig. 2 is structure table precedence diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
As shown in Figure 1, the conflict shifting processing method that a kind of multi-source Spatial Data merges, comprises the following steps:
(1) reading out data, the topological relation of structure inter-entity;
(2) carry out entity coupling;
(3) carry out the adjustment merging of entity coordinate;
(4) whether check amalgamation result there is mistake coupling, and if yes, correct mistake coupling, and return to step (3), if NO, execution step (5);
(5) automatically whether detection there is Graphic Conflicts, if yes, adopts the least square adjustment displacement that manages conflict.
Entity coupling in described step (2) comprises the coupling of an entity, the coupling of the coupling of line entity, face entity.
Employing least square adjustment in described step (5) manage conflict displacement as follows:
If point coordinate is (x in former figure i 0, y i 0) (i=1,2 ..., n) as parameter approximate value, the position coordinates after point is mobile as adjusted value, have
x ^ i = x i 0 + &Delta;x i y ^ i = y i 0 + &Delta;y i ( i = 1,2 , &CenterDot; &CenterDot; &CenterDot; , n ) - - - ( 1 )
(Δ x in formula i, Δ y i) be coordinate translation amount, be parameter to be solved is adjusted value correction, the adjustment Equations of use comprises as follows:
1) coordinate amount of movement error equation
The point that forms entity should remain on original position as far as possible, and coordinate amount of movement will, close to 0, obtain following error equation
v x i = &Delta;x i v y i = &Delta;y i - - - ( 2 )
All corresponding two the coordinate amount of movement error equations of each point, therefore the number of whole coordinate amount of movement error equation is total number of the point of twice;
2) relative shift error equation
In order to keep the geometry of entity inside, should make the relative shift of consecutive point on entity close to 0, can obtain following error equation
v x i , j + 1 = &Delta;x i - &Delta;x i + 1 v y i , i + 1 = &Delta;y i - &Delta;y i + 1 - - - ( 3 )
3) shape error equation
Keep the original shape of entity when making Coordinate Adjusting, need carry out shape restriction to entity to be adjusted, if keep the turning value of entity frontier point, can obtain error equation and be
v &beta; i = a ik &Delta;x k + b ik &Delta;y k - ( a ik - a ij ) &Delta;x i - ( b ik - b ij ) &Delta;y i - a ij &Delta;x j - b ij &Delta;y j - l &beta; i - - - ( 4 )
In formula a ij = - sin &alpha; ij s ij ; b ij = cos &alpha; ij s ij ; a ik = - sin &alpha; ik s ik ; b ik = cos &alpha; ik s ik
s ij = ( x j 0 - x i 0 ) 2 + ( y j 0 - y i 0 ) 2 ; s ik = ( x k 0 - x i 0 ) 2 + ( y k 0 - y i 0 ) 2
l &beta; i = &beta; i - &beta; i 0 ; &beta; i 0 = arctan y k 0 - y i 0 x k 0 - x i 0 - arctan y j 0 - y i 0 x j 0 - x i 0
Wherein, α ik, α ijbe respectively the position angle of ik, ij direction, by the approximation calculation of coordinate adjustment value, obtained, the former angle value that β is corner point, the number of shape error equation is the number of entity corner point;
4) conflict shift error equation
Graphic Conflicts can be divided into a little and conflicting with face with line, line with face, line with line, point with point, point,
Point is tried to achieve with the range formula of point
v D ( P i , P j ) + D ( P i , P j ) = ( x ^ j - x ^ i ) 2 + ( y ^ j - y ^ i ) 2 - - - ( 5 )
Wherein, the error of distance observation, D (P i, P j) be a P i(x i, y i) and P j(x j, y j) distance, with it is the coordinate after its displacement;
Linearization obtains its error equation:
v dist=-a ijΔx i+b ijΔy i+a ijΔx j-b ijΔy j-l dist (6)
A wherein ij=cos α ij, b ij=-sin α ij, α ijapproximation calculation by coordinate adjustment value obtains, l distvalue be divided into two kinds of situations: if the distance D of point and point before mobile point-pointbe less than minimum threshold of distance mindist, l dist=mindist-D point-point, wherein if D point-pointbe greater than mindist and be less than l of 1.5*mindist dist=0;
Point with the range equation of line segment is:
v D ( P i , L P j P k ) + D ( P i , L P j P k ) = | ( y ^ j - y ^ k ) x ^ i + ( x ^ k - x ^ j ) y ^ i + ( x ^ j y ^ k - x ^ k y ^ j ) | ( y ^ k - y ^ j ) 2 + ( x ^ k - x ^ j ) 2 - - - ( 7 )
Wherein, with respectively apart from observed reading and error, with two end points of the point after adjustment and line segment;
Linearization obtains its error equation:
v D ( P i , L P j P k ) = a ijk &delta;x i + b ijk &delta;y i + c ijk &delta;x j + d ijk &delta;y j + e ijk &delta;x k + f ijk &delta;y k - l D ( P i , P j P k ) - - - ( 8 )
Wherein, (x i 0, y i 0, (x j 0, y j 0) and (x k 0, y k 0) be the approximate value of coordinate, and
a ijk = y j 0 - y k 0 ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 1 / 2 ;
b ijk = x k 0 - x j 0 ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 1 / 2 ;
c ijk = ( y k 0 - y i 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( x k 0 - x j 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
d ijk = ( x i 0 - x k 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( y k 0 - y j 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
e ijk = ( y i 0 - y j 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( x j 0 - x k 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
f ijk = ( x j 0 - x i 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( y j 0 - y k 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
l D ( P i , L P j P k ) = D ( P i , L P j P k ) - | ( y j 0 - y k 0 ) x i 0 + ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) | ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 .
L in formula distvalue with point with point error equation identical, if D point-line< mindist, l dist=min dist-D point-lineif, mindist < D point-line< 1.5*mindist, l dist=0;
Point with the distance definition of face is: this,, to the minor increment forming in the distance of all polylines of this face, thus, can be similar to formula (8) and set up the distance error equation that point arrives face;
Line to the distance definition of line is: for line segment L iand L j, its distance is
D ( L i , L j ) = min P i &Element; L i { min P j &Element; L j { D ( P i , P j ) } } - - - ( 9 )
Wherein, P iline segment L ion any point, P jline segment L jon any point, D (P i, P j) be a P iand P jdistance, according to formula (5), calculate;
Line to the distance definition of face is: for line segment L iwith polygon A j, its distance is
D ( L i , A j ) = min P i &Element; L i { min P j &Element; A j { D ( P i , P j ) } } - - - ( 10 )
Wherein, P iline segment L ion any point, P jpolygon A jin any point, line is line segment to the minimum value forming in the distance of this polygonal polyline to the distance definition of face,
Line to the distance definition of face is: for line segment A iwith polygon A j, its distance is
D ( A i , A j ) = min P i &Element; A i { min P j &Element; A j { D ( P i , P j ) } } - - - ( 11 )
Wherein, P ipolygon A iin any point, P jpolygon A jin any point, the various equations of simultaneous, are indirect adjustment problem, its universal model is:
v=Ax-l (12)
In formula, x is parameter vector, x=(Δ x 1Δ y 1Δ x nΔ y n) t; A is factor arrays; L is constant vector; 1 is constant vector; V is residual vector, by the principle of least square, can obtain normal equation and is
N Ax-U=0 (13)
In formula: N a=A tpA; U=A tpl, P is weight matrix;
Separating normal equation can obtain:
x = N A - 1 &CenterDot; U - - - ( 14 )
Parameter x substitution error equation by trying to achieve, obtains residual error v and adjusted value coordinate adjustment value is the coordinate after a movement;
The inverse of weight matrix computing formula of coordinate adjustment value is
Q x ^ x ^ ( A T PA ) - 1 = N A - 1 - - - ( 15 )
The factor arrays that wherein A is error equation, p is power battle array, the accuracy formula of adjusted value is
&sigma; ^ x ^ i = &PlusMinus; &sigma; ^ 0 Q x ^ i x ^ i - - - ( 16 )
Wherein for the pivot of matrix, error in weight unit
Realize hardware system of the present invention and comprise that Organization of Data module, pattern process module, entity matching module, adjustment merge module, conflict shift module 5 modules altogether.The function of each module is as follows:
1, Organization of Data module
This module is mainly to read GIS data file, generates the topological relation of a some entity, line entity, face entity, sets up the data structure on summit after vertex data structure, polyline data structure, polygon data structure, adjustment, store graphics data.
2, pattern process module
Pattern process module comprises the basic operation of GIS polar plot, as amplified, dwindle, the control of translation, figure layer etc., also be included in the function to graphics process in map conflation process, as manual matching feature, remove matching relationship, the graphic result after being combined adds up etc.
3, entity matching module
Entity matching module can carry out respectively according to matching algorithm used herein the coupling of an entity, line entity, face entity, and can know the matching relationship between display entity.
4, adjust and merge module
The adjustment of entity merges module and not only can realize and adjust the Indirect Adjustment Method merging, and clearly illustrates the result of adjusting after merging, and can also realize some other classical algorithm, so as with method comparison herein.
5, conflict shift module
Conflict shift module is mainly that the Graphic Conflicts problem in the contingency question that map conflation is caused is carried out shifting processing, and can demonstrate the result after displacement.
System has adopted point-line or point-face form, and only storage forms the point coordinate of line or face, so after having read file data, also needs to build the topological relation of inter-entity.Build topological relation mainly for line entity and face entity.In building process, set up a some table, line segment table, line segment-line string list, line string list, at this, the initial end points of line string must be node or the end end points that is not connected with other any line, and face entity also needs to generate line string-face table and face table.The point table coordinate of main memory point, the coupling period of the degree of point, this point, the line segment number that connects at this point etc.; The starting point of line segment table storage line segment and termination period; What line segment-line string list played is the effect of a connecting line segment table and line string list, each section of line segment number comprising according to line string of end to end sequential storage; Line string list is stored this position of line string initial segment in line segment-line string list, and actual is an index value, also comprises in addition initial period, stops period, the matched line string of left and right polygon number, this line string number etc.; Line string-face table has been also the effect of a connecting line string list and face table, mainly stores the line string number that a face entity comprises; Face table has been stored the start line string number in online string-face table.The order of the information of each table and structure table is as shown in table 1, Fig. 2.
Table 1 builds the information of all kinds of tables of topological relation
Point table Line segment table Line segment-line string list
The coupling period of this point of line segment number that the degree of the coordinate points of point connects at this point Initial period terminating point number Line segment number
Line string list Line string-face table Face table
The initial period terminating point of the index value left and right polygon number of initial segment Line string number The index value of start line string

Claims (2)

1. the conflict shifting processing method that multi-source Spatial Data merges, is characterized in that, comprises the following steps:
(1) reading out data, the topological relation of structure inter-entity;
(2) carry out entity coupling;
(3) carry out the adjustment merging of entity coordinate;
(4) whether check amalgamation result there is mistake coupling, and if yes, correct mistake coupling, and return to step (3), if NO, execution step (5);
(5) automatically whether detection there is Graphic Conflicts, if yes, adopts the least square adjustment displacement that manages conflict;
Employing least square adjustment in described step (5) manage conflict displacement as follows:
If point coordinate is in former figure as parameter approximate value, the position coordinates after point is mobile as adjusted value, have
x ^ i = x i 0 + &Delta;x i y ^ i = y i 0 + &Delta;y i ( i = 1,2 , &CenterDot; &CenterDot; &CenterDot; , n ) - - - ( 1 )
(Δ x in formula i, Δ y i) be coordinate translation amount, be parameter to be solved is adjusted value modified value, the adjustment Equations of use comprises as follows:
1) coordinate amount of movement error equation
The point that forms entity should remain on original position as far as possible, and coordinate amount of movement will, close to 0, obtain following error equation
v x i = &Delta;x i v y i = &Delta;y i - - ( 2 )
All corresponding two the coordinate amount of movement error equations of each point, therefore the number of whole coordinate amount of movement error equation is total number of the point of twice;
2) relative shift error equation
In order to keep the geometry of entity inside, should make the relative shift of consecutive point on entity close to 0, can obtain following error equation
v x i , i + 1 = &Delta;x i - &Delta;x i + 1 v y i , i + 1 = &Delta;y i - &Delta;y i + 1 - - - ( 3 )
3) shape error equation
Keep the original shape of entity when making Coordinate Adjusting, need carry out shape restriction to entity to be adjusted, if keep the turning value of entity frontier point, can obtain error equation and be
v &beta; i = a ik &Delta;x k + b ik &Delta;y k - ( a ik - a ij ) &Delta;x i - ( b ik - b ij ) &Delta;y i - a ij &Delta;x j - b ij &Delta;y j - l &beta; i - - - ( 4 )
In formula a ij = - sin &alpha; ij s ij ; b ij = cos &alpha; ij s ij ; a ik = - sin &alpha; ik s ik ; b ik = cos &alpha; ik s ik
s ij = ( x j 0 - x i 0 ) 2 + ( y j 0 - y i 0 ) 2 ; s ik = ( x k 0 - x i 0 ) 2 + ( y k 0 - y i 0 ) 2
l &beta; i = &beta; i - &beta; i 0 ; &beta; i 0 = arctan y k 0 - y i 0 x k 0 - x i 0 - arctan y j 0 - y i 0 x j 0 - x i 0
Wherein, α ik, α ijbe respectively the position angle of ik, ij direction, by the approximation calculation of coordinate adjustment value, obtained, the former angle value that β is corner point, the number of shape error equation is the number of entity corner point;
4) conflict shift error equation
Graphic Conflicts can be divided into a little and conflicting with face with line, line with face, line with line, point with point, point,
Point is tried to achieve with the range formula of point
v D ( P i , P j ) + D ( P i , P j ) = ( x ^ j - x ^ i ) 2 + ( y ^ j - y ^ i ) 2 - - - ( 5 )
Wherein, v d (Pi, Pj)the error of distance observation, D (P i, P j) be a P i(x i, y i) and P j(x j, y j) distance, with it is the coordinate after its displacement;
Linearization obtains its error equation:
v dist = - a ij &Delta;x i + b ij &Delta;y i + a ij &Delta;x j - b ij &Delta;y j - l dist - - - ( 6 )
A wherein ij=cos α ij, b ij=-sin α ij, α ijapproximation calculation by coordinate adjustment value obtains, l distvalue be divided into two kinds of situations: if the distance D of point and point before mobile point-pointbe less than minimum threshold of distance mindist, l dist=mindist – D point-line, wherein if D point-pointbe greater than mindist and be less than l of 1.5*mindist dist=0;
Point with the range equation of line segment is:
v D ( P i , L P j P k ) + D ( P i , L P j P k ) = | ( y ^ j - y ^ k ) x ^ i + ( x ^ k - x ^ j ) y ^ i + ( x ^ j y ^ k - x ^ k y ^ j ) | ( y ^ k - y ^ j ) 2 + ( x ^ k - x ^ j ) 2 - - - ( 7 )
Wherein, with respectively apart from observed reading and error, with two end points of the point after adjustment and line segment;
Linearization obtains its error equation:
v D ( P i , L P j P k ) = a ijk &delta;x i + b ijk &delta;y i + c ijk &delta;x j + d ijk &delta;y j + e ijk &delta;x k + f ijk &delta;y k - l D ( P i , P j P k ) - - - ( 8 )
Wherein, with the approximate value of coordinate, and
a ijk = y j 0 - y k 0 ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 1 / 2 ;
b ijk = x k 0 - x j 0 ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 1 / 2 ;
c ijk = ( y k 0 - y i 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( x k 0 - x j 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
d ijk = ( x i 0 - x k 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( y k 0 - y j 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
e ijk = ( y i 0 - y j 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( x j 0 - x k 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
f ijk = ( x j 0 - x i 0 ) [ ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ] + ( y j 0 - y k 0 ) [ ( y j 0 - y k 0 ) x i 0 - ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) ] ( ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 ) 3 / 2 ;
l D ( P i , L P j P k ) = D ( P i , L P j P k ) - | ( y j 0 - y k 0 ) x i 0 + ( x k 0 - x j 0 ) y i 0 + ( x j 0 y k 0 - x k 0 y j 0 ) | ( y k 0 - y j 0 ) 2 + ( x k 0 - x j 0 ) 2 .
L in formula distvalue with point with point error equation identical, if D point-line<mindist,
L dist=mindist – D point-lineif, mindist<D point-line<1.5*mindist, l dist=0;
Point with the distance definition of face is: this is to the minor increment forming in the distance of all polylines of this face, and thus, in like manner available formula (8) is set up the distance error equation that point arrives face;
Line to the distance definition of line is: for line segment L iand L j, its distance is
D ( L i , L j ) = min P i &Element; L i { min P j &Element; L j { D ( P i , P j ) } } - - - ( 9 )
Wherein, P iline segment L ion any point, P jline segment L jon any point, D (P i, P j) be a P iand P jdistance, according to formula (5), calculate;
Line to the distance definition of face is: for line segment L iwith polygon A j, its distance is
D ( L i , A j ) = min P i &Element; L i { min P j &Element; A j { D ( P i , P j ) } } - - - ( 10 )
Wherein, P iline segment L ion any point, P jpolygon A jin any point, line is line segment to the minimum value forming in the distance of this polygonal polyline to the distance definition of face,
Line to the distance definition of face is: for line segment A iwith polygon A j, its distance is
D ( A i , A j ) = min P i &Element; A i { min P j &Element; A j { D ( P i , P j ) } } - - - ( 11 )
Wherein, P ipolygon A iin any point, P jpolygon A jin any point,
Simultaneous error equation (2), (3), (4), (5), (6), (7), (8), be indirect adjustment problem, and its model is:
v=Ax-l (12)
In formula, x is parameter vector, x=(Δ x 1Δ y 1Δ x nΔ y n) t; A is factor arrays; L is constant vector; V is residual vector, by the principle of least square, can obtain normal equation and is
N Ax-U=0 (13)
In formula: N a=A tpA; U=A tpl, P is weight matrix;
Separating normal equation can obtain:
x = N A - 1 &CenterDot; U - - - ( 14 )
Parameter x substitution error equation by trying to achieve, obtains residual error v and adjusted value coordinate adjustment value is the coordinate after a movement;
The inverse of weight matrix computing formula of coordinate adjustment value is
Q x ^ x ^ = ( A T PA ) - 1 = N A - 1 - - - ( 15 )
The factor arrays that wherein A is error equation, p is power battle array, the accuracy formula of adjusted value is
&sigma; ^ x ^ i = &PlusMinus; &sigma; ^ 0 Q x ^ i x ^ i - - - ( 16 )
Wherein for the pivot of matrix, error in weight unit
2. the conflict shifting processing method that a kind of multi-source Spatial Data according to claim 1 merges, is characterized in that, the entity coupling in described step (2) comprises the coupling of an entity, the coupling of the coupling of line entity, face entity.
CN201010148256.9A 2010-04-15 2010-04-15 Conflict shifting processing method for multi-source spatial data combination Expired - Fee Related CN102222066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010148256.9A CN102222066B (en) 2010-04-15 2010-04-15 Conflict shifting processing method for multi-source spatial data combination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010148256.9A CN102222066B (en) 2010-04-15 2010-04-15 Conflict shifting processing method for multi-source spatial data combination

Publications (2)

Publication Number Publication Date
CN102222066A CN102222066A (en) 2011-10-19
CN102222066B true CN102222066B (en) 2014-09-17

Family

ID=44778620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010148256.9A Expired - Fee Related CN102222066B (en) 2010-04-15 2010-04-15 Conflict shifting processing method for multi-source spatial data combination

Country Status (1)

Country Link
CN (1) CN102222066B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317793A (en) * 2014-08-27 2015-01-28 河南理工大学 Different-period spatial entity hierarchical matching method and system based on multi-source information
CN110807797B (en) * 2019-10-22 2022-03-22 中国测绘科学研究院 Multi-source heterogeneous surface entity and point entity matching method considering global optimization and storage medium thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388904A (en) * 2008-07-29 2009-03-18 北京超图软件股份有限公司 GIS service aggregating method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330359A (en) * 2002-03-04 2003-11-19 Giken Shoji International Co Ltd Trade area information display system using grid

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388904A (en) * 2008-07-29 2009-03-18 北京超图软件股份有限公司 GIS service aggregating method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2003-330359A 2003.11.19
蒋云良等.三维GIS空间对象层次细节比例变换综合算法.《计算机辅助设计与图形学学报》.2006,第18卷(第1期),第34-40页. *

Also Published As

Publication number Publication date
CN102222066A (en) 2011-10-19

Similar Documents

Publication Publication Date Title
CN102136155B (en) Object elevation vectorization method and system based on three dimensional laser scanning
CN102194253B (en) Method for generating tetrahedron gridding for three-dimensional geological structure
CN103247041B (en) A kind of dividing method of the cloud data of the many geometric properties based on local sampling
CN106441303A (en) Path programming method based on A* algorithm capable of searching continuous neighborhoods
CN103729872B (en) A kind of some cloud Enhancement Method based on segmentation resampling and surface triangulation
CN103413297A (en) Cutting method based on integrated three-dimensional GIS model
CN105761312A (en) Micro-terrain surface reconstruction method
CN102831645A (en) Method for establishing digital elevation model applied to submarine topography
CN108305289B (en) Three-dimensional model symmetry characteristic detection method and system based on least square method
CN100585638C (en) Curved body three-dimensional boundary representation model reconstruction method and device based on line boundary
CN102867332A (en) Multi-level subdivided mesh surface fitting method based on complicated boundary constraint
CN108364331A (en) A kind of isopleth generation method, system and storage medium
CN102682476A (en) Boolean calculation method for triangular grid data and system thereof
CN102222066B (en) Conflict shifting processing method for multi-source spatial data combination
CN103226845A (en) TIN-based earth surface refinement processing method and system
CN105931297A (en) Data processing method applied to three-dimensional geological surface model
CN116385688B (en) Method and device for quickly constructing three-dimensional roadway model, computer equipment and medium
Sogo et al. Acquisition of qualitative spatial representation by visual observation
Shen et al. An adaptive triangulation optimization algorithm based on empty circumcircle
CN113609691B (en) Intersection modeling processing method oriented to intelligent traffic simulation
CN105184869B (en) Building line draws the method that data show three-dimensional perspective effect in two-dimensional stage
CN113487736B (en) Method for converting underwater topography point cloud data into OBJ three-dimensional model
CN110910499B (en) Method and device for constructing geological environment carrier fault model based on Revit software
CN105893492A (en) Method for processing curved-surface intersection data in three-dimensional geological surface model
CN105913491A (en) Gridding data processing method for three-dimensional geological surface model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140917

Termination date: 20170415

CF01 Termination of patent right due to non-payment of annual fee