CN102222066A - 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
CN102222066A
CN102222066A CN 201010148256 CN201010148256A CN102222066A CN 102222066 A CN102222066 A CN 102222066A CN 201010148256 CN201010148256 CN 201010148256 CN 201010148256 A CN201010148256 A CN 201010148256A CN 102222066 A CN102222066 A CN 102222066A
Authority
CN
China
Prior art keywords
point
entity
line
coordinate
conflict
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010148256
Other languages
Chinese (zh)
Other versions
CN102222066B (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

Images

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 differences.Why producing difference between data set mainly is because data from different production divisions, each production division has different emphasis for self needs to data.Emphasize the positional information in plot as land administration department, thereby the database that produces has the higher spatial positional precision, and economic department is studied at space distribution information, more focuses on the attribute information of non-space, the database of its generation has abundant attribute data, but precision is relatively 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, the data organization mode also can be different, may use noodles shape structure as the line entity, also may use node segmental arc topological structure;
2, database structure difference, as the field difference that database comprises, the same field data type is not equal;
3, data the level of detail difference mainly due to the map scale difference, is subjected to the map combined influence, varies in size for same entity information amount.As, river under large scale than under small scale, having more multiple spot information, or because data obtain asynchronism(-nization), cause that some entity does not exist or the like on the new figure 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 then there is higher precision in the ownership boundary line.
Because 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 lot of manpower and material resources, 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 these data better, therefore the difference of eliminating each data set " spatial data merging " this notion occurred to form the new data set that can satisfy certain requirement.
The spatial data merging is meant 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 the spatial data merging process, because the displacement of entity can cause and the conflicting of other entity.Be illustrated in fig. 1 shown below, entity comprises buildings entity and road entity among the figure, and in the merging process, path layer carries out the adjustment conversion of entity according to different maps respectively with the buildings layer, stacked and together the time as two figure, the too small figure that causes of distance conflicts between some buildings and road.
Existing big quantity research attempts to solve the conflict displacement problem of figure.Lichtner (1976) has proposed the displacement formula of putting under the perfect condition, and promptly the off-line entity is far away more, and shift amount is more little, and this method does not consider that a displacement is subjected to the influence of many line entities, only is applicable to the displacement that the single line entity causes.Many afterwards methods are all based on this thought, and expand, and for example consider the road turnover to every combined effect in the displacement district, again according to road corner, the floor area of building to whole building or turning point displacement.Mackness (1994) has set up a kind of by the conflict of target interphase interaction space exploration, thereby implements the attenuation type shifting function away from the conflict center.Another kind method is that polar plot is converted into grid map, Li Zhilin (1996) has proposed the map comprehensive key element displacement model based on mathematical morphology, Fei Lifan (2004,2002) propose to adopt grid one vector MIDAS mixed data structure to be shifted and distinguish interior owned building classification, the operations such as displacement and controlled-deformation of charting.In the additive method, Burghardt ﹠amp; Meier (1997) has proposed " snake " model, has considered that simultaneously the external energy (conflict) of entity and internal energy (single order, second order inverses that entity is how much) are to reach the energy minimum.It is some triangles with whole Region Segmentation that Hojholt (1998) uses finite element method, so that survey and the problem that manages conflict.Ai Tinghua (2004) sets up the subdivision structure that is similar to Voronoi figure in the polygon group space, obtain the effect that " equidistant relation curve " is used for expressing a displacement power, obtains direction of displacement and displacement by vector calculus.
About seldom mentioning the follow-up collision problem that causes because of merging in the research of spatial data, complete spatial data combination system should be able to detect the conflict and the displacement that conflicts automatically both at home and abroad.
The topological relation that must keep inter-entity when managing conflict the displacement problem, the geometrical property of as far as possible preserving entity can't be brought new collision problem simultaneously.
Summary of the invention
The conflict shifting processing method that purpose of the present invention is exactly the difference that provides a kind of in order to overcome the defective that above-mentioned prior art exists and use manpower and material resources sparingly, eliminate each data set, solved the space conflict, kept the multi-source spatial data of entity geometric properties to merge.
Purpose of the present invention can be achieved through the following technical solutions:
The conflict shifting processing method that a kind of multi-source spatial data merges is characterized in that, may further comprise the steps:
(1) reading of data, the topological relation of structure inter-entity;
(2) carry out the entity coupling;
(3) adjustment of carrying out the entity coordinate merges;
(4) whether the check amalgamation result exists the mistake coupling, and if yes, correct the mistake coupling, and return step (3), if not, execution in step (5);
(5) automatically whether detection exists the figure conflict, if yes, adopts the displacement that manages conflict of least square adjustment method.
Entity coupling in the described step (2) comprises the coupling of an entity, the coupling of line entity, the coupling of face entity.
Employing least square adjustment method in the described step (5) manage conflict the displacement as follows:
If point coordinate is (x among the former figure i 0, y i 0) (i=1,2 ..., n) as the parameter approximate value, the position coordinates after point moves
Figure GSA00000085220400031
As adjusted value, then have
x ^ i = x i 0 + Δx i y ^ i = y i 0 + Δy i ( i = 1,2 , · · · , n ) - - - ( 1 )
(Δ x in the formula i, Δ y i) be the coordinate translation amount, be parameter to be found the solution is the adjusted value correction, the adjustment equation of use comprises as follows:
1) coordinate amount of movement error equation
The point that constitutes entity should remain on original position as far as possible, and promptly the coordinate amount of movement will approach 0, obtains 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 that the relative shift of consecutive point approaches 0 on the entity, can get 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 coordinate is adjusted, need carry out the shape restriction,, can get error equation and be if keep the turning value of entity frontier point to entity to be adjusted
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 the 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, obtained by the approximation calculation of coordinate adjustment value, β is the former angle value of corner point, and the number of shape error equation is the number of entity corner point;
4) conflict shift error equation
The figure conflict 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,
Figure GSA000000852204000411
Be 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,
Figure GSA000000852204000412
With
Figure GSA000000852204000413
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 the coordinate adjustment value obtains, l DistValue be divided into two kinds of situations: if the distance D of point and point before moving Point-pointLess than minimum threshold of distance mindist, then l Dist=min dist-D Point-point, wherein
Figure GSA000000852204000414
If D Point-pointGreater than mindist and less than 1.5*mindist l then 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,
Figure GSA000000852204000416
With
Figure GSA000000852204000417
Be respectively apart from observed reading and error,
Figure GSA000000852204000418
Figure GSA000000852204000419
With Two end points of adjusted point 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 the formula DistValue identical with point with the error equation of point, if D Point-line<mindist, then l Dist=min dist-D Point-line, if mindist<D Point-line<1.5*mindist, then l Dist=0;
Point with the distance definition of face is: this minor increment in the distance of all polylines of forming 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 ∈ L i { min P j ∈ L j { D ( P i , P j ) } } - - - ( 9 )
Wherein, P iBe line segment L iOn more arbitrarily, P jBe line segment L jOn more arbitrarily, D (P i, P j) be a P iAnd P jDistance, calculate according to formula (5);
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 ∈ L i { min P j ∈ A j { D ( P i , P j ) } } - - - ( 10 )
Wherein, P iBe line segment L iOn more arbitrarily, P jBe polygon A jIn more arbitrarily, the minimum value that line is a line segment in the distance of forming 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 ∈ A i { min P j ∈ A j { D ( P i , P j ) } } - - - ( 11 )
Wherein, P iBe polygon A iIn more arbitrarily, P jBe polygon A jIn more arbitrarily, the various equations of simultaneous are the indirect adjustment problem, its general model is:
v=Ax-l (12)
X is a parameter vector in the formula, x=(Δ x 1Δ y 1Δ x nΔ y n) TA is a factor arrays; L is a constant vector; 1 is constant vector; V is a residual vector, by the principle of least square, can get normal equation and is
N Ax-U=0 (13)
In the formula: N A=A TPA; U=A TPl, P are weight matrix;
Separating normal equation can get:
x = N A - 1 · U - - - ( 14 )
Parameter x substitution error equation with trying to achieve promptly gets residual error v and adjusted value The coordinate adjustment value is the coordinate after a little moving;
The inverse of weight matrix computing formula of coordinate adjustment value is
Q x ^ x ^ ( A T PA ) - 1 = N A - 1 - - - ( 15 )
Wherein A is the factor arrays of error equation, and p is the power battle array, and then the accuracy formula of adjusted value is
σ ^ x ^ i = ± σ ^ 0 Q x ^ i x ^ i - - - ( 16 )
Wherein
Figure GSA00000085220400067
For
Figure GSA00000085220400068
The pivot of matrix, error in the weight unit
Figure GSA00000085220400069
Compared with prior art, the present invention has the difference that uses manpower and material resources sparingly, eliminate each data set, has solved the space conflict, keeps the entity geometric properties.
Description of drawings
Fig. 1 is a process flow diagram of the present invention;
Fig. 2 is a structure table precedence diagram of the present invention.
Embodiment
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
Embodiment
As shown in Figure 1, the conflict shifting processing method that a kind of multi-source spatial data merges may further comprise the steps:
(1) reading of data, the topological relation of structure inter-entity;
(2) carry out the entity coupling;
(3) adjustment of carrying out the entity coordinate merges;
(4) whether the check amalgamation result exists the mistake coupling, and if yes, correct the mistake coupling, and return step (3), if not, execution in step (5);
(5) automatically whether detection exists the figure conflict, if yes, adopts the displacement that manages conflict of least square adjustment method.
Entity coupling in the described step (2) comprises the coupling of an entity, the coupling of line entity, the coupling of face entity.
Employing least square adjustment method in the described step (5) manage conflict the displacement as follows:
If point coordinate is (x among the former figure i 0, y i 0) (i=1,2 ..., n) as the parameter approximate value, the position coordinates after point moves
Figure GSA00000085220400071
As adjusted value, then have
x ^ i = x i 0 + Δx i y ^ i = y i 0 + Δy i ( i = 1,2 , · · · , n ) - - - ( 1 )
(Δ x in the formula i, Δ y i) be the coordinate translation amount, be parameter to be found the solution is the adjusted value correction, the adjustment equation of use comprises as follows:
1) coordinate amount of movement error equation
The point that constitutes entity should remain on original position as far as possible, and promptly the coordinate amount of movement will approach 0, obtains 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 that the relative shift of consecutive point approaches 0 on the entity, can get 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 coordinate is adjusted, need carry out the shape restriction,, can get error equation and be if keep the turning value of entity frontier point to entity to be adjusted
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 the 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, obtained by the approximation calculation of coordinate adjustment value, β is the former angle value of corner point, and the number of shape error equation is the number of entity corner point;
4) conflict shift error equation
The figure conflict 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,
Figure GSA000000852204000812
Be 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,
Figure GSA000000852204000813
With
Figure GSA000000852204000814
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 the coordinate adjustment value obtains, l DistValue be divided into two kinds of situations: if the distance D of point and point before moving Point-pointLess than minimum threshold of distance mindist, then l Dist=mindist-D Point-point, wherein If D Point-pointGreater than mindist and less than 1.5*mindist l then 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,
Figure GSA00000085220400093
With
Figure GSA00000085220400094
Be respectively apart from observed reading and error,
Figure GSA00000085220400095
Figure GSA00000085220400096
With
Figure GSA00000085220400097
Two end points of adjusted point 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 the formula DistValue identical with point with the error equation of point, if D Point-line<mindist, then l Dist=min dist-D Point-line, if mindist<D Point-line<1.5*mindist, then l Dist=0;
Point with the distance definition of face is: this minor increment in the distance of all polylines of forming 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 ∈ L i { min P j ∈ L j { D ( P i , P j ) } } - - - ( 9 )
Wherein, P iBe line segment L iOn more arbitrarily, P jBe line segment L jOn more arbitrarily, D (P i, P j) be a P iAnd P jDistance, calculate according to formula (5);
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 ∈ L i { min P j ∈ A j { D ( P i , P j ) } } - - - ( 10 )
Wherein, P iBe line segment L iOn more arbitrarily, P jBe polygon A jIn more arbitrarily, the minimum value that line is a line segment in the distance of forming 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 ∈ A i { min P j ∈ A j { D ( P i , P j ) } } - - - ( 11 )
Wherein, P iBe polygon A iIn more arbitrarily, P jBe polygon A jIn more arbitrarily, the various equations of simultaneous are the indirect adjustment problem, its general model is:
v=Ax-l (12)
X is a parameter vector in the formula, x=(Δ x 1Δ y 1Δ x nΔ y n) TA is a factor arrays; L is a constant vector; 1 is constant vector; V is a residual vector, by the principle of least square, can get normal equation and is
N Ax-U=0 (13)
In the formula: N A=A TPA; U=A TPl, P are weight matrix;
Separating normal equation can get:
x = N A - 1 · U - - - ( 14 )
Parameter x substitution error equation with trying to achieve promptly gets residual error v and adjusted value
Figure GSA00000085220400105
The coordinate adjustment value is the coordinate after a little moving;
The inverse of weight matrix computing formula of coordinate adjustment value is
Q x ^ x ^ ( A T PA ) - 1 = N A - 1 - - - ( 15 )
Wherein A is the factor arrays of error equation, and p is the power battle array, and then the accuracy formula of adjusted value is
σ ^ x ^ i = ± σ ^ 0 Q x ^ i x ^ i - - - ( 16 )
Wherein
Figure GSA00000085220400113
For
Figure GSA00000085220400114
The pivot of matrix, error in the weight unit
Realize that hardware system of the present invention comprises that data organization 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, data organization module
This module mainly is to read the 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, the adjustment, store graphics data.
2, pattern process module
Pattern process module comprises the basic operation of GIS polar plot, as amplify, dwindle, the control of translation, figure layer etc., also be included in the map merging process function to graphics process, as manual matching feature, remove matching relationship, the graphic result after being combined adds up or the like.
3, entity matching module
The entity matching module can carry out the coupling of an entity, line entity, face entity according to matching algorithm used herein respectively, and can know the matching relationship between display entity.
4, adjust the merging module
The adjustment of entity merges module not only can realize adjusting the indirect adjustment method of merging, and clearly illustrates the result who adjusts after merging, and can also realize the algorithm that some other is classical, so as with the method for this paper relatively.
5, conflict shift module
The conflict shift module mainly is that the figure collision problem that map merges in the contingency question that causes is carried out shifting processing, and can demonstrate the result after the displacement.
System has adopted point-line or point-face form, and promptly only storage constitutes the point coordinate of line or face, so also needs to make up the topological relation of inter-entity after having read file data.Make up topological relation and be primarily aimed at line entity and face entity.Set up a some table, line segment table, line segment-line string list, line string list in the building process, at this, the initial end points of line string must be node or the end end points that do not link to each other with other any line, and the face entity also needs to generate line string-face table and face table.The coupling period of the coordinate of the main memory point of some table, 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 line segment number that comprises according to line string of end to end sequential storage; The line string list is stored this line and is strung the position of initial line section in line segment-line string list, and actual is an index value, also comprises initial period in addition, stops period, the matched line string of left and right sides polygon number, this line string number etc.; Line string-face table also has been the effect of a connecting line string list and face table, mainly stores line string that a face entity comprises number; The face table has been stored the start line string number in online string-face table.The order such as the table 1, shown in Figure 2 of the information of each table and structure table.
Table 1 makes up the information of all kinds of tables of topological relation
The point table The line segment table Line segment-line string list
This coupling period of the line segment number that the degree of the coordinate points of point connects at this point Initial period terminating point number The line segment number
The line string list Line string-face table The face table
The initial period terminating point of the index value of initial segment left and right sides polygon number Line string number The index value of start line string

Claims (3)

1. the conflict shifting processing method that the multi-source spatial data merges is characterized in that, may further comprise the steps:
(1) reading of data, the topological relation of structure inter-entity;
(2) carry out the entity coupling;
(3) adjustment of carrying out the entity coordinate merges;
(4) whether the check amalgamation result exists the mistake coupling, and if yes, correct the mistake coupling, and return step (3), if not, execution in step (5);
(5) automatically whether detection exists the figure conflict, if yes, adopts the displacement that manages conflict of least square adjustment method.
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 the described step (2) comprises the coupling of an entity, the coupling of line entity, the coupling of face entity.
3. the conflict shifting processing method that a kind of multi-source spatial data according to claim 1 merges is characterized in that, the displacement that manages conflict of the employing least square adjustment method in the described step (5) is as follows:
If point coordinate is (x among the former figure i 0, y i 0) (i=1,2 ..., n) as the parameter approximate value, the position coordinates after point moves (i=1,2 ...,, then have n) as adjusted value
(Δ x in the formula i, Δ y i) be the coordinate translation amount, be parameter to be found the solution is the adjusted value correction, the adjustment equation of use comprises as follows:
1) coordinate amount of movement error equation
The point that constitutes entity should remain on original position as far as possible, and promptly the coordinate amount of movement will approach 0, obtains following error equation
Figure FSA00000085220300013
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 that the relative shift of consecutive point approaches 0 on the entity, can get following error equation
Figure FSA00000085220300021
3) shape error equation
Keep the original shape of entity when coordinate is adjusted, need carry out the shape restriction,, can get error equation and be if keep the turning value of entity frontier point to entity to be adjusted
Figure FSA00000085220300022
In the formula
Figure FSA00000085220300023
Figure FSA00000085220300024
Figure FSA00000085220300027
Figure FSA00000085220300028
Figure FSA00000085220300029
Figure FSA000000852203000210
Wherein, α Ik, α IjBe respectively the position angle of ik, ij direction, obtained by the approximation calculation of coordinate adjustment value, β is the former angle value of corner point, and the number of shape error equation is the number of entity corner point;
4) conflict shift error equation
The figure conflict 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
Figure FSA000000852203000211
Wherein, Be 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 the coordinate adjustment value obtains, l DistValue be divided into two kinds of situations: if the distance D of point and point before moving Point-pointLess than minimum threshold of distance mindist, then l Dist=min dist-D Point-point, wherein
Figure FSA000000852203000215
If D Point-pointGreater than mindist and less than 1.5*mindist l then Dist=0;
Point with the range equation of line segment is:
Figure FSA00000085220300031
Wherein, With
Figure FSA00000085220300033
Be respectively apart from observed reading and error,
Figure FSA00000085220300034
With
Figure FSA00000085220300036
Two end points of adjusted point and line segment;
Linearization obtains its error equation:
Figure FSA00000085220300037
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
Figure FSA00000085220300038
Figure FSA00000085220300039
Figure FSA000000852203000310
Figure FSA000000852203000311
Figure FSA000000852203000312
Figure FSA000000852203000313
Figure FSA000000852203000314
L in the formula DistValue identical with point with the error equation of point, if D Point-line<mindist, then l Dist=min dist-D Point-line, if mindist<D Point-line<1.5*mindist, then l Dist=0;
Point with the distance definition of face is: this minor increment in the distance of all polylines of forming 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
Wherein, P iBe line segment L iOn more arbitrarily, P jBe line segment L jOn more arbitrarily, D (P i, P j) be a P iAnd P jDistance, calculate according to formula (5);
Line to the distance definition of face is: for line segment L iWith polygon A j, its distance is
Wherein, P iBe line segment L iOn more arbitrarily, P jBe polygon A jIn more arbitrarily, the minimum value that line is a line segment in the distance of forming 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
Figure FSA00000085220300043
Wherein, P iBe polygon A iIn more arbitrarily, P jBe polygon A jIn more arbitrarily, the various equations of simultaneous are the indirect adjustment problem, its general model is:
v=Ax-l (12)
X is a parameter vector in the formula, x=(Δ x 1Δ y 1Δ x nΔ y n) TA is a factor arrays; L is a constant vector; 1 is constant vector; V is a residual vector, by the principle of least square, can get normal equation and is
N Ax-U=0 (13)
In the formula: N A=A TPA; U=A TPl, P are weight matrix;
Separating normal equation can get:
Figure FSA00000085220300044
Parameter x substitution error equation with trying to achieve promptly gets residual error v and adjusted value
Figure FSA00000085220300045
The coordinate adjustment value is the coordinate after a little moving;
The inverse of weight matrix computing formula of coordinate adjustment value is
Figure FSA00000085220300046
Wherein A is the factor arrays of error equation, and p is the power battle array, and then the accuracy formula of adjusted value is
Figure FSA00000085220300047
Wherein
Figure FSA00000085220300051
For
Figure FSA00000085220300052
The pivot of matrix, error in the weight unit
Figure 20101014825691000011
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 true CN102222066A (en) 2011-10-19
CN102222066B 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)

Cited By (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
CN110807797A (en) * 2019-10-22 2020-02-18 中国测绘科学研究院 Multi-source heterogeneous surface entity and point entity matching method considering global optimization and storage medium thereof

Citations (2)

* 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
CN101388904A (en) * 2008-07-29 2009-03-18 北京超图软件股份有限公司 GIS service aggregating method, device and system

Patent Citations (2)

* 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
CN101388904A (en) * 2008-07-29 2009-03-18 北京超图软件股份有限公司 GIS service aggregating method, device and system

Non-Patent Citations (1)

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

Cited By (3)

* 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
CN110807797A (en) * 2019-10-22 2020-02-18 中国测绘科学研究院 Multi-source heterogeneous surface entity and point entity matching method considering global optimization and storage medium thereof
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

Also Published As

Publication number Publication date
CN102222066B (en) 2014-09-17

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
CN111968231B (en) Three-dimensional stratum modeling method based on geological map cutting section
CN106441303A (en) Path programming method based on A* algorithm capable of searching continuous neighborhoods
CN107862738A (en) One kind carries out doors structure three-dimensional rebuilding method based on mobile laser measurement point cloud
CN105761312A (en) Micro-terrain surface reconstruction method
CN102867332B (en) Based on the multistage subdivided meshes curved surface fitting method of complex boundary constraint
CN102831645A (en) Method for establishing digital elevation model applied to submarine topography
CN100585638C (en) Curved body three-dimensional boundary representation model reconstruction method and device based on line boundary
CN101017476A (en) Characteristic analytical method for product point clouds surface based on dynamic access model
CN108364331A (en) A kind of isopleth generation method, system and storage medium
CN102222066B (en) Conflict shifting processing method for multi-source spatial data combination
CN104392477A (en) Triangular mesh curve surface recovery post-treatment method based on removal of overlapped patches with included angles
CN105931297A (en) Data processing method applied to three-dimensional geological surface model
CN105574932A (en) Geological three-dimensional model random sectioning method capable of reflecting stratigraphic structure
Ariza‐López et al. Spline quasi‐interpolation in the Bernstein basis and its application to digital elevation models
CN101144711A (en) Automatic positioning method for global coordinate system under multiple-association engineering chart environment
CN102663789A (en) Method for performing triangularization on polygon containing holes and islands in two-dimensional plane
Shen et al. An adaptive triangulation optimization algorithm based on empty circumcircle
CN107122779A (en) A kind of space basis geographical data acquisition system
CN106845501A (en) A kind of buffer zone analysis method for the identification of project of transmitting and converting electricity environmentally sensitive areas
CN105869209A (en) Deformed triangular data processing method in three-dimensional geological surface model
Shinan et al. Research on Algorithm of Target Triangles Fast Locating in Delaunay Triangulation
Carter Some effects of spatial resolution in the calculation of slope using the spatial derivative

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