A method and device for merging geographic information elements

By adopting a rule-based geographical information element merging method in topographic map drawing, the problems of tedious and low accuracy of the traditional manual merging process are solved, fast and accurate house merging is achieved, and the efficiency and accuracy of topographic map reduction are improved.

CN118229556BActive Publication Date: 2024-08-27BEIJING SUNWAY TECH CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410642907.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-27
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In basic topographic map drawing, the traditional manual process of merging similar features is cumbersome, time-consuming and has low accuracy. Especially in urban housing-dense areas, it is easily affected by personal subjective judgment, resulting in inconsistent results.

Method used

A geographical information element merging method is used to obtain the feature data in the target area data, merge the same feature data and/or different types of feature data according to the rules with at least one attribute as a parameter, and determine the new graph tuple data. The outline of the tuple is merged into the outline of the original object, and its attributes are inherited. The GUI is used to optimize the merging process, and the merging priority and threshold are set to improve accuracy.

Benefits of technology

It achieves fast, efficient, unified and accurate house merging, improves the efficiency and operability of the topographic map reduction process, reduces labor costs, avoids individual subjective effects, and ensures the accuracy and consistency of reduction data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229556B
    Figure CN118229556B
Patent Text Reader

Abstract

The present application discloses a method and device for merging geographic information elements, which solves the problem of large workload and low accuracy in the prior art of manually merging house-like features. A method for merging geographic information elements includes: obtaining feature data in target area data; the feature codes of the same type of feature data are the same; merging the same type of features and / or different types of features according to a rule with at least one attribute as a parameter. The present invention can realize fast, efficient, unified and accurate house merging through computer automatic recognition and processing, and the method can also be reused to further improve the efficiency and operability of the topographic map reduction process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer data processing and geographic information database, and in particular to a method and device for merging geographic information elements. Background Art

[0002] In the field of basic topographic map synthesis and reduction business, when converting a large-scale topographic map to a small-scale topographic map, take the reduction of a 1:500-scale topographic map to a 1:2000-scale topographic map as an example. A standard map sheet is 50 centimeters long and wide, but the scope and content covered in these two scales are different. A 1:500-scale standard map sheet can express an area of ​​0.0625 square kilometers (length and width are 250 meters, i.e. 0.25 kilometers), and a 1:2000-scale standard map sheet can express an area of ​​0.0625 square kilometers (length and width are 250 meters, i.e. 0.25 kilometers). The area of ​​1 square kilometer (length and width are 1 kilometer) is equivalent to the sum of the ranges expressed by 16 standard maps of 1:500 scale. The 1:500 scale topographic map is more detailed. Therefore, when converting to a 1:2000 scale topographic map, that is, when 16 drawings are integrated into one drawing, it is inevitable to involve the integration and selection of land features. Among them, houses belong to buildings and are relatively important. They cannot be simply deleted and merged. It will involve multiple small-area house surfaces and adjacent and similar house surfaces merged into a large area of ​​house surfaces. For example, small-area built houses are merged into adjacent large-area built houses, and narrow corridors are merged into adjacent built houses. In the traditional manual merging process, it is necessary to judge whether adjacent small houses can be merged, such as area, floor difference, concave and convex, spacing and other conditions, and perform manual merging operations. If the operation area is a densely populated area of ​​urban houses and buildings, then this is a tedious and time-consuming task, and the operation is also easily affected by personal subjective judgment. Inconsistent judgment standards lead to inconsistent results. At the same time, the accuracy of merging is also challenging when the area is small, the shape is complex, or the adjacent houses are densely packed. Summary of the invention

[0003] The present application proposes a method and device for merging geographic information elements to solve the problem of large workload and low accuracy in the prior art of manually merging similar land features.

[0004] In a first aspect, an embodiment of the present application provides a method for merging geographic information elements, including:

[0005] Acquire the object data in the target area data; the object codes of the same type of object data are the same; the object data includes the image metadata;

[0006] The data of the same type of features and / or different types of features are merged according to a rule with at least one attribute as a parameter to determine new primitive group data; the outline of the new primitive group data is merged with the outline of the original features and inherits the attribute.

[0007] In one of the embodiments, the parameters of the rule include a first attribute;

[0008] The value of the first attribute is used to determine a second feature to be merged with the first feature; a set range is determined according to the first attribute value of the first feature, and the second feature is a feature element whose value of the first attribute is within the set range;

[0009] Contains steps:

[0010] Determine a merging priority of a first feature and a second feature with a different first attribute value;

[0011] In response to the GUI, the first feature in the target area is merged with features adjacent to it in sequence according to the merging priority.

[0012] In one of the embodiments, the parameters of the rule include a second attribute, and the value of the second attribute is used to limit the scope of the merge;

[0013] Contains any of the following:

[0014] Stop merging multiple features whose sum of the second attribute is greater than a first set threshold;

[0015] A plurality of features whose second attribute differences are less than a second set threshold are merged.

[0016] In one of the embodiments, the parameters of the rule include a third attribute;

[0017] The third attribute is used to determine the proximity of the locations;

[0018] In response to a difference in a third attribute between the two features being less than a third set threshold, the two features are merged; the third attribute is a relationship attribute between the features.

[0019] In one embodiment,

[0020] The first attribute is at least one of the following:

[0021] Floor value: in response to the first attribute being the floor value, the highest floor number of the house in the target area is x, and the merging priority is in the following order: same floor, [1, 2], [2, 3], [3, 4]...[x-1, x], [1, 3], [2, 4], [3, 5]...[x-2, x]...[1, x];

[0022] Building structure strength: in response to the first attribute being the building structure strength, the merging priority is in the following order: same strength, [concrete, mixed], [mixed, brick], [brick, earth], [concrete, brick], [mixed, earth];

[0023] The two values ​​in [] are the first attribute values ​​of the first feature and the second feature respectively.

[0024] In one embodiment, the second attribute is at least one of the following:

[0025] Area: in response to the sum of the merged second attribute values ​​being greater than the first set threshold, the feature stops being merged;

[0026] Layer difference: in response to the difference between the second attribute values ​​of the two features being less than a second set threshold, the two features are merged.

[0027] In one embodiment, the third attribute is at least one of the following:

[0028] feature distance, in response to the feature distance between two features being less than a third set threshold, the two features are adjacent features;

[0029] The set range is such that in response to two features being located in the same set range, the two features are adjacent features.

[0030] In one embodiment, the first feature and the second feature are combined to generate a third feature;

[0031] The third feature inherits the value of the first attribute of the first feature or the second feature, and / or,

[0032] The third feature inherits the feature code of the first feature or the second feature.

[0033] In a second aspect, an embodiment of the present application provides a geographic information element merging device, which is used in the geographic information element merging method described in any one of the embodiments of the first aspect, and comprises: an acquisition module, which is used to acquire the feature data in the target area data; a determination module, which is used to determine the rule of the parameter of at least one attribute; and a merging module, which is used to merge the same type of feature and / or different types of feature data.

[0034] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the first aspect.

[0035] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any embodiment of the first aspect is implemented.

[0036] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0037] The present invention can realize fast, efficient, unified and accurate house merging through computer automatic recognition and processing. Meanwhile, the method can also be repeatedly used to further improve the efficiency and operability of the topographic map reduction process.

[0038] Taking houses as an example, the merging of land features improves work efficiency, reduces labor costs and avoids the subjective influence of individual personnel, while ensuring the accuracy and consistency of the downsizing data, so that no matter how complex the house combination is, it can be merged in priority, supplemented, etc. according to the pre-set rules. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0040] Figure 1 This is a flow chart of a method for merging geographic information elements according to an embodiment of the present application;

[0041] Figure 2 This is a schematic diagram of parameter settings for the same-floor house merging function in an embodiment of the present application;

[0042] Figure 3 This is a comparison diagram before and after the merging of the embodiment of the present application with the coded house;

[0043] Figure 4 This is a schematic diagram of setting parameters for merging layers by floor grouping according to an embodiment of the present application;

[0044] Figure 5 This is a comparison diagram before and after merging the floors in groups according to the embodiment of the present application;

[0045] Figure 6 This is a schematic diagram of merging parameter settings according to the maximum layer number difference in an embodiment of the present application;

[0046] Figure 7 This is a comparison diagram before and after merging according to the maximum layer number difference in the embodiment of this application

[0047] Figure 8 This is a schematic diagram of merging parameter settings between different house surface codes in an embodiment of the present application;

[0048] Fig. 9 This is a comparison diagram before and after merging different house surface codes in the embodiment of the present application;

[0049] Fig.10 A schematic diagram of a method for merging Delaunay triangulation networks according to an embodiment of the present application;

[0050] Fig.11 This is a structural diagram of a geographic information element merging device according to an embodiment of the present application;

[0051] Fig.12 Schematic diagram of the commercial server system for the application scenario of this application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0053] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0054] Figure 1 This is a flow chart of a geographic information element merging method according to an embodiment of the present application, which specifically includes steps: 110 to 140.

[0055] Step 110, acquiring the ground feature data in the target area data; the ground feature data of the same type have the same ground feature code;

[0056] Acquire the object data in the target area data; the object data includes several attributes; the object codes of the same type of object data are the same;

[0057] For example, if the feature is a house-type feature, then the attribute of the feature data is a house attribute.

[0058] The house attributes include building number, house number, unit number, number of floors, building structure (i.e., building strength), area, and distance between houses.

[0059] The building number is the building number. For example, if a residential area has 9 buildings, the building numbers will be given in a certain order, such as Building 1 and Building 2. The number in front is the building number.

[0060] The house numbers are generally numbered according to the streets, on both sides of the road, for example, one side is numbered with odd numbers and the other side is numbered with even numbers, such as No. 1, XX Road, the number 1 is the house number, that is, there may be multiple building numbers corresponding to one house number. For large courtyards, it is not ruled out that there will be multiple house numbers, and the buildings belonging to each house number are arranged according to the building numbers separately.

[0061] The number of floors is the maximum number of floors a house has.

[0062] Building structure (i.e. the strength of the building) includes: concrete, which is concrete structure; mixed, which is a mixed structure of concrete and brick; brick, which is brick structure; and earth, which is earth structure.

[0063] The solidity of buildings gradually decreases from concrete, mixed, brick to earth.

[0064] The area is the floor space of the house from the top view.

[0065] The distance between houses refers to the horizontal distance between the ground areas occupied by different buildings, such as the front-to-back and left-to-right horizontal distance between two buildings in a residential area.

[0066] For another example, the ground feature may also be vegetation, and the attribute of the ground feature data is the vegetation attribute.

[0067] The vegetation attributes include category, area, and spacing.

[0068] The types of vegetation include sparse shrub forest, dense shrub forest, mature forest, young forest, sparse forest, natural grassland, tall grassland, green space, and flower garden.

[0069] Step 120: merging data of similar and / or different types of objects according to a rule with at least one attribute as a parameter to determine new primitive group data;

[0070] The outline of the new primitive group data is a combination of the original feature outlines and inherits the attributes.

[0071] The merging is a change in the data structure and is displayed as a new data result, that is, the data clusters that meet the conditions are merged according to the conditions to re-form a new data cluster, and multiple elements are merged into one. The merging needs to consider the direction of the house edge, and the extension and merging of small areas to large areas. If there is a gap, the topological network is formed between the gaps that meet the conditions to form a regular surface area merger, and new attribute values ​​are assigned according to the conditions to form a new data cluster for display.

[0072] The data cluster is data belonging to a feature code and describing the feature.

[0073] The feature data cluster structure includes associated display control codes and static description data. The static description data includes various attribute values ​​and primitive group information; the display control code is used to drive the display module, and the display module compiles the display control code into executable commands. The display control code is expressed according to the set syntax and can be edited and input through the GUI, which includes control words that act on the display. When the feature data cluster is called, the editing module reads the primitive group information in the data cluster, and after the primitive group information is edited in the GUI, a new display control code can be generated.

[0074] The object data in the target area data includes graphic element data; the same type of objects and / or different types of object data are merged according to a rule with at least one attribute as a parameter. The graphic element data are merged to determine new graphic element group data; the outline of the new graphic element group data is merged with the original object outline and inherits the at least one attribute.

[0075] The features before merging have their own codes, category attributes and metadata;

[0076] The metadata includes contour lines (i.e. contour range and area). After merging, the contour lines change, i.e. the area changes.

[0077] The merged codes are merged and the properties are inherited according to the preset conditions.

[0078] The contour data of the merged data cluster is changed to the merged contour data. The attribute data inherits one of the merged features according to the preset conditions.

[0079] In one embodiment, the ground objects are merged to form a new contour, which specifically includes the steps of:

[0080] Determine the positional relationship of the two merged features; the positional relationship includes intersection, distance and connection;

[0081] Select any of the following methods based on the location relationship:

[0082] In response to the positional relationship being an intersection or connection, obtaining the maximum contour surface after the two objects are merged and redrawing to form a complete object surface;

[0083] Two adjacent feature surfaces are merged. According to the range of the two feature surfaces, the relationship between the two features includes intersection, distance and connection;

[0084] The intersection is the overlapped part of two features;

[0085] For example, one building is on the ground and another building is underneath, and there is some overlap between the two buildings, which is the intersection.

[0086] The merging method is to obtain the maximum contour surface according to the recorded range and redraw the outermost periphery to form a ground surface.

[0087] The term "connected" means "close to each other", that is, the edges of the faces are completely adjacent to each other, which can be considered as seamless connection, or called common edge face features.

[0088] For example, two houses have a common wall, or two adjacent rooms in a building.

[0089] The merging method is to obtain the maximum contour surface according to the recorded range and redraw the outermost periphery to form a ground feature surface;

[0090] In response to the positional relationship being a distance, a new contour of the two objects is generated by establishing a triangulated network.

[0091] The distance between faces can be divided into two situations:

[0092] One is that there is no common edge, but the distance between them is very close within the set spacing limit;

[0093] The other type is where faces are separated by other features, such as walls, roads, etc. Although they are very close to each other, they cannot be treated as the same unit for cartographic synthesis, and the two separated sides need to be synthesized separately.

[0094] The new feature surface formed by merging intersecting or connected features is a feature with a new outer contour range while inheriting the original independent inner contour range.

[0095] The inner contour is the outer contour of the part that is set within the surface of the feature and does not belong to the feature.

[0096] If two features are far apart, that is, there is a gap between the features, the contour lines can be merged to generate a new contour through the triangulation network.

[0097] The objects are meshed in pairs by the set merging distance, such as the distance of the third attribute object position mentioned above. The mesh patterns are formed into new surfaces to participate in the merging.

[0098] Further preferably, for example, if the two objects are buildings, the triangulated network type is preferably a right angle (ie, perpendicular to the opposite sides of the two objects).

[0099] For example, the processing of gaps between objects at different levels is mainly used to automatically compensate for the gaps between low-level surfaces and high-level surfaces with topological relationships. In this process, the high-level surface is used as a fixed surface, and the low-level surface is processed. The algorithm principle takes the processing of gaps between vegetation surfaces and road surfaces as an example: first, the shortest distance between the vegetation surface and the surrounding road surface is found point by point. If the shortest distance is within the limit, a connecting line segment is generated. Then the target vegetation surface, related road surfaces and the newly generated connecting line segments are brought together for topological surface construction. The topological surfaces are then sorted to find all topological surfaces that share edges with the target vegetation surface and whose reduced width is within the limit, that is, gap surfaces. These gap surfaces and target vegetation surfaces are merged to obtain the final processing result.

[0100] In one embodiment, the parameter of the rule includes a first attribute. The value of the first attribute is used to determine a second feature to be merged with the first feature. A set range is determined according to the value of the first attribute of the first feature, and the second feature is a feature element whose value of the first attribute is within the set range;

[0101] In one embodiment, multiple features with the same first attribute value are merged first, and multiple features with different first attribute values ​​are merged according to a set priority to form an iterative merger.

[0102] In one embodiment, multiple features whose first attribute values ​​are within a set range are merged first, and multiple features whose first attribute values ​​are not within the same set range are merged according to the set priority to form an iterative merger.

[0103] In one embodiment, the method further comprises steps 120A-C:

[0104] Step 120A, determining a merging priority of the first feature and the second feature with a different first attribute value;

[0105] In response to the GUI, the first feature in the target area is merged with features adjacent to it in sequence according to the merging priority.

[0106] For example, the first attribute includes the total number of floors or the strength of the building structure;

[0107] Houses with the same first attribute value are merged with each other first priority. Arrange and combine all first attribute groups of the first feature and the second feature; each first attribute group contains the first attribute of the first feature and the first attribute of the second feature. And determine the order according to the merging priority.

[0108] For example, the first attribute is at least one of the following:

[0109] Floor value: in response to the first attribute being the floor value, the highest floor number of the house in the target area is x, and the merging priority is in the following order: same floor, [1, 2], [2, 3], [3, 4]...[x-1, x], [1, 3], [2, 4], [3, 5]...[x-2, x]...[1, x];

[0110] Figure 2 This is the parameter setting for the "same floor" house merging function, that is, the parameter setting for merging houses on the same floor. In the floor grouping of the parameter setting, enter [x], that is, only houses with the same first attribute (that is, the same floor) are merged.

[0111] like Figure 3 As shown in the comparison chart before and after the merger of houses with the same code, the adjacent houses on the 2nd floor have been merged, and the 2nd and 3rd floors are not merged because they have different numbers of floors and are not within the parameter setting conditions.

[0112] It should be noted that the numbers on the top view of the house in the figure are the number of floors, specifically the highest floor number of the house. The role of the numbers in the subsequent figures of this application is the same as Figure 3 same.

[0113] If the floors of the houses in the target area are not uniform, the parameter settings can be merged step by step by grouping by floors, such as Figure 4 As shown, the houses are arranged and combined by the number of floors, and are merged in the order of front and back. If the former no longer meets the conditions for merging after merging, they will not be merged any further. If the merged houses still meet the conditions for merging, they will continue to be merged. In the parameter setting for merging houses of different floors, the numbers of the merged floors are entered in the order of priority in the floor grouping of the parameter setting. For example, [1,2] is placed at the front in the figure, which means that the buildings with 1 floor and the buildings with 2 floors of house-type features have higher priority than other floors, and so on.

[0114] For example, buildings on the same floor have a higher priority than buildings on different floors. Figure 5 As shown in the figure, the comparison chart before and after the merging of floors is shown. After the 2nd and 3rd floors are merged, the minimum merging area limit has been exceeded and they will no longer be merged with the 4th floor. The 2nd and 7th floors are not within the merging setting parameter conditions and will not be merged.

[0115] Specific mergers such as Figure 2 and Figure 3 As shown, for example, the order is as follows: [1, 2], [2, 3], [3, 4] ... [x-1, x], [1, 3], [2, 4], [3, 5] ... [x-2, x] ... [1, x].

[0116] For example, a 2-story house-like feature is merged before the house-like features on the same floor, followed by the 1-story house-like features, then the 3-story house-like features, and so on.

[0117] Similarly, the first attribute is the strength of the building structure, the strength of the building structure: in response to the first attribute being the strength of the building structure, the merging priority is in the following order: the same strength, [concrete, mixed], [mixed, brick], [brick, soil], [concrete, brick], [mixed, soil];

[0118] Furthermore, house-like features with the same building material (i.e., the strength of the building structure) have a higher priority in merging than house-like features with different building materials.

[0119] The two values ​​in [ ] in the above embodiments of the number of floors and the strength of the building structure are respectively the first attribute values ​​of the first feature and the second feature.

[0120] For another example, when merging multiple vegetation features, they can be merged according to categories, areas, and spacings. They can be merged in combination or individually. Therefore, any of the above attributes can be set as the first attribute.

[0121] Step 120B: determine the variation range of the second attribute values ​​of the merged plurality of features.

[0122] In one of the embodiments, the parameters of the rule include a second attribute, and the second attribute is used to limit the scope of the merge.

[0123] Contains any of the following:

[0124] Stop merging multiple ground object data clusters whose sum of the second attribute is greater than a first set threshold;

[0125] A plurality of ground feature data clusters whose second attribute differences are less than a second set threshold are merged.

[0126] In one embodiment, the second attribute is at least one of the following:

[0127] Area: in response to the area of ​​the merged feature being greater than a first set threshold, the feature stops being merged;

[0128] For example, in one embodiment, the second attribute is area, and in response to the area of ​​the merged first-category feature data being greater than a first set threshold, the feature stops being merged.

[0129] For example, the second attribute is the area of ​​the house. Since the area attribute of the house-type features after merger becomes larger, and the area of ​​the house-type features is too large, it is not conducive to the beauty and accuracy of the map. Therefore, a first set threshold is set to limit the maximum value of the area. When the area of ​​the house-type features after merger is greater than the first set threshold, it is considered that it is not suitable for merger with other house-type features again.

[0130] For example, the first set threshold is 50 square meters, the area of ​​house-type feature No. 1 is 20 square meters, the area of ​​house-type feature No. 2 is 20 square meters, and the area of ​​house-type feature No. 3 is 20 square meters. After house-type features No. 1 and No. 2 are merged, the total area is 40 square meters, which is less than the first set threshold. It is considered that they can be merged with house-type feature No. 3. After the three house-type features are merged, the total area is 60 square meters, which exceeds the first set threshold, and the merging is stopped.

[0131] Layer difference: in response to the layer difference between the two objects being less than a second set threshold, the two objects are merged.

[0132] In one embodiment, the third attribute is a location of a feature, and in response to a feature distance between two first-category features being greater than a second set threshold, the two first-category features are not merged.

[0133] For another example, the second attribute is the number of layers. In response to the difference in the number of layers between two first-category features being greater than a second set threshold, the two first-category features are not merged.

[0134] Furthermore, the second attribute may also include area, building number, house number, etc.

[0135] For example, if the area difference is less than a certain set threshold, the images are merged.

[0136] For another example, if the difference in the number of digits or serial numbers between the building number and the house number is less than a certain set threshold, they are merged.

[0137] It should be noted that since the building numbers and house numbers cannot be compared in size, you can choose to sort them according to the building numbers and house numbers, and determine the second set threshold according to the interval in the sequence. For example, set N as the second set threshold, and two first-category features with a building number interval greater than N will not be merged.

[0138] For another example, it can be a cross-coding merge of multiple vegetations, or it can respond to GUI control of the merged objects, and it can also control the maximum area of ​​the merged vegetation, using the area attribute as the second attribute. If it exceeds the set threshold, the merge will not be performed. From the perspective of cartographic synthesis, the efficiency of automatic processing is improved.

[0139] In one embodiment, the parameters of the rule include a third attribute. The third attribute is used to determine the location proximity;

[0140] In response to a difference in a third attribute between the two features being less than a third set threshold, the two features are merged; the third attribute is a relationship attribute between the features.

[0141] In one embodiment, the third attribute is at least one of the following:

[0142] feature distance, in response to the feature distance between two features being less than a third set threshold, the two features are adjacent features;

[0143] The third set threshold is the maximum value of the distance between houses that meets the merging standard. Only houses with a distance less than the third set threshold meet the merging standard. Two house-like features that are too far apart are not suitable for merging.

[0144] The set range is such that in response to two features being located in the same set range, the two features are adjacent features.

[0145] The same set range may be a range selected artificially, or may be a set range based on a cell or an arbitrarily divided interval. Features of the same type or different types within this range may be regarded as adjacent features.

[0146] For example, the first type of feature is a floor, and the third attribute is the floor difference between two first type features. Since house-type features with a large floor difference are not suitable for merging, a second set threshold is set to determine a floor difference. Two house-type features whose distance meets the merging criteria cannot be merged if their floor difference is greater than the third set threshold.

[0147] like Figure 6 As shown, the parameter setting for merging is based on the maximum difference in the number of floors, that is, the parameter setting for merging adjacent houses when the difference in the number of floors is not greater than this value. If the house surface after the first merger does not meet the conditions for continued merging, such as the minimum area setting, it will no longer be merged. If it still meets the conditions for merging, it will continue to be merged.

[0148] like Figure 7 As shown, the comparison chart before and after merging according to the maximum layer number difference is shown. Figure 7 The layer difference is set to 4, and 6 and 8, 5 and 6 are within the merging conditions and are merged first, while 2 and 7, with a layer difference of 5, will not be merged if it is greater than 4.

[0149] Step 120C: Merge similar and / or different types of features using a rule with at least one attribute as a parameter.

[0150] The merging is a change in the data structure and is displayed as a new data result, that is, the data clusters that meet the conditions are merged according to the conditions to re-form a new data cluster, and multiple elements are merged into one. The merging needs to consider the direction of the house edge, and the extension and merging of small areas to large areas. If there is a gap, the topological network is formed between the gaps that meet the conditions to form a regular area and then merged. After assigning new attribute values ​​according to the conditions, a new data cluster is formed for display.

[0151] The data cluster is data belonging to a feature code and describing the feature.

[0152] It should be noted that the merged third feature is merged with other features using the iterated data.

[0153] For example, after iteration, the merged house-type features are judged according to the new attributes whether to be merged with other houses. For example, the distance between house-type feature No. 1 and house-type feature No. 2 is less than the first set threshold, the distance between house-type feature No. 1 and house-type feature No. 3 is greater than the first set threshold, and the distance between house-type feature No. 2 and house-type feature No. 3 is less than the first set threshold, then after the merging of house-type feature No. 1 and house-type feature No. 2, it is considered that the distance between the merged house-type feature and house-type feature No. 3 is less than the first set threshold, which meets the merging criteria, and so on.

[0154] Step 130: Determine the attribute value of the merged feature data cluster.

[0155] In one embodiment, the first feature and the second feature are combined to generate a third feature;

[0156] The third feature inherits the value of the first attribute of the first feature or the second feature, and / or,

[0157] The third feature inherits the feature code of the first feature or the second feature.

[0158] In response to the first attributes of the first feature being different from the first attributes of the second feature, the first attribute of the merged third feature is inherited from the feature with a larger area before the merger.

[0159] For example, when the first feature and the second feature are merged, and the area attribute of the first feature is greater than that of the second feature, the first attribute of the merged house-type feature is inherited from the first feature.

[0160] In the above figure, the merged features have inherited the properties of the features with larger areas before the merger. For example, a 2-story house is merged with a 3-story house, and the area of ​​the 2-story house is smaller than that of the 3-story house. Then the properties of the merged larger house will be inherited according to the 3-story house with larger area.

[0161] For example, the first attribute of a house is the number of floors. After houses with different numbers of floors are merged, the number of floors attribute of the house is difficult to confirm. Therefore, the number of floors attribute of the house with a larger area among the two merged houses is selected as the number of floors attribute of the merged house.

[0162] When multiple houses that meet the merging criteria are merged, they can be merged separately in order, and the inheritance of the first attribute is judged once each time until multiple houses are merged, or the second attribute of the houses reaches the set threshold, and the merging is stopped.

[0163] For example, if two 2-story houses are adjacent, the merging plan will be prioritized, that is, 2 and 2 will be merged first, and after the merger, a new 2-story house will be formed. Then a judgment will be made, and if the conditions are met, the merging will continue, otherwise the merging will be stopped. If the two 2-story houses do not meet the adjacent merging conditions, but are close or adjacent to the 3-story houses respectively, they will be judged and merged separately.

[0164] After multiple houses are completely merged, you can also select the area ratio of each floor of the houses, and select the floor number of the house with the largest area ratio as the floor number attribute of the merged feature.

[0165] In one embodiment, the feature codes of the merged first feature and the second feature are the same;

[0166] In another embodiment, the feature codes of the merged first feature and the merged second feature are different.

[0167] like Figure 8 As shown, the merging parameter settings between different house surface codes do not necessarily only process the merging of the same codes in the topographic map reduction. For the house type, the ancillary buildings with narrow surroundings of the house can also be regarded as the same as the house and handled in the same way, such as balconies, corridors, etc.

[0168] For example, the second attribute is smaller than a fourth set threshold, that is, an area threshold set for ancillary buildings, and ancillary buildings with an area smaller than the fourth set threshold participate in the merging of house-type features.

[0169] It should be noted that the feature codes of the first category features are different from those of the second category features.

[0170] The feature code:

[0171] For example, the house code represents the type of house. Therefore, the house code of a house-type feature is different from the house code of an ancillary building. The type of the feature can be determined through different codes.

[0172] It should be noted that the house code can also be used as the first attribute in the sorting.

[0173] The coding is to treat each type of land feature as an object. For example, the house coding described in this application, the codes of the same type of land features are the same. For example, the houses in the community are all built houses, and there is only this one code, that is, the house code of the house-type land features described in this application. House buildings include sheds, simple houses, corridors, etc. Each type corresponds to a unique code to distinguish them. Therefore, the code is also an attribute value for merged judgment, which can be merged with the same code or merged across codes.

[0174] For example, Fig. 9 As shown, if the first attribute is the width of the feature, the corridors whose maximum width is less than the fifth set threshold are considered to meet the width condition, and the corridors that meet the width condition are merged, while those that do not meet the width condition are not merged.

[0175] In one embodiment, the feature merging specifically comprises the steps of:

[0176] Get the shortest distance and perpendicular foot of the merged features;

[0177] Construct Delaunay triangulation network and perform mesh selection and elimination;

[0178] Merge the objects when the shape change is less than the set threshold.

[0179] For example, this application combines houses with spacing between them. The merging of houses is not a simple fusion of faces, but a multiple condition judgment based on the shortest distance, perpendicular foot, etc., to construct a Delaunay triangulation network, screen and eliminate the mesh types, and merge them on the basis of least impact on the shape change of the objects.

[0180] Regarding the merging method of Delaunay triangulation, such as Fig.10As shown, the merging process is to construct a triangulated network 101 between the faces. If it is set to 1 meter, the nodes are interpolated at 1 meter to construct the triangulated network. A new face domain is formed through a closed triangulated network. Finally, a new face domain is recreated along the periphery of the entire face domain and the attributes are inherited.

[0181] The method described in this application is applicable to the automatic merging of houses when the basic geographic information data of 1:500 scale is reduced to basic geographic information data of multiple scales such as 1:1000, 1:2000, 1:5000, 1:10000, etc., that is, it is applicable to the conversion of large scale to small scale. Its specific technical embodiment includes: it can realize the merging of the same house code or different house codes; it can realize the flexible parameter setting of the merging interval; it can realize the parameter setting of the merging ground feature code; it can realize the orderly merging of houses by floor, by floor group or by the priority conditions of the arrangement and combination method; it can realize the on-demand merging of the merged houses according to the conditions such as the maximum area, the maximum floor difference, the maximum area difference, etc.; it can realize the merging of specified attribute groups according to the needs of users; it can realize the direct merging of houses, the step-by-step merging or the merging according to the rule of merging by the maximum floor height; it can realize the acquisition of new parameterized settings for the new attributes of the merged houses, such as attribute inheritance according to the maximum area and the highest number of floors.

[0182] Fig.11 A structure diagram of a geographic information element merging device is also provided for the application embodiment, which is used to implement the geographic information element merging method described in any embodiment of the first aspect, comprising:

[0183] The geographic information database / result map database 110 is used to store the ground object data before and after synthesis in the target area.

[0184] The acquisition module 111 is used to acquire the ground object data in the target area data.

[0185] The determination module 112 is configured to determine a rule of a parameter of at least one attribute.

[0186] In one of the embodiments, the determination module includes a first determination unit configured to determine a first attribute.

[0187] In one of the embodiments, the determination module includes a second determination unit for determining a second attribute.

[0188] In one of the embodiments, the determining module comprises a third determining unit, which is used to determine a third attribute, and the third attribute is used to determine the position is adjacent;

[0189] In one of the embodiments, the first determining unit is further configured to determine a second feature to be merged with the first feature according to the first attribute.

[0190] In one of the embodiments, the second determining unit is used to limit the scope of merging according to the second attribute.

[0191] In one of the embodiments, the third determining unit is used to determine adjacent features according to the third attribute.

[0192] In one embodiment, the determining module comprises an attribute inheritance unit for determining that the synthesized third feature inherits the value of the first attribute of the first feature or the second feature, and / or,

[0193] The third feature inherits the feature code of the first feature or the second feature.

[0194] The difference between the merged and unmerged display effects:

[0195] The merging module 113 is used to merge the same type of objects and / or different types of objects.

[0196] Before merging, the static description data and display control code of each feature are independent. After merging, the static description data and display control code of the feature are merged separately.

[0197] Furthermore, it also includes a display module 114, which is used to display the merged feature map.

[0198] When the features are not merged, they have independent outlines when displayed.

[0199] After merging, the outer contour lines of the displayed features are merged into one.

[0200] For example, Figure 3 As shown, when not merged, the number of floors of each feature is used as the value of the first attribute and is stored in the static description data of each feature, and the static description data drives the respective display control codes to display independently. After merging and displaying, the number of floors is unified and stored in the static description data of the merged feature, and the display control code is driven by the merged static description data to display.

[0201] For example, Figure 5 As shown, before the objects are displayed together, the values ​​of the first attributes of the objects may be different. After the objects are displayed together, the static description data of the first attributes of the objects are stored according to a unified standard. The second attributes of the objects are accumulated together.

[0202] Fig.12 Schematic diagram of the commercial server system for the application scenario of this application.

[0203] An embodiment of the present application also proposes a geographic information data processing system for implementing the method described in any embodiment of the present application, including: an original geographic information database 121, a data processor 122, a GUI operation interface 123, an application terminal 124, and at least one result map data set 125.

[0204] The original geographic information database is used to store geographic information entity data.

[0205] The GUI operation interface and / or application terminal is used to input setting conditions. Trigger the acquisition module, determination module, merging module or display module. It is also used to access the result data set according to the set application scope (spatial scope and attribute scope) to acquire data. The data processor, in response to the instruction of the GUI, acquires the ground object data in the target area data; merges the ground object data of the same type and / or different types according to the rule with at least one attribute as a parameter to determine the new primitive group data; the outline of the new primitive group data is merged with the original ground object outline, and inherits the attribute.

[0206] The achievement map dataset is used to store geographic information related data.

[0207] It should be understood that the above-mentioned specific related contents are only used for illustrative purposes and should not impose any limitation on the present application.

[0208] The specific method for implementing the functions of the above-mentioned modules is as described in the various method embodiments of the first aspect of the present application, and will not be repeated here.

[0209] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0210] Therefore, the present application also proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present application is implemented.

[0211] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0212] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0213] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0214] Furthermore, the present application also proposes an electronic device (or computing device), comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0215] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0216] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0217] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for merging geographic information elements, characterized in that: include: Acquire the ground object data in the target area data; The feature codes of the same type of feature data are the same; The ground feature data includes graphic element data; Merging data of similar and / or different types of objects according to a rule with at least one attribute as a parameter to determine new primitive group data; The outline of the new primitive group data is a merge of the original object outlines; The parameters of the rule include a first attribute; the value of the first attribute is used to determine a second feature to be merged with the first feature; the second feature is a feature element whose value of the first attribute is within a set range; The first feature and the second feature are combined to generate a third feature; The third feature inherits the value of the first attribute of the first feature or the second feature, and the third feature inherits the feature code of the first feature or the second feature.

2. The method for merging geographic information elements according to claim 1, characterized in that: Contains steps: Determine a merging priority of a first feature and a second feature with a different first attribute value; In response to the GUI, the first feature in the target area is merged with features adjacent to it in sequence according to the merging priority.

3. The method for merging geographic information elements according to claim 1, characterized in that: The parameters of the rule include a second attribute, and the value of the second attribute is used to limit the scope of the merge; Contains any of the following: Stop merging multiple features whose sum of the second attribute is greater than a first set threshold; A plurality of features whose second attribute differences are less than a second set threshold are merged.

4. The method for merging geographic information elements according to claim 1, characterized in that: The parameters of the rule include a third attribute; The third attribute is used to determine the proximity of the locations; In response to a difference in a third attribute between the two features being less than a third set threshold, the two features are merged; the third attribute is a relationship attribute between the features.

5. The method for merging geographic information elements according to claim 2, characterized in that: The first attribute is at least one of the following: Floor value: in response to the first attribute being the floor value, the highest floor number of the house in the target area is x, and the merging priority is in the following order: same floor, [1, 2], [2, 3], [3, 4]...[x-1, x], [1, 3], [2, 4], [3, 5]...[x-2, x]...[1, x]; Building structure strength: in response to the first attribute being the building structure strength, the merging priority is in the following order: same strength, [concrete, mixed], [mixed, brick], [brick, earth], [concrete, brick], [mixed, earth]; The two values ​​in [] are the first attribute values ​​of the first feature and the second feature respectively.

6. The method for merging geographic information elements according to claim 1, characterized in that: The parameters of the rule include a second attribute, and the second attribute is at least one of the following: Area: in response to the sum of the merged second attribute values ​​being greater than the first set threshold, the feature stops being merged; Layer difference: In response to the difference between the second attribute values ​​of two features being less than a second set threshold, the two features are merged.

7. The method for merging geographic information elements according to claim 1, characterized in that: The parameters of the rule include a third attribute, and the third attribute is at least one of the following: Object distance: in response to the object distance between two objects being less than a third set threshold, the two objects are adjacent objects; Set range: In response to two features being located in the same set range, the two features are adjacent features.

8. A geographic information element merging device, characterized in that: The method for implementing the geographic information element merging method according to any one of claims 1 to 7 comprises: An acquisition module is used to acquire the ground object data in the target area data; A determination module for determining a rule for a parameter of at least one attribute; The merging module is used to merge data of the same type of objects and / or different types of objects.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Pattern spot merging method for maintaining structured ground object contour characteristics

    CN110176018A

  • Interpretable remote sensing image ground object classification method combining deep data learning and ontology knowledge reasoning

    CN111428762A

  • Spark-based high-performance calculation method for result flow of massive second-third dispatch data

    CN112562040A

  • Basic geographic element automatic shrinking method

    CN117391940A

  • Image processing device, image processing method, and program

    JP7456385B2