A method and device for synthesizing complex combined straight line patterns while maintaining quantitative characteristics

By identifying complex combined linear patterns in building groups, using shift and merge operations, the problem of linear pattern synthesis of combined building patterns in large scales is solved, maintaining the number and structural characteristics of pattern units, and achieving effective synthesis and integration of complex combined linear patterns. Preservation of distribution characteristics.

CN114818067BActive Publication Date: 2024-10-08Chinese People's Liberation Army Cyberspace Force Information Engineering University
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210452125.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-10-08
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

The existing technology mainly considers the typical synthesis of building groups with a single building as a model unit, and lacks research on the linear pattern synthesis method in which combined buildings are model units in large scales, especially the processing of complex combined linear patterns.

Method used

This paper proposes a complex combined straight line pattern synthesis method that maintains quantitative characteristics. By identifying complex combined straight line patterns, shifting and merging operations are used to resolve spatial conflicts between and within pattern units, maintaining the quantity and structural characteristics of pattern units, and using Delaunay constrained triangles. Networks are merged to ensure the overall positioning accuracy and distribution characteristics of the model.

Benefits of technology

Effectively retain the buildings in the pattern without reducing the number of pattern units, and maintain the structure and distribution characteristics of the complex combined linear pattern. Especially when the distance between pattern units is small, spatial conflicts are resolved through a small amount of shifting, taking into account the merging of the number of buildings and the distribution pattern. , maintaining the overall characteristics of the rectilinear pattern and the similarity of the building outline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114818067B_ABST
    Figure CN114818067B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for synthesizing complex combined straight line patterns with quantitative characteristics. The method comprises: step 1: identifying and acquiring complex combined straight line patterns in building complex data and adding them to a set CPSet; step 2: taking any combined straight line pattern CP in the set CPSet; i And calculate the minimum distance DisMin between adjacent pattern units, and calculate the length d of the minimum distance DisMin on the map according to the target scale Scale t , judge d t and the distance constraint threshold δ dis The size of d t <δ dis , then execute step 3; if d t ≥δ dis , then execute step 2; until the set CPSe is traversed; step 3: for mode CP i Perform the shift operation. If the shift fails, go to step 2. If the shift succeeds, go to step 4. Step 4: For mode CP i Perform the merge operation and continue to step 2. The present invention realizes the integration of building groups taking into account complex combined straight line patterns.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of urban building complex map synthesis, and in particular to a complex combination straight line pattern synthesis method and device maintaining quantitative characteristics. Background Art

[0002] At present, the research on building complex integration mainly focuses on two aspects: one is the clustering and pattern recognition of buildings, and the other is the corresponding integration operations for different building groups. Usually, the spatial proximity and geometric similarity of buildings can be used to cluster and recognize the patterns of buildings, so as to mine the structured knowledge describing the spatial structure and distribution characteristics of the building complex, which serves as an important basis for the selection of comprehensive operators, algorithm design and formulation of comprehensive strategies in the process of building complex integration. Yan [Yang W.2008.Identify building patterns[C] / / The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Beijing, China, 3-11 Jul 2008.] combined the adjacency, similarity and same direction of the Gestalt theory to establish multiple characteristic parameters describing the spatial distribution and relationship of buildings, and thus realized the division of building groups. Finally, according to the characteristics of the number and structure of the buildings in the group, the comprehensive operations such as simplification, merging and typicalization were implemented respectively.

[0003] For the comprehensive operation of building complexes, existing research mainly includes simplification, merging, shifting, typification and adjacency. Among them, typification means compressing data details while maintaining the positioning accuracy, distribution pattern and spatial structure of the building complex as much as possible. Therefore, typification, as the focus and difficulty in the comprehensive study of buildings, is often used in the comprehensive map of building complexes with pattern distribution.

[0004] However, the existing typical comprehensive operations of building complexes supported by spatial distribution patterns mainly consider the comprehensive model building complexes with single buildings as model units, and there is little research on the comprehensive linear patterns with combined buildings as model units in large scales. Summary of the invention

[0005] The present invention aims at the problem that the existing typical comprehensive operation of building complexes supported by spatial distribution patterns mainly considers the comprehensive operation of model building complexes with single buildings as model units, while there is little research on the comprehensive operation of straight line patterns with combined buildings as model units in large scales. A method and device for comprehensive operation of complex combined straight line patterns that maintain quantitative characteristics are proposed.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] The present invention provides a method for synthesizing complex combined straight line patterns while maintaining quantitative characteristics, comprising:

[0008] Step 1: Identify and obtain complex combined straight line patterns in the building complex data; add all complex combined straight line patterns to the set CPSet; execute step 2;

[0009] Step 2: Take any combination of straight line patterns CP in the set CPSet i ; Calculate CP i The minimum distance DisMin between adjacent pattern units is calculated according to the target scale Scale. t , judge d t and the distance constraint threshold δ dis The size of d t <δ dis , then execute step 3; if d t ≥δ dis , then execute step 2; until the set CPSet is traversed, the comprehensive process ends;

[0010] Step 3: CP mode i Perform the shift operation. If the shift fails, go to step 2; if the shift succeeds, go to step 4.

[0011] Step 4: CP mode i Perform the merge operation and proceed to step 2.

[0012] Further, the shift operation includes:

[0013] The building where the pattern unit's head end positioning point is located is fixed, and the building where the pattern unit's terminal positioning point is located and its shifted associated buildings are subjected to quantitative directional shift; the shift operation is withdrawn for the building that intersects with other buildings after the shift, and if the building where the terminal positioning point is located intersects with other buildings, the shift operation of all buildings is withdrawn; after the shift is completed, it is determined whether the pattern positioning points remain consistent, and if not, the shift operation is withdrawn; after the shift of the buildings in the pattern unit is completed, the pattern unit is displaced as a whole to maintain the head and end positioning accuracy of the pattern as a whole; then, it is determined whether the minimum distance between all adjacent pattern units meets the minimum expression distance of the target scale, and if not, the building where the terminal positioning point of the pattern is located is fixed, and the above operation is performed with the building where the head end positioning point is located as the shift object.

[0014] Furthermore, the merging operation includes:

[0015] Step 4.1: Construct the Delaunay constrained triangulation of the building complex. Divide the triangles into the following types according to the number of buildings adjacent to the three vertices of the triangular element: Type I triangle: The triangle is adjacent to one building; Type II triangle: The triangle is adjacent to two buildings; Type III triangle: The triangle is adjacent to three buildings. Add the Type II triangles and Type III triangles to the set TS, and execute Step 4.2;

[0016] Step 4.2: Obtain the set of triangles UTS that are only associated with the buildings inside each pattern unit U i according to the triangle association relationship in TS; Establish an array linked list UM for the order of merging buildings, and execute Step 4.3; where U i ={Building1, Building2, …, Building i}, and the complex combination straight-line pattern pattern{U1, U2…, U j}; n}

[0017] Step 4.3: Determine two adjacent buildings Building i and Building i corresponding to the set of triangles UTS of the pattern unit U i , i < j. Add the Type II triangles associated with the buildings Building j and Building i to the set TR. Search for the shortest side of the associated edges of the triangles in TR, and calculate the on-map length d j of the shortest side according to the target scale Scale. Judge the size relationship between d t and the threshold δ t ; if d dis > δ t > δ dis , then the buildings Building i and Building j cannot be merged, and judge the next group of adjacent buildings; if d t ≤ δ dis , then the buildings Building i and Building j need to be merged, and establish an order array [i, j] according to the order of the buildings in the U i set. Add [i, j] to UM, and remove duplicates from the arrays in UM, and execute Step 4.4;

[0018] Step 4.4: Take each array array in UM, and take the adjacent buildings Building i in the pattern unit U according to array iand Building j , UTS i Related Buildings i and Building j The type II triangles are added to the set TR, the triangles in TR that contain associated edges longer than 1.5*LenMin and do not contain the shortest associated edges are removed, the bridging area Region formed by the triangles in TR is right-angled and recorded, and the triangles in TR are removed from UTS i Delete and add triangles culled from the original bridge area to the UTS i , execute step 4.5; where LenMin represents the length of the shortest side of all triangles in the triangulation network;

[0019] Step 4.5: Merge all topologically adjacent buildings and bridge areas in each model unit and execute step 4.6;

[0020] Step 4.6: According to the model unit U i The corresponding triangle set UTS i Identify the "holes" in the pattern unit, calculate the area of ​​each "hole" on the map and compare it with the threshold δ area Make a judgment; if Area>δ area , then add the "hole" to the set H and determine the next "hole"; if Area<δ area , then merge the "hole" with the topologically adjacent buildings; traverse the "holes" h in the set H i , determine the "hole" h formed by the same building in other model units j Whether to be merged, if h j is merged, then h i Merge with topologically adjacent buildings.

[0021] Another aspect of the present invention provides a complex combination straight line pattern synthesis device that maintains quantitative characteristics, comprising:

[0022] The recognition module is used to recognize and obtain the complex combination straight line patterns in the building complex data; add all the complex combination straight line patterns to the set CPSet; and execute the traversal module;

[0023] The traversal module is used to obtain any combination of straight line patterns CP in the set CPSet i ; Calculate CP i The minimum distance DisMin between adjacent pattern units is calculated according to the target scale Scale. t , judge d t and the distance constraint threshold δ dis The size of d t<δ dis , then execute the shift operation module; if d t ≥δ dis , then execute the traversal module; until the set CPSet is traversed, the synthesis process ends;

[0024] Shift operation module, used for mode CP i Execute the shift operation. If the shift fails, execute the traversal module; if the shift succeeds, execute the merge operation module;

[0025] Merge operation module, used for mode CP i Execute the merge operation and continue to execute the merge operation module.

[0026] Further, the shift operation includes:

[0027] The building where the pattern unit's head end positioning point is located is fixed, and the building where the pattern unit's terminal positioning point is located and its shifted associated buildings are subjected to quantitative directional shift; the shift operation is withdrawn for the building that intersects with other buildings after the shift, and if the building where the terminal positioning point is located intersects with other buildings, the shift operation of all buildings is withdrawn; after the shift is completed, it is determined whether the pattern positioning points remain consistent, and if not, the shift operation is withdrawn; after the shift of the buildings in the pattern unit is completed, the pattern unit is displaced as a whole to maintain the head and end positioning accuracy of the pattern as a whole; then, it is determined whether the minimum distance between all adjacent pattern units meets the minimum expression distance of the target scale, and if not, the building where the terminal positioning point of the pattern is located is fixed, and the above operation is performed with the building where the head end positioning point is located as the shift object.

[0028] Furthermore, the merging operation includes:

[0029] Step 4.1: Construct the Delaunay constrained triangulation of the building complex, and divide the triangles into the following types according to the number of buildings adjacent to the three vertices of the triangle unit: Type I triangle: a triangle adjacent to one building; Type II triangle: a triangle adjacent to two buildings; Type III triangle: a triangle adjacent to three buildings; add type II triangles and type III triangles to the set TS, and execute step 4.2;

[0030] Step 4.2: Obtain only the associated pattern units U according to the triangle association relationship in TS i The triangle set of the building inside UTS i ; Establish an array list UM of the order of merged buildings, and execute step 4.3; where U i ={Building1,Building2,…,Building j}, complex combination straight line pattern {U1,U2…,Un}

[0031] Step 4.3: According to the pattern unit U i corresponding triangle set UTS i determine pairwise adjacent buildings Building i and Building j , where i < j, add the type-II triangles of the associated buildings Building i and Building j to the set TR, search for the shortest side of the associated edges of the triangles in TR, and calculate the on-map length d of the shortest side according to the target scale Scale t , and judge the size relationship between d t and the threshold δ dis ; if d t > δ dis , then the buildings Building i and Building j cannot be merged, and judge the next group of adjacent buildings; if d t ≤ δ dis , then the buildings Building i and Building j need to be merged, and establish an order array [i, j] according to the order of the buildings in the U i set, add [i, j] to UM, remove duplicates from the arrays in UM, and execute Step 4.4;

[0032] Step 4.4: Take each array array in UM, and according to array, take the adjacent buildings Building i and Building i in the pattern unit U j , add the type-II triangles of the associated buildings Building i and Building i in UTS j to the set TR, remove the triangles in TR that contain associated edges with lengths greater than 1.5 * LenMin and do not contain the shortest associated edge, rectify and record the bridging region Region formed by the triangles in TR, delete the triangles in TR from UTS i , and add the triangles removed from the original bridging region to UTS i , and execute Step 4.5; where LenMin represents the side length of the shortest side among all the triangles in the triangular network;

[0033] Step 4.5: Merge all topologically adjacent buildings and bridging regions within each pattern unit, and execute Step 4.6;

[0034] Step 4.6: According to the model unit U i The corresponding triangle set UTS i Identify the "holes" in the pattern unit, calculate the area of ​​each "hole" on the map and compare it with the threshold δ area Make a judgment; if Area>δ area , then add the "hole" to the set H and determine the next "hole"; if Area<δ area , then merge the "hole" with the topologically adjacent buildings; traverse the "holes" h in the set H i , determine the "hole" h formed by the same building in other model units j Whether to be merged, if h j is merged, then h i Merge with topologically adjacent buildings.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] (1) When the priority is to maintain the number of pattern units, the comprehensive strategy of "shift-merge" can effectively retain the buildings in the pattern without deleting them, thereby maintaining the structure and distribution characteristics of the complex combined straight line pattern to the greatest extent. In particular, when the minimum interval between pattern units is close to the distance threshold, the spatial conflict between pattern units can be resolved by only a few shifts.

[0037] (2) The present invention realizes the integration of building complexes that take into account complex combined straight line patterns. The integrated method that takes into account the shift of the number of buildings and the distribution pattern characteristics and the preservation of the spatial structure characteristics fully maintains the overall straight line pattern distribution characteristics of the building complex. During the integration process, its spatial coverage and the number of pattern units do not change; in addition, the similarity of the combined structural characteristics of the buildings as pattern units in different straight line patterns is also maintained. When the integrated scale is large, each pattern unit can still maintain the similarity of the building outline. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is an example diagram of straight line patterns of different types of building complexes according to an embodiment of the present invention;

[0039] Figure 2 It is a cognitive map driven by a combination of homogeneous buildings according to an embodiment of the present invention;

[0040] Figure 3 This is an example diagram of the displacement-related buildings according to an embodiment of the present invention;

[0041] Figure 4 A comprehensive flow chart of a complex combined straight line pattern synthesis method maintaining quantitative characteristics according to an embodiment of the present invention;

[0042] Figure 5 This is an example diagram of the displacement of the building toward the positioning line of the head end of the mode unit according to an embodiment of the present invention;

[0043] Figure 6 This is an example diagram of the mode unit shifting toward the mode end positioning line according to an embodiment of the present invention;

[0044] Figure 7 This is an example diagram of the displacement of a building toward the end positioning line of a mode unit according to an embodiment of the present invention;

[0045] Figure 8 This is an example diagram of the mode unit shifting toward the mode head end positioning line according to an embodiment of the present invention;

[0046] Fig. 9 This is an example diagram of building merging according to an embodiment of the present invention;

[0047] Fig.10 This is an example diagram of obtaining a "hole" after buildings are merged according to an embodiment of the present invention;

[0048] Fig.11 The experimental data of the embodiment of the present invention;

[0049] Fig.12 This is the comprehensive result of the target scale of the embodiment of the present invention being 1:25 000;

[0050] Fig.13 This is the comprehensive result of the target scale of the embodiment of the present invention being 1:50 000;

[0051] Fig.14 It is a comparison diagram of local details of the comprehensive results of the embodiment of the present invention;

[0052] Fig.15 This is a comparison diagram of the results of different step length shifts according to an embodiment of the present invention;

[0053] Fig.16 It is a schematic diagram of the structure of a complex combination straight line pattern synthesis device that maintains quantitative characteristics according to an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The present invention will be further explained below with reference to the accompanying drawings and specific embodiments:

[0055] First, let’s introduce the complex combination of straight lines of buildings:

[0056] Distribution pattern is one of the typical spatial distribution characteristics, which requires special attention and processing from cartographers. This is also the original motivation for the study of map distribution patterns. The formation of patterns mainly depends on subjective factors such as cognitive psychology. For example, perception has a tendency to combine, such as close combinations, similar combinations, and combinations of good graphics (such as continuity, symmetry, convergence, etc.). If a certain distribution appears repeatedly and continuously, it constitutes a certain pattern, which should be considered as a whole in map synthesis, rather than being treated separately. How to make computers "understand" the spatial cognitive laws of human beings on the pattern of building complexes is the key to automatic recognition of building complex patterns.

[0057] The straight line pattern is a common and typical building cluster distribution pattern. A large number of cognitive studies have shown that the topological perception relationship of the straight line pattern has a hierarchy of "building (pattern unit)-straight line pattern", such as Figure 1 The linear pattern of the building complex in the dashed box D is formed by multiple buildings with similar characteristics (shape, direction, size, etc.) arranged in a straight line. However, this cognitive feature is limited to the linear pattern of homogeneous building complexes with a single building as the pattern unit, and is not completely applicable to the situation where the buildings in the dashed boxes A, B and C have obvious differences in size, direction and other characteristics but can still be recognized as a linear pattern as a whole. According to the Gestalt cognitive principle and the visual perception topology theory, when an observer looks at a map, the first thing he or she pays attention to is the overall spatial distribution of the building complex, such as Figure 1 The building complex in the middle dotted box A will be regarded as a straight line pattern; then the local structure and features will be noticed, and it will be found that the straight line pattern is formed by a combination of multiple buildings with similar features and structures, such as a whole formed by the combination of buildings 11, 13, 18 and 21; then the differences in the size, direction and other characteristics of each building in the building combination structure will be clearly perceived.

[0058] In view of this straight line pattern formed by a combination of multiple buildings with similar characteristics and structures, the present invention introduces the concept of complex combination straight line pattern for definition. Complex combination straight line pattern has the characteristics of multi-level cognition. At the overall pattern layer, the building complex as a whole is regularly distributed in a straight line pattern; at the pattern unit layer, the pattern is composed of a group of building combination structures with similar structures and characteristics (i.e., pattern units), and the spatial distribution between pattern units satisfies a specific arrangement method - straight line arrangement; at the pattern element layer, the pattern unit is composed of adjacent buildings with different characteristics. Figure 1 In the middle dashed box C, buildings 25, 30 and 32 form a combined structure, and then a plurality of similar combined structures are arranged in a straight line to form a combined straight line distribution pattern.

[0059] From the perspective of the spatial correspondence between buildings in adjacent pattern units, the simple straight line pattern only contains a 1:1 spatial correspondence, the extended combination straight line pattern contains 1:1, 1:n and m:n spatial correspondences, and the complex combination straight line pattern only contains n:n spatial correspondences. Therefore, the process of complex combination straight line pattern recognition can be regarded as the process of establishing n:1 spatial correspondences between buildings and their pattern units and 1:1 spatial correspondences between pattern units.

[0060] From the cognitive characteristics of complex combined straight line patterns, it can be seen that for any building in any pattern unit in the complex combined straight line pattern, there must be buildings with similar characteristics to the building and arranged in a straight line in other pattern units, such as Figure 1 In the dashed box C, buildings 32, 41, 50 and 63 can form a simple straight line pattern. Therefore, the complex combined straight line pattern can also be regarded as a group of simple straight line patterns that are spatially adjacent and have similar distribution characteristics (direction, interval), arranged in a way that the pattern is vertically aligned, and the adjacent buildings between different simple straight line patterns are combined in sequence to form pattern units, and then multiple pattern units form a complex combined straight line pattern.

[0061] The complex combination straight line pattern of building complex is a straight line pattern formed by the combination structure of multiple buildings with similar characteristics and structures. The building combination structure is composed of multiple different buildings, and the building combination structure does not have a specific structure. Therefore, when synthesizing complex combination straight line pattern building complexes, it is necessary to select appropriate synthesis operators and strategies based on the characteristics of the building combination structure as the pattern unit. According to its spatial structure and distribution characteristics, when the scale is reduced, there may be two types of spatial conflicts within the pattern, namely, conflicts between pattern units and conflicts between buildings within the pattern unit.

[0062] The spatial conflicts between pattern units are mainly eliminated by shifting operations: since there are spatial conflicts between pattern units and there is not enough space for shifting, the shift here is to first shift the buildings in the pattern unit to compress the space inside the pattern and then shift the pattern unit as a whole;

[0063] The spatial conflicts between buildings within a model unit are mainly eliminated by merging operations.

[0064] In order to facilitate the description of the proposed shifting, typifying and merging algorithms, the relevant concepts involved in the implementation of the comprehensive operation are defined and explained in combination with the structure and distribution characteristics of the complex combined straight line patterns.

[0065] Definition 1: Pattern positioning mark: mainly includes the pattern head end positioning point, end positioning point, head end positioning line and end positioning line. Construct the SMBR of the entire complex combined straight line pattern, and record the axis that is approximately perpendicular to the main direction of the pattern as the auxiliary axis, such as Figure 2 The short axis in the model; the axis approximately parallel to the main direction of the model is recorded as the direction axis, such as Figure 2 The first pattern unit in the pattern list is recorded as the head end pattern unit. Calculate the projection distance from each node of the building polygon in the head end pattern unit to the auxiliary axis of the complex combined straight line pattern, and record the node with the farthest distance as the pattern head end positioning point (such as Figure 2 The last pattern unit in the pattern list is recorded as the terminal pattern unit. The projection distance from each node of the building polygon in the terminal pattern unit to the auxiliary axis of the complex combined straight line pattern is calculated, and the node with the farthest distance is recorded as the pattern terminal positioning point (such as Figure 2 Draw line segments parallel to the auxiliary axis of the complex combined straight line pattern through the start and end positioning points, and record them as the start and end positioning lines of the pattern respectively (such as Figure 2 black positioning line and gray positioning line).

[0066] Definition 2: Pattern unit positioning mark: mainly includes the pattern unit head positioning point, terminal positioning point, head positioning line and terminal positioning line. Calculate the projection distance from each node of the building polygon in the pattern unit to the pattern head positioning line, and record the node with the closest distance as the head positioning point. Calculate the projection distance from each node of the building polygon in the pattern unit to the pattern terminal positioning line, and record the node with the closest distance as the terminal positioning point. Draw line segments parallel to the auxiliary axis of the complex combined straight line pattern through the head and terminal positioning points of the pattern unit, and record the line segments as the head and terminal positioning lines of the pattern unit. Figure 2 In the figure, the black positioning point and positioning line are the starting positioning point and positioning line of the first pattern unit, and the gray positioning point and positioning line are the ending positioning point and positioning line of the last pattern unit.

[0067] Definition 3: Pattern unit interval distance: Calculate the shortest distance between each pair of buildings in adjacent pattern units, and take the minimum value of all distances as the pattern unit interval distance.

[0068] Definition 4: Shifted associated buildings: Project the buildings in the complex combined straight line pattern unit in the main direction of the pattern. If building B in the pattern unit needs to be shifted, the buildings whose other projected line segments intersect with the projected line segments of building B are recorded as shifted associated buildings of building B. Figure 3As shown, buildings 1, 2 and 3 form a complex combined straight line pattern unit. Line L is an auxiliary line after the complex combined straight line pattern direction axis is translated for the convenience of displaying the building projection line segments. Line segments AB, CF and DE are the projection line segments of buildings 1, 2 and 3 in the main direction of the pattern. If building 2 is the building that needs to be shifted, since the projection line segments of buildings 2 and 3 overlap, building 3 is recorded as the shifted associated building of building 2.

[0069] Definition 5: Co-located buildings: For any building A in any pattern unit in a complex combined linear pattern, there must be a building B with similar features to the building in other pattern units and arranged in a straight line. Then buildings A and B are co-located buildings. Figure 2 Buildings 1, 5 and 9 are a group of co-located buildings.

[0070] In order to implement integration of complex combined straight line pattern building complexes, the present invention establishes a shift integration operator for the spatial conflict between pattern units. The shift operation is to solve the spatial conflict between pattern units without reducing the number of pattern units; a merge integration operator is designed for the spatial conflict between buildings within a pattern unit.

[0071] The number of pattern units is an important feature of the pattern. The more pattern units there are, the stronger the pattern is. Therefore, by retaining the number of pattern units, the characteristics of the pattern can be maximized. Considering the rule of giving priority to maintaining the number of pattern units in the complex combined straight line pattern, a comprehensive strategy of complex combined straight line pattern building complexes combining "shift" and "merge" is adopted. The purpose of this strategy is to solve the spatial conflicts between pattern units through shift operations without reducing the number of buildings, and to solve the spatial conflicts between buildings in the pattern unit through merge operations, so as to maintain the distribution characteristics of the combined straight line pattern and the similarity of the structural characteristics of the pattern unit. Since the distance between buildings in the pattern unit will be reduced after the shift (adjacent buildings distributed along the main direction), new spatial conflicts may occur. Moreover, if the merge operation is performed first, there may not be enough space in the pattern unit for subsequent shift operations. Therefore, the "shift-merge" comprehensive strategy adopts the execution order of the comprehensive operators of "shift" first and "merge" later.

[0072] Combined with the above analysis, let the comprehensive target scale be Scale and the minimum interval distance threshold on the map be δ dis For the urban building complex data that needs to be integrated, the process of a complex combined straight line model integration method that maintains the quantitative characteristics of the complex combined straight line model is as follows: Figure 4 The specific steps are as follows:

[0073] Step 1: Identify and obtain complex combined straight line patterns in the building complex data; add all complex combined straight line patterns to the set CPSet; execute step 2;

[0074] Step 2: Take any combination of straight line patterns CP in the set CPSet i ; Calculate CP i The minimum distance DisMin between adjacent pattern units is calculated based on the target scale Scale and the length d on the map of the minimum distance DisMin. t , judge d t and the distance constraint threshold δ dis The size of d t <δ dis , then execute step 3; if d t ≥δ dis , then execute step 3; until the set CPSet is traversed, the synthesis ends;

[0075] Step 3: CP mode i Perform the shift operation. If the shift fails, go to step 2; if the shift succeeds, go to step 4.

[0076] Step 4: CP mode i To perform the merge operation, go to step 2.

[0077] Specifically, the displacement operations that take into account the number and distribution pattern characteristics of buildings include:

[0078] The shift operation mainly includes the shift of local buildings within the pattern unit and the shift of the pattern unit as a whole. Considering the positioning accuracy, spatial structure and distribution characteristics of the complex combined linear pattern building complex on the map, the shift operation needs to follow the following three points:

[0079] (1) Maintaining the positioning accuracy of the combined straight line pattern, that is, the spatial coverage (such as the minimum area circumscribed rectangle) of the combined straight line pattern before and after the shift should be kept as consistent as possible. This is mainly achieved in two aspects: first, ensuring that the pattern positioning mark remains consistent; second, the shift of local buildings within the pattern unit and the shift of the pattern unit as a whole should be carried out along the main direction of the combined straight line pattern;

[0080] (2) Maintaining the similarity of the structural characteristics of the model unit mainly considers two aspects: first, when the building is displaced within the model unit, the displacement direction and distance of the same-situated buildings must be the same, so as to maintain the similarity of the structural characteristics of each model unit within the model; second, when the building is displaced within the model unit, the displacement direction and distance of the displaced associated buildings must be kept the same as much as possible, so as to maintain the similarity of the structural characteristics of the model unit before and after the displacement;

[0081] (3) In the complex combined straight line pattern, the pattern units must meet the requirement of approximately equal spacing. After the building displacement operation within the pattern unit is completed, the distribution spacing between the pattern units needs to be recalculated based on the compressed space.

[0082] Combined with the above analysis, the present invention adopts a progressive operation strategy to complete the displacement of the complex combined straight line pattern. This strategy mainly achieves the effect of compressing the gap in the pattern unit by displacing the buildings in the pattern unit along the main direction of the pattern. The main idea of ​​the shift operator is: in order to simplify the shift operation, the building where the pattern unit head end positioning point is located is fixed. In order to maintain the consistency of the pattern unit end positioning point before and after the shift and the relative position relationship of the displaced building in the vertical direction of the pattern main direction, the building where the pattern unit end positioning point is located and its displacement associated building are quantitatively directional shifted. After the shift is completed, it should be noted that the building should not conflict with other buildings after the shift. Therefore, the shift operation is withdrawn for the building that intersects with other buildings after the shift. If the building where the end positioning point is located intersects with other buildings, the shift operation of all buildings is withdrawn. In addition, after the shift is completed, it is also necessary to determine whether the pattern positioning point remains consistent. If it does not remain consistent, the shift operation is withdrawn. After the shift of the building in the pattern unit is completed, the position of the pattern end positioning point changes due to the displacement of the building in the end pattern unit to the pattern head. Therefore, it is necessary to displace the entire pattern unit to maintain the head and end positioning accuracy of the entire pattern. Then, it is determined whether the minimum distance between all adjacent pattern units meets the minimum expression distance of the target scale. If not, the building where the end positioning point of the pattern is located is fixed, and the building where the head positioning point is located is used as the displacement object to perform the above operation. When the pattern unit cannot continue to shift from the head and the end, it indicates that the comprehensive operation of the complex combined straight line pattern building complex cannot be achieved through the displacement operation.

[0083] Assume that the minimum distance threshold between buildings calculated according to the target scale is δ dis , the building displacement step is Len_DISP, Figure 2 Taking the complex combined straight line pattern building complex as an example, the specific steps of the complex combined straight line pattern shift operation are as follows:

[0084] Step 1: For any pattern unit U in the complex combined straight line pattern Pattern i (1≤i≤num, num is the number of pattern units), denoted by U iThe building Building_F where the first-end positioning point is located, and the building Building_L where the last-end positioning point is located; fix Building_F, set Building_L as the priority displacement object, and obtain the set of displacement-related buildings of Building_L {Rel_B1, Rel_B2, …, Rel_B i}, shift Building_L and the buildings in the set {Rel_B1, Rel_B2, …, Rel_B i} along the main direction towards the first-end positioning line of the pattern unit, and the displacement distance is Len_DISP; determine whether all the shifted buildings conflict with other buildings. If there is no conflict, mark Flag1 as true and execute Step2; if there is a conflict, continue to determine whether Building_L is included in the buildings with conflicts. If Building_L is included, withdraw all displacement operations, mark Flag1 as false, and execute Step2; if Building_L is not included, withdraw the displacement operations that cause conflicts after displacement, and continue to determine whether the last-end positioning points of the pattern unit after displacement are consistent. If they are consistent, mark Flag1 as true and execute Step2; if they are not consistent, withdraw all displacement operations, mark Flag1 as false, and execute Step2; as Figure 5 shown in the result of the displacement of some buildings within all pattern units towards the first-end positioning line of the pattern unit (the dashed box is the SMBR of the original building complex, same as Figure 6 , 7 and 8).

[0085] Step2: If Flag1 is false, execute Step3; otherwise, shift the other pattern units U j (1 < j ≤ num) except for the first-end pattern unit. The displacement size U_DISP j of the pattern unit U j can be calculated by Equation 1, and the displacement direction is along the main direction of the pattern towards the last-end positioning line; after the displacement is completed, calculate the interval distance MisDis between all adjacent pattern units, and calculate the on-map interval distance d t according to the target scale Scale. If d t > δ dis , the displacement operation is completed and the algorithm ends; otherwise, execute Step3; as Figure 6 shown in the result of the displacement of the pattern unit towards the last-end positioning line;

[0086]

[0087] Step3: For any pattern unit U in the complex combined straight-line pattern Patterni (1 ≤ i ≤ num, where num is the number of pattern units), denote U i the building Building_F where the starting positioning point in U is located, and the building Building_L where the ending positioning point is located; fix Building_L, set Building_F as the priority shifting object, and obtain the set of associated shifting buildings of Building_F {Rel_B1, Rel_B2, …, Rel_B i}; shift Building_F and the buildings in the set {Rel_B1, Rel_B2, …, Rel_B i} along the main direction towards the ending positioning line, and the shifting distance is Len_DISP; determine whether all the shifted buildings conflict with other buildings. If there is no conflict, mark Flag2 as true and execute Step4; if there is a conflict, continue to determine whether Building_F is included in the conflicting buildings. If Building_F is included, withdraw all shifting operations, mark Flag2 as false, and execute Step4; if Building_F is not included, withdraw the shifting operations that conflict after shifting, and continue to determine whether the starting positioning points of the pattern units after shifting are consistent. If they are consistent, mark Flag2 as true and execute Step4; if they are not consistent, withdraw all shifting operations, mark Flag2 as false, and execute Step4; as Figure 7 shown in the result of shifting some buildings within all pattern units towards the ending positioning line of the pattern unit;

[0088] Step4: If both Flag1 and Flag2 are false, execute Step5; if Flag2 is true, shift the other pattern units U j (1 < j ≤ num) of the pattern units. The shifting size of the pattern unit U j can be calculated by Equation 1, and the shifting direction is along the main direction of the pattern towards the starting positioning flag line of the pattern; after the shifting is completed, calculate the interval distance MisDis between all adjacent pattern units, and calculate the on-map interval distance d t according to the target scale Scale. If d t > δ dis , the shifting operation is completed and the algorithm ends; otherwise, execute Step1; as Figure 8 shown in the result of shifting the pattern unit towards the starting positioning line of the pattern;

[0089] Step5: Withdraw all shifting operations to restore the buildings to their original positions, and the shifting algorithm ends. The conflicts between pattern units in the complex combined straight line pattern Pattern cannot be resolved by shifting and other comprehensive strategies need to be adopted.

[0090] Specifically, the merging operation of preserving spatial structure features includes:

[0091] The merging operation is mainly for merging adjacent buildings whose spacing distance within the pattern unit is less than the minimum spacing. For the entire complex combined straight line pattern, the merging operation needs to take into account the similarity of the structural characteristics of each pattern unit within the complex combined straight line pattern, so it is necessary to synchronously perform the merging operation on the co-located buildings of the merged building. This is mainly because the spacing between adjacent buildings in the pattern unit and the spacing between co-located buildings are not completely equal. If the merging is determined based only on the building spacing, it may result in the situation where adjacent buildings in a certain pattern unit are determined to need to be merged, but co-located buildings in other pattern units are determined not to need to be merged. Therefore, the present invention stipulates that if two adjacent buildings in any pattern unit meet the merging conditions, the co-located buildings in other pattern units must also be merged.

[0092] There are two situations that need to be considered when merging buildings within a pattern unit: first, considering that most buildings have regular shapes, the merging operation needs to maintain the right-angled characteristics of the buildings; second, it is necessary to maintain the consistency of the structural characteristics of the pattern units within the complex combined straight line pattern. The present invention intends to gradually implement the merging operation of buildings within the pattern unit by adopting a strategy of merging directly adjacent buildings in pairs, but for pattern units containing multiple buildings, "holes" may be generated. Therefore, the merging operation of the complex combined straight line pattern mainly includes two key steps, namely, the merging of buildings that take right angles into account and the processing of "holes" between merged buildings.

[0093] 1. Merge buildings with right angles in mind

[0094] Delaunay triangulation is widely used in map synthesis due to its good spatial proximity detection and analysis functions. By triangulating the building complex with the help of Delaunay triangulation, the merging of building polygons can be achieved. The main idea is to classify and screen triangles on the basis of constructing a triangulation network with building polygons as constraint edges, so as to identify the bridging areas of adjacent buildings to be merged as adjacent building areas. The present invention performs a right-angle processing on the bridging area, and for the bridging area that cannot be right-angled by this method, the bridging area is directly used as the final merged area. Fig. 9 For example, Fig. 9 In (a), the gray-filled polygon is the bridge area between buildings A and B. The edges of the bridge area that overlap with the buildings are recorded as merged edges (LM1 and LM2), and the non-overlapping edges are recorded as boundary edges (LB1 and LB2). The steps to square the bridge area between adjacent buildings are: select any merged edge LM i One endpoint V of the merged edge LMj Draw a perpendicular line. If the perpendicular point P falls on LM j , then the triangular area formed by the boundary edges of point P and point V is cut off from the bridging area, for example, Fig. 9 (a) The triangular area formed by the midpoint P and the boundary edge LB1 needs to be removed. Performing the above operation on each end point of the merged edge can complete the right-angled shape of the bridge area. Fig. 9 (b) is the bridging area after square-angle processing.

[0095] 2. Dealing with the "holes" between merged buildings

[0096] After determining the merged area of ​​adjacent buildings, it is also necessary to extract and process the possible "holes". Analysis shows that "holes" must be composed of triangles that are topologically adjacent to each other in the pattern unit and have not been processed during the square-angle processing. Therefore, the extraction of "holes" can be achieved through recursive (iterative) search of triangles. Let the set of unprocessed triangles in the pattern unit be S, and the set of triangles that make up the hole be H. Take any triangle T in S as s As the seed starting point from T s The edge of the adjacent triangle is recursively searched, with T s Take the side E of the building as an example, and determine whether the side E coincides with the edge of the building or the merged area. If they coincide, the recursive search ends with the side E as the entering edge; if they do not coincide, the other triangle T associated with the side E is n Add to H and continue with triangle T n The other edges of are used as the entry edges to continue the recursive search until all triangles in S are traversed. Finally, it is necessary to determine whether the set H contains the boundary triangle. If it does, the area formed by the triangles in H cannot form a "hole". Fig.10 In (a) and (b), the gray filled polygon is the bridge area, the star-shaped mark is the seed triangle, the arrow is the search direction, and the area formed by all the searched triangles is in Fig.10 (a) is treated as a "hole" and Fig.10 (b) cannot be treated as a "hole". The treatment of holes is mainly based on the minimum area threshold to determine whether the "hole" needs to be retained. If it is less than the threshold, the "hole" is merged with the adjacent buildings and the bridge area; if it is greater than the threshold, the "hole" is retained. For different pattern units, in order to maintain the similarity of the structural characteristics of the pattern units in the complex combined straight line pattern, the treatment of holes also needs to be consistent. The buildings associated with the "hole" can be used to control the synchronous treatment of "holes" between the same-situated buildings.

[0097] Assume that the comprehensive target scale is Scale and the minimum interval distance threshold on the map is δ dis , the minimum area threshold is δ area, combining the above analysis, for the complex combined straight-line pattern pattern{U1, U2…, U n}, where U i = {Building1, Building2,…, Building j}, the steps for the merging operation are as follows:

[0098] Step 4.1: Construct the Delaunay constrained triangulation of the building complex. Divide the triangles into the following types according to the number of buildings adjacent to the three vertices of the triangle unit: Type Ⅰ triangle: The triangle is adjacent to one building; Type Ⅱ triangle: The triangle is adjacent to two buildings; Type Ⅲ triangle: The triangle is adjacent to three buildings. Add the Type Ⅱ triangles and Type Ⅲ triangles to the set TS, and execute Step 4.2;

[0099] Step 4.2: Obtain the set of triangles UTS that are only associated with the buildings within each pattern unit U i according to the triangle association relationship in TS; establish an array linked list UM for the order of merging buildings, and execute Step 4.3;

[0100] Step 4.3: Determine the pairwise adjacent buildings Building i and Building i (i < j) according to the set of triangles UTS i corresponding to the pattern unit U j . Add the Type Ⅱ triangles associated with the buildings Building i and Building j to the set TR. Search for the shortest side of the associated edges of the triangles in TR, and calculate the on-map length d t of the shortest side according to the target scale Scale. Judge the size relationship between d t and the threshold δ dis ; if d t > δ dis , then the buildings Building i and Building j cannot be merged, and judge the next group of adjacent buildings; if d t ≤ δ dis , then the buildings Building i and Building j need to be merged, and establish an order array [i, j] according to the order of the buildings in the U i set. Add [i, j] to UM, and remove duplicates from the arrays in UM, and execute Step 4.4;

[0101] Step 4.4: Take each array array in UM, and take the pattern unit U according to array​​i adjacent buildings in i and j (i < j), add the type - II triangles of the associated buildings in i to the set TR. To eliminate the long and narrow triangles that may affect the merging, remove the triangles in TR that contain associated edges with lengths greater than 1.5 * LenMin and do not contain the shortest associated edge. Rectify and record the bridging regions Region formed by the triangles in TR, delete the triangles in TR from i and add the triangles removed from the original bridging region to j i and perform Step 4.5; where LenMin represents the side length of the shortest side among all triangles in the triangular network; i

[0102] Step 4.5: Merge all topologically adjacent buildings and bridging regions within each pattern unit, and perform Step 4.6;

[0103] Step 4.6: Identify the "holes" in the pattern unit according to the set of triangles UTS i corresponding to the pattern unit U, calculate the on - map area Area of each "hole" and compare it with the threshold δ i area for judgment; if Area > δ area , add this "hole" to the set H and judge the next "hole"; if Area < δ area , merge this "hole" with the topologically adjacent building; traverse the "holes" h i in the set H, and judge whether the "holes" h j formed by the同位 buildings in other pattern units are merged. If h j is merged, then merge h i with the topologically adjacent building.

[0104] To verify the effectiveness of the comprehensive method proposed in the present invention, the above - mentioned key algorithms were implemented using C# and ArcGIS Engine programming, and experiments were carried out using actual data. The experimental data is a part of the building complex at a scale of 1:10,000 in the Rotterdam, the Netherlands area. The experimental area contains a total of 173 buildings, as Fig.11 ​​​As shown in Figure 2. The sizes and shapes of the buildings in the selected experimental area are somewhat different, and there is obvious local spatial heterogeneity. Most buildings have similar directions, and they present obvious complex combined straight line patterns in visual perception. This experiment only uses the proposed method to synthesize the building complexes that form combined straight line patterns in the experimental area. First, identify and extract the complex combined straight line patterns in the experimental area, such as Fig.11 The buildings in each rectangular frame are different complex combination straight line patterns. Fig.11 The complex combined straight line patterns in different rectangular boxes are numbered.

[0105] The present invention uses the minimum visible resolution distance and size on the map as mapping constraints to perform building synthesis, and sets the minimum interval distance threshold δ on the map dis =0.5mm, the minimum size threshold of the building δ area =0.6mm*0.4mm, the moving step is set to 1m, and the target scales are set to 1:25 000 and 1:50 000 respectively. The results of the comprehensive implementation using the proposed “shift-merge” strategy are shown in the figure below. Fig.12 and Fig.13 shown.

[0106] 1) Result analysis

[0107] The results of the displacement of different target ratios are statistically analyzed and are shown in Table 1. Fig.12 , Fig.13 As shown in Table 1, when the target scale is 1:25 000, only modes 2 and 3 are successfully shifted, and modes 1 and 4 fail to shift because the interval distance of each mode unit in the mode meets the distance constraint; when the target scale is 1:50 000, modes 1, 3 and 4 are successfully shifted, and mode 2 fails to shift because each mode unit in the mode cannot compress enough space to make the mode unit interval meet the distance constraint. The number and area of ​​the combined straight line modes before and after the integration are statistically analyzed, and the results are shown in Table 2. According to the number of buildings before and after the integration, it can be calculated that the integration degree of each target scale in the experiment is 42.86% (1:25 000) and 66.67% (1:50 000), respectively. The area changes of each target scale are 12.52% and 79.78%, respectively. In the experimental results of each target scale, the number of buildings will decrease after integration, while the overall area will increase. This is mainly caused by the merger of buildings in the mode unit, and when the target scale is smaller, the merged buildings are more and the area is larger. According to the experimental results Fig.12 , Fig.13 Compared with local details Fig.14It can be seen that the integrated building complex can maintain the characteristics of linear mode distribution as a whole, and the number of pattern units has not changed. Although the pattern units have been compressed, their structural characteristics are obviously similar to those before the integration. From the above analysis, it can be seen that the integrated method of the "shift-merge" strategy has the following advantages: ① It fully maintains the linear mode distribution characteristics of the entire building complex. During the integration process, its spatial coverage and the number of pattern units have not changed; ② It maintains the similarity of the combined structural characteristics of buildings as pattern units in different linear modes. When the integrated scale is large, each pattern unit can still maintain the similarity of the building outline, such as Fig.13 (b) The comprehensive strategy of “shift-merge” also has certain limitations and cannot guarantee that all conflicting patterns can be resolved through shifting.

[0108] Table 1 Building displacement information in different modes

[0109]

[0110] Table 2 Experiment 1 results statistics

[0111]

[0112]

[0113] 2) Parameter selection and threshold setting

[0114] The present invention focuses on the study of the building complex synthesis method taking into account the spatial distribution pattern, with the aim of maintaining the spatial distribution pattern characteristics of the building complex as much as possible on a reduced scale. The present invention uses the spatial structure knowledge mined by pattern recognition as the main basis for building complex synthesis, and implements the synthesis with the minimum interval distance and the minimum resolution size as important comprehensive constraints.

[0115] In the experiment, the minimum interval distance threshold on the graph is set to 0.5 mm only to verify the proposed method. In practical applications, the minimum interval distance threshold needs to be set based on the specific actual situation, and the setting of the minimum resolution size is similar.

[0116] In addition, the method of the present invention also involves the setting of the threshold of the shift step. In order to better demonstrate the influence of the moving step threshold on the shift result, the moving step was set to 1m, 3m and 5m respectively in the experiment with the target scale of 1:50 000 for testing. Table 3 shows the statistical information of the shift results with different moving step. Fig.15The figure is a local comparison of the shift results with different moving step sizes. Analysis shows that when the moving step size is smaller, the number of moves is greater, and the distance between the pattern units after successful shift is closer to the distance constraint threshold. This means that when the moving step size is smaller, the space for pattern units to be compressed is less, and the pattern units after shift can maintain more structural features, position accuracy and other information. When the moving step size is larger, the number of moves is smaller, and the gap between the distance between the pattern units after successful shift and the distance constraint threshold is greater. The compressible space of the pattern unit may be less than the moving step size, resulting in shift failure. Of course, for the straight line mode with a compressible space less than the required space, the moving step size will not affect the shift result, because this mode cannot solve the spatial conflict by shifting. For example, when the target scale is 1:50,000, the shift of mode 2 fails due to insufficient shift space.

[0117] Table 3 Shift result information of different moving step lengths

[0118]

[0119] In summary, the present invention proposes a comprehensive method of combining shift and merge operators for the integration of complex combined straight line pattern building complexes, designs a shift algorithm that takes into account both the number of buildings and the distribution pattern characteristics to solve the spatial conflict between pattern units, and a merge that maintains spatial structural characteristics to solve the spatial conflict of buildings within the pattern unit; and proposes a "shift-merge" comprehensive method that maintains the number of buildings in the pattern building complex while maintaining the pattern distribution and structural characteristics.

[0120] Based on the above embodiments, Fig.16 As shown, the present invention, on the other hand, provides a complex combination straight line pattern synthesis device maintaining quantitative characteristics, comprising:

[0121] The recognition module is used to recognize and obtain the complex combination straight line patterns in the building complex data; add all the complex combination straight line patterns to the set CPSet; and execute the traversal module;

[0122] The traversal module is used to obtain any combination of straight line patterns CP in the set CPSet i ; Calculate CP i The minimum distance DisMin between adjacent pattern units is calculated according to the target scale Scale. t , judge d t and the distance constraint threshold δ dis The size of d t <δ dis , then execute the shift operation module; if d t ≥δ dis , then execute the traversal module; until the set CPSet is traversed, the synthesis process ends;

[0123] Shift operation module, used for mode CP i Execute the shift operation. If the shift fails, execute the traversal module; if the shift succeeds, execute the merge operation module;

[0124] Merge operation module, used for mode CP i Execute the merge operation and continue to execute the merge operation module.

[0125] Further, the shift operation includes:

[0126] The building where the pattern unit's head end positioning point is located is fixed, and the building where the pattern unit's terminal positioning point is located and its shifted associated buildings are subjected to quantitative directional shift; the shift operation is withdrawn for the building that intersects with other buildings after the shift, and if the building where the terminal positioning point is located intersects with other buildings, the shift operation of all buildings is withdrawn; after the shift is completed, it is determined whether the pattern positioning points remain consistent, and if not, the shift operation is withdrawn; after the shift of the buildings in the pattern unit is completed, the pattern unit is displaced as a whole to maintain the head and end positioning accuracy of the pattern as a whole; then, it is determined whether the minimum distance between all adjacent pattern units meets the minimum expression distance of the target scale, and if not, the building where the terminal positioning point of the pattern is located is fixed, and the above operation is performed with the building where the head end positioning point is located as the shift object.

[0127] Furthermore, the merging operation includes:

[0128] Step 4.1: Construct the Delaunay constrained triangulation of the building complex, and divide the triangles into the following types according to the number of buildings adjacent to the three vertices of the triangle unit: Type I triangle: a triangle adjacent to one building; Type II triangle: a triangle adjacent to two buildings; Type III triangle: a triangle adjacent to three buildings; add type II triangles and type III triangles to the set TS, and execute step 4.2;

[0129] Step 4.2: Obtain only the associated pattern units U according to the triangle association relationship in TS i The triangle set of the inner building UTS i ; Establish an array list UM of the order of merged buildings, and execute step 4.3; where U i ={Building1,Building2,…,Building j}, complex combination straight line pattern {U1,U2…,U n};

[0130] Step 4.3: According to the model unit U i The corresponding triangle set UTS iDetermine pairwise adjacent buildings Building i and Building j where i < j, add the type - II triangles of the associated buildings Building i and Building j to the set TR. Search for the shortest side of the associated edges of the triangles in TR, and calculate the on - map length d of the shortest side according to the target scale Scale t , and judge the size relationship between d t and the threshold δ dis ; if d t > δ dis , then the buildings Building i and Building j cannot be merged, and judge the next group of adjacent buildings; if d t ≤δ dis , then the buildings Building i and Building j need to be merged, and establish an order array [i, j] according to the order of the buildings in the U i set, add [i, j] to UM, remove duplicates from the arrays in UM, and execute step 4.4;

[0131] Step 4.4: Take each array array in UM, and according to array, take the adjacent buildings Building i and Building i in the pattern unit U j , add the type - II triangles of the associated buildings Building i and Building i in UTS j to the set TR, remove the triangles in TR that contain associated edges with lengths greater than 1.5 * LenMin and do not contain the shortest associated edge, rectify and record the bridging region Region formed by the triangles in TR, delete the triangles in TR from UTS i , and add the triangles removed from the original bridging region to UTS i , and execute step 4.5; where LenMin represents the side length of the shortest side among all triangles in the triangular network;

[0132] Step 4.5: Merge all topologically adjacent buildings and bridging regions within each pattern unit, and execute step 4.6;

[0133] Step 4.6: According to the triangle set UTS i corresponding to the pattern unit U iIdentify the "holes" in the pattern unit, calculate the area of ​​each "hole" on the map and compare it with the threshold δ area Make a judgment; if Area>δ area , then add the "hole" to the set H and determine the next "hole"; if Area<δ area , then merge the "hole" with the topologically adjacent buildings; traverse the "holes" h in the set H i , determine the "hole" h formed by the same building in other model units j Whether to be merged, if h j is merged, then h i Merge with topologically adjacent buildings.

[0134] In summary, when the priority is to maintain the number of pattern units, the comprehensive strategy of "shift-merge" can be adopted to effectively retain the buildings in the pattern from being deleted, thereby maintaining the structure and distribution characteristics of the complex combined straight line pattern to the greatest extent, especially when the minimum interval between the pattern units is small and the distance threshold is small, the spatial conflict between the pattern units can be resolved by only a few shifts. The present invention realizes the integration of building complexes that take into account complex combined straight line patterns. The comprehensive method of merging and combining the shift that takes into account the number of buildings and the distribution pattern characteristics and the spatial structure characteristics, fully maintains the overall straight line pattern distribution characteristics of the building complex, and its spatial coverage and the number of pattern units do not change during the integration process; in addition, the similarity of the combined structural characteristics of the buildings as pattern units in different straight line patterns is also maintained. When the comprehensive scale is large, each pattern unit can still maintain the similarity of the building outline.

[0135] The above is only a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for synthesizing complex combined linear patterns while maintaining quantitative characteristics, characterized in that: include: Step 1: Identify and obtain complex combined straight line patterns in the building complex data; add all complex combined straight line patterns to the set CPSet; execute step 2; Step 2: Take any combination of straight line patterns CP in the set CPSet i ; Calculate CP i The minimum distance DisMin between adjacent pattern units is calculated according to the target scale Scale. t , judge d t and the distance constraint threshold δ dis The size of d t <δ dis , then execute step 3; if d t ≥δ dis , then execute step 2; until the set CPSet is traversed, the comprehensive process ends; Step 3: CP mode i Perform the shift operation. If the shift fails, go to step 2. If the shift is successful, go to step 4; The shift operation includes: The building where the pattern unit head end positioning point is located is fixed, and the building where the pattern unit terminal positioning point is located and its displacement-related buildings are subjected to quantitative directional displacement; the displacement operation is withdrawn for the building intersecting with other buildings after displacement, and if the building where the terminal positioning point is located intersects with other buildings, the displacement operation of all buildings is withdrawn; after the displacement is completed, it is determined whether the pattern positioning point remains consistent, and if not, the displacement operation is withdrawn; after the displacement of the building in the pattern unit is completed, the pattern unit is displaced as a whole to maintain the head and end positioning accuracy of the whole pattern; then, it is determined whether the minimum distance between all adjacent pattern units meets the minimum expression distance of the target scale, and if not, the building where the terminal positioning point of the pattern is located is fixed, and the above operation is performed with the building where the head end positioning point is located as the displacement object; Step 4: CP mode i Perform the merge operation and proceed to step 2; The merging operation includes: Step 4.1: Construct the Delaunay constrained triangulation of the building complex, and divide the triangles into the following types according to the number of buildings adjacent to the three vertices of the triangle unit: Type I triangle: a triangle adjacent to one building; Type II triangle: a triangle adjacent to two buildings; Type III triangle: a triangle adjacent to three buildings; add type II triangles and type III triangles to the set TS, and execute step 4.2; Step 4.2: Obtain only the associated pattern units U according to the triangle association relationship in TS i The triangle set of the building inside UTS i ; Establish an array list UM of the order of merged buildings, and execute step 4.3; where U i ={Building1,Building2,…,Building j }, complex combination straight line pattern {U1,U2…,U n }; Step 4.3: According to the pattern unit U i corresponding triangle set UTS i determine two adjacent buildings Building i and Building j , i < j, add the type-II triangles associated with buildings Building i and Building j to the set TR, search for the shortest side of the associated edges of the triangles in TR, and calculate the on-map length d of the shortest side according to the target scale Scale t , and judge the magnitude relationship between d t and the threshold δ dis ; if d t > δ dis , then buildings Building i and Building j cannot be merged, and judge the next group of adjacent buildings; if d t ≤ δ dis , then buildings Building i and Building j need to be merged, and establish an order array [i, j] according to the order of the buildings in the U i set, add [i, j] to UM, remove duplicates from the arrays in UM, and execute Step 4.4; Step 4.4: Take each array array in UM and take the pattern unit U according to array i Adjacent buildings i and Building j , UTS i Related Buildings i and Building j The type II triangles are added to the set TR, the triangles in TR that contain associated edges longer than 1.5*LenMin and do not contain the shortest associated edges are removed, the bridging area Region formed by the triangles in TR is right-angled and recorded, and the triangles in TR are removed from UTS i Delete and add triangles culled from the original bridge area to the UTS i , execute step 4.5; where LenMin represents the length of the shortest side of all triangles in the triangulation network; Step 4.5: Merge all topologically adjacent buildings and bridge areas in each model unit and execute step 4.6; Step 4.6: According to the model unit U i The corresponding triangle set UTS i Identify the "holes" in the pattern unit, calculate the area of ​​each "hole" on the map and compare it with the threshold δ area Make a judgment; if Area>δ area , then add the "hole" to the set H and determine the next "hole"; if Area<δ area , then merge the "hole" with the topologically adjacent buildings; traverse the "holes" h in the set H i , determine the "hole" h formed by the same building in other model units j Whether to be merged, if h j is merged, then h i Merge with topologically adjacent buildings.

2. A complex combination straight line pattern synthesis device maintaining quantitative characteristics, characterized in that: include: The recognition module is used to recognize and obtain complex combined straight line patterns in the building complex data; and add all complex combined straight line patterns to the set CPSet; Execute the traversal module; The traversal module is used to obtain any combination of straight line patterns CP in the set CPSet i ; Calculate CP i The minimum distance DisMin between adjacent pattern units is calculated according to the target scale Scale. t , judge d t and the distance constraint threshold δ dis The size of d t <δ dis , then execute the shift operation module; if d t ≥δ dis , then execute the traversal module; until the set CPSet is traversed, the synthesis process ends; Shift operation module, used for mode CP i Execute the shift operation. If the shift fails, execute the traversal module. If the shift is successful, the merge operation module is executed; The shift operation includes: The building where the pattern unit head end positioning point is located is fixed, and the building where the pattern unit terminal positioning point is located and its displacement-related buildings are subjected to quantitative directional displacement; the displacement operation is withdrawn for the building intersecting with other buildings after displacement, and if the building where the terminal positioning point is located intersects with other buildings, the displacement operation of all buildings is withdrawn; after the displacement is completed, it is determined whether the pattern positioning point remains consistent, and if not, the displacement operation is withdrawn; after the displacement of the building in the pattern unit is completed, the pattern unit is displaced as a whole to maintain the head and end positioning accuracy of the whole pattern; then, it is determined whether the minimum distance between all adjacent pattern units meets the minimum expression distance of the target scale, and if not, the building where the terminal positioning point of the pattern is located is fixed, and the above operation is performed with the building where the head end positioning point is located as the displacement object; Merge operation module, used for mode CP i Execute the merge operation and continue to execute the merge operation module; The merging operation includes: Step 4.1: Construct the Delaunay constrained triangulation of the building complex, and divide the triangles into the following types according to the number of buildings adjacent to the three vertices of the triangle unit: Type I triangle: a triangle adjacent to one building; Type II triangle: a triangle adjacent to two buildings; Type III triangle: a triangle adjacent to three buildings; add type II triangles and type III triangles to the set TS, and execute step 4.2; Step 4.2: Obtain only the associated pattern units U according to the triangle association relationship in TS i The triangle set of the building inside UTS i ; Establish an array list UM of the order of merged buildings, and execute step 4.3; where U i ={Building1,Building2,…,Building j }, complex combination straight line pattern {U1,U2…,U n }; Step 4.3: According to the pattern unit U i corresponding triangle set UTS i determine two adjacent buildings Building i and Building j , where i < j, add the type-II triangles of the associated buildings Building i and Building j to the set TR, search for the shortest side of the associated edges of the triangles in TR, and calculate the on-map length d of the shortest side according to the target scale Scale t , and judge the size relationship between d t and the threshold δ dis ; if d t > δ dis , then the buildings Building i and Building j cannot be merged, and judge the next group of adjacent buildings; if d t ≤ δ dis , then the buildings Building i and Building j need to be merged, and establish an order array [i, j] according to the order of the buildings in the U i set, add [i, j] to UM, remove duplicates from the arrays in UM, and execute Step 4.4; Step 4.4: Take each array array in UM and take the pattern unit U according to array i Adjacent buildings i and Building j , UTS i Related Buildings i and Building j The type II triangles are added to the set TR, the triangles in TR that contain associated edges longer than 1.5*LenMin and do not contain the shortest associated edges are removed, the bridging area Region formed by the triangles in TR is right-angled and recorded, and the triangles in TR are removed from UTS i Delete and add triangles culled from the original bridge area to the UTS i , execute step 4.5; where LenMin represents the length of the shortest side of all triangles in the triangulation network; Step 4.5: Merge all topologically adjacent buildings and bridge areas in each model unit and execute step 4.6; Step 4.6: According to the model unit U i The corresponding triangle set UTS i Identify the "holes" in the pattern unit, calculate the area of ​​each "hole" on the map and compare it with the threshold δ area Make a judgment; if Area>δ area , then add the "hole" to the set H and determine the next "hole"; if Area<δ area , then merge the "hole" with the topologically adjacent buildings; traverse the "holes" h in the set H i , determine the "hole" h formed by the same building in other model units j Whether to be merged, if h j is merged, then h i Merge with topologically adjacent buildings.