An automatic processing method for boundary jump drawing
Through the overlay analysis method and adaptive segmentation mode, the realm jump drawing is optimized, which solves the problems of inaccurate extraction and lack of ductility of the jump drawing area in the existing technology, improves the aesthetics and efficiency of the jump drawing line, and directly analyzes the geographical data. operation, significantly improving map production efficiency.
Patent Information
- Application Number
- CN202410331376.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-03-22
AI Technical Summary
The state jump drawing method in the prior art has problems such as inaccurate extraction of the jump drawing area, lack of recognition mode, jump drawing segmentation to be optimized, and lack of ductility, resulting in unsightly drawing jump results and low efficiency.
The overlay analysis method is used to extract the boundary lines of the intersecting parts. By eliminating false jump areas and intermittent jump areas, the jump segmentation mode is adaptively calculated based on different jump modes, the length of the blank arc segment is adjusted, and a smoothing algorithm is used to The jump line transitions naturally to achieve a smooth connection between the jump line and the non-jump line.
It improves the aesthetics and readability of the jump drawing results, realizes the ductility of the jump drawing lines, enhances the visual effects and production efficiency of the map, directly operates on the geographical data without the participation of cartographers, and significantly improves the mapping efficiency.
Smart Images

Figure CN118154720B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of cartography, and in particular to an automatic processing method for boundary jump drawing. Background Art
[0002] Boundary lines are important content in maps and are also the most vivid and intuitive elements in expressing the territory. In reality, we often encounter situations where linear features such as rivers, roads, and the Great Wall are used as boundaries, and the corresponding boundary line data and linear feature data are overlapped. When expressing a map, in order to accurately and clearly express the spatial position and relationship between the boundary line and the linear feature, it is necessary to jump draw the boundary line symbol.
[0003] There are currently two ways to jump to the borderline:
[0004] One is center jump drawing: on a larger scale topographic map, some river and road symbols can accommodate boundary symbols. In this case, the boundary symbols are drawn continuously at the center of the linear feature symbols.
[0005] The other is the two-side jump drawing: as the scale becomes smaller, some rivers and roads on the map become narrower and gradually become a single line. At this time, the boundary symbols are drawn alternately on both sides of the linear features.
[0006] The former method is relatively simple and easy to automate. The latter method is currently mainly implemented through human-computer interaction. The specific steps are:
[0007] Step 1: Determine the cycle unit block: Draw the boundary line symbol according to the unit cycle configuration method ( Figure 1 (a)) to extract the minimum cycle unit block of the boundary line ( Figure 1 (b)), define the length of the minimum cycle unit as the jump step length, set to L 跳 .
[0008] Step 2: Extract common lines: Extract the common lines L based on the spatial position relationship between the boundary line and the linear features.
[0009] Step 3: Determine the jump drawing type: Calculate the length threshold of the collinear L. If L<2L 跳 , then the segment should be drawn using a single-side jump; if L>2L 跳 , then the collinear line should be drawn by skipping on both sides.
[0010] Step 4: Segmentation: Segment the collinear lines according to the jump-drawing step length. Each collinear line is composed of jump-drawing arc segments and blank arc segments ( Figure 1 (c)).
[0011] Step 5: Numbering and direction marking: Number the segmented jump arc segments and blank arc segments. If the jump arc segments are on both sides, mark them as "left jump", "right jump", "blank" according to the odd or even number. Figure 1 (d)).
[0012] Step 6: Construct parallel lines: Based on the marks "left jump", "right jump", and "blank", Figure 1 As shown in (e), parallel lines in corresponding directions are constructed according to the interval d between the boundary line symbol and the linear feature symbol.
[0013] However, the jump drawing results in the above prior art have the following shortcomings:
[0014] (1) Inaccurate extraction of jump drawing area
[0015] In previous studies, the extraction of jump-drawn areas was mostly handled according to the data overlap situation. Due to the differences in data sources, accuracy and timeliness, boundary data and linear features may not be completely consistent. The two may be separated or intersecting. Figure 2 This problem must be taken into account in the process of extracting the jump drawing area, otherwise it will affect the overall effect of the jump drawing. Although some studies have made buffers according to certain thresholds, the threshold settings are not reasonable and cannot be customized according to the data conditions, resulting in insufficient results.
[0016] (2) Jump drawing segmentation needs to be optimized
[0017] Since the jump line L is based on the jump step length L 跳 If the segment is intercepted, the length of the last jump symbol segment or jump blank segment will be inconsistent with the length of the previous jump symbol segment or jump blank segment. Figure 1 (d)). If this happens, the jump line L needs to be re-segmented for aesthetics and consistency. The re-segmented common line includes 4 jump symbol segments and 3 jump blank segments, such as Figure 3 As shown in the figure, the length of the jump symbol segment is consistent with the previous segment, while the jump blank segment is based on the length threshold (L-4L 跳 ) / 3 readjust to achieve balanced and beautiful cartographic expression requirements.
[0018] (3) Lack of recognition pattern
[0019] In the existing research on boundary jump mapping methods, most of them focus on a certain link or a certain aspect, and there is no more comprehensive and systematic method. For data with complex morphology, its particularity should be taken into account. Although the existing map making methods and technologies are developing rapidly, the effective methods of graphic recognition by professional cartographers have not been fully incorporated into boundary jump mapping. The different mode requirements of the whole boundary line jump mapping have not been considered from a global perspective, and only repeated lines have been explored one-sidedly, such as Figure 4 (a), the unjumped boundary line and the jumped boundary line will be on the same side, which cannot meet the jump drawing requirement of boundary jump drawing that best crosses linear features. If different jump drawing modes can be correctly detected, the parameters can be adjusted according to different modes to handle the overall relationship between the segmented jump drawing line and the boundary line. How to extract the jump drawing area and determine the jump drawing mode from the complex boundary data is an important condition for correctly realizing boundary jump drawing, but no research has been done on this in the prior art.
[0020] (4) Lack of ductility
[0021] The jump lines drawn according to the jump symbol segments and jump direction are all "translated" based on a certain distance threshold, which will cause the "translated" jump symbol segments to be out of touch with the original boundary line ( Figure 4 (b)) Its morphological expression is not beautiful and too rigid. How can we make the transition natural and smooth so that the boundary line across the linear features has ductility? Figure 4 (c)) is a very important technical method for realm jumping.
[0022] Therefore, in view of the shortcomings of the existing automatic jump drawing, it is necessary to design an automatic processing method for boundary jump drawing to improve work efficiency. Summary of the invention
[0023] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an automated processing method for boundary jump mapping, which integrates mapping specifications and actual mapping needs, starts from the actual data situation, targets the shortcomings of existing automatic jump mapping, directly operates on geographic data, and does not require cartographers to participate in collaboration. The mapping results have good visualization effects, which greatly improves work efficiency.
[0024] In order to achieve the above object, the present invention provides an automated processing method for realm jump drawing:
[0025] The following steps are involved:
[0026] S1, jump line extraction: extract and traverse the boundary line and linear feature data, establish a buffer zone according to the given width, obtain the intersection of two types of buffer zones through spatial relationship, and use the overlay analysis method to extract the internal boundary line of the intersection;
[0027] S2, optimization of jump drawing area:
[0028] S2-1, exclude pseudo-jumping areas: identify the jumping areas where the angle between the boundary line and the linear features is large in the local range, and the length of the boundary line projected onto the linear features and the length of the boundary line itself vary greatly, and exclude them from the jumping processing range;
[0029] S2-2, connecting the broken jump drawing areas: connecting the intermittent initial jump drawing areas obtained according to the set threshold;
[0030] S3, jump drawing area segment:
[0031] S3-1, determine the same side and opposite side:
[0032] According to the spatial relationship between the undrawn boundary line and the linear features, determine whether it is the same-side jump drawing or the opposite-side jump drawing;
[0033] S3-2, determine the segmentation mode:
[0034] According to the length L of the jump segment and the length d of different types of boundary line symbols, the length L of the jump arc segment 跳 and the length of the blank arc segment L 空 Determine the jump drawing segmentation mode. The step length of the independently drawn jump drawing segment is generally 2d≤L 跳 ≤5d, and L 跳 The length of L must be an integer multiple of d. 跳 The initial value of L is 2d, 空 The value is 0 to 1 times L 跳 . Use the corresponding method to calculate L in different modes 跳 The length of the segment, the number of segments N, and the adjusted blank segment length L 空 ;
[0035] S3-2-1, long jump drawing area on the same side:
[0036] When the jump drawing area length L≥(3L 跳 +2L 空 ), that is, when L ≥ 6d, it can be defined as a long collinear area.
[0037] Assume the total arc length of the jump drawing area is L, and the maximum jump drawing step length is L 跳max =5d, then the minimum number of segments is m=ceil(L / L 跳max ), segment type n = ceil((m-1) / 4), initial segment number N = 4n+1 (n of the jump arcs are jump arcs on the same side, and n+1 are jump arcs on the opposite side), jump arc step length L 跳 =d*int(L / Nd), if L 跳 ≤2d, then L 跳 =2d;
[0038] S3-2-2, short jump drawing area on the same side:
[0039] When the jump drawing area L 跳 ≤L<3L 跳 That is, when 2d≤L<6d, the blank arc segment + skipped arc segment + blank arc segment are defined as the same-side short skipped area. This type is quite special, with a blank arc segment crossing a linear feature. This skipped arc segment is summarized as: 1 skipped arc segment (1 on the opposite side) + 2 blank arc segments, N = 3, L跳 =2d.
[0040] S3-2-3, very short same-side jump drawing area
[0041] When the length of the jump-drawing area L≤2d, the jump-drawing segment is composed of blank arc segments only. Since this type is similar to mode 2, both use blank arc segments to cross linear features, this jump-drawing arc segment is summarized as: 1 blank arc segment, N=1.
[0042] S3-2-4, long jump drawing area on the opposite side:
[0043] When the jump drawing area length L≥(2L 跳 +L 空 ), that is, when L≥4d, its skipped arc segments are summarized as 2n (n≥1) skipped arc segments (n on the same side + n on the opposite side) + (2n-1) blank arc segments.
[0044] Assume the maximum jump step length L 跳max =5d, then the minimum number of segments m = ceil(L / L 跳max ), segment type n = ceil((m+1) / 4), initial segment number N = 4n-1 (2n jump arcs (n same side + n opposite side) + (2n-1) blank arcs), jump arc step length L 跳 =d*int(L / Nd), if L 跳 ≤2d, then L 跳 =2d.
[0045] S3-2-5, short jump drawing area on the opposite side:
[0046] When the jump drawing area length L 跳 ≤L<(2L 跳 +1L 空 ) length, that is, when 2d≤L<4d, the jump arc segments are: 2 jump arc segments (2 on the opposite sides) + 1 blank arc segment, N=3.
[0047] In this mode, since the two jump arc segments are connected to the non-jump arc segment, they are non-independent jump arc segments, and their lengths can be adjusted to d≤L 跳 ≤2d.
[0048] S3-2-6, opposite side very short jump drawing area:
[0049] When the length of the jump-drawing area L<2d, the collinear part is composed of blank arc segments only. Because this type is relatively special, the blank arc segment crosses the linear feature, and this jump-drawing arc segment is summarized as: 1 blank arc segment, N=3.
[0050] S3-3, initial segment:
[0051] Segment the jump-drawing segment according to the jump-drawing rules of different segmentation modes, and record the attributes corresponding to the segmentation results, such as blank or jump-drawing, left jump or right jump, and the attributes of the associated linear features and boundary lines;
[0052] S3-4, blank arc adjustment:
[0053] In actual production, the length threshold of the blank arc segment of the boundary line of the collinear area is adjusted, which can be controlled within 0 to 1 times of L 跳 , the adjustment rules for the length of the blank arc segments on both sides are as follows:
[0054] S3-4-1, same side general type:
[0055] Assume that the total arc length of the jump drawing area is L, and L ≥ 6d. According to L 跳 The number of segmented groups N = L / L 跳 ≥3, there are 2n+1 jump arcs in the segment, n≥1, if the boundary crosses the linear feature with a jump arc, the overall jump arc can be decomposed into 2n+1 jump arcs + 2n blank arcs, n of which are jump arcs on the same side and n+1 are jump arcs on the opposite side, and the direction is stored synchronously ( Figure 8 (b)). The calculation method of the blank arc length threshold is shown in Formula 1:
[0056] L 空 =(L-(2n+1)L 跳 ) / 2n;
[0057] S3-4-2, special type on the same side (i.e., mode 2, 3): Based on the mapmaker's drawing experience, this type of boundary is a blank arc segment across the linear features. <L≤3L 跳 , 1≤N≤3, 1≤n≤2, then L is n-1 jump arcs + n blank arcs, among which (n-1) jump arcs are jump arcs on the opposite side, and the synchronous storage direction ( Figure 8 (d,f)). The calculation method of the blank arc length threshold is shown in Formula 2:
[0058] L 空 =(L-(n-1)L 跳 ) / n;
[0059] S3-4-3, conventional type on the opposite side (i.e. mode 4, 5)
[0060] The boundary is required to cross the linear features with a jump arc segment, and L≥4d, N≥2, n≥1, and there are 2n jump arc segments (n on the same side + n on the opposite side) and (2n-1) blank arc segments in the segment. Fig. 9 (b, d)). The calculation method of the blank arc length threshold is shown in Formula 3:
[0061] L 空 =(L-2nL 跳 ) / (2n-1);
[0062] S3-4-4, opposite side special type (mode 6): This type is a special mode. <L 跳 , N=1, then L 空 =L is a blank arc segment.
[0063] S4, production jump drawing line:
[0064] The jump-drawn arc segments are constructed into parallel lines according to the jump-drawn direction and the longitudinal interval between symbols. To ensure that there is no overlap between symbols after jump-drawing, the translation distance of each parallel line is comprehensively customized according to the boundary symbol width, the longitudinal interval distance, and the width of the linear feature symbol. For the jump-drawn boundary lines with a crossing relationship, the first and last jump-drawn arc segments are selected to connect with the non-jump-drawn boundary lines to maintain continuity and supplement information, and a smoothing algorithm is used to make them connect naturally and smoothly.
[0065] S5, segment data fusion:
[0066] According to the original boundary line data, the boundary line of the jump drawing area is first oriented, and then the jump drawing result line is oriented according to the oriented jump drawing area boundary line, and then the attributes of the jump drawing result line are assigned according to the original boundary line; since the boundary line is decomposed into multiple independent line segments, the segmented data must be merged into a whole, and the boundary line jump drawing result is output.
[0067] Compared with the prior art, the present invention has the following beneficial effects:
[0068] The present invention takes into account both the visual effect and readability of the map. The non-jump-drawing segment and the jump-drawing result are smoothly connected at the beginning and the end, and cross the linear features at the connection point as much as possible. At the same time, it can transition naturally and smoothly, so that the jump-drawing boundary line crossing the linear features has ductility, thereby achieving the optimization of the jump-drawing result.
[0069] Comprehensively consider the length of the jump-drawing area L, the same and different side information of the non-jump-drawing segment relative to the linear feature, the boundary symbol width, the longitudinal spacing distance and the linear feature symbol width to automatically determine the number of segments N and the length of the jump-drawing arc segment L 跳 and the blank arc length L 空 , achieving a balanced and beautiful mapping effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 It is a schematic diagram of the steps of the prior art realm jump drawing method in the background technology of the present invention;
[0071] Figure 2 A schematic diagram of the spatial relationship between boundary data and linear features in the background technology of the present invention;
[0072] Figure 3 It is a schematic diagram of the prior art jump drawing line to be optimized in the background technology of the present invention;
[0073] Figure 4 It is a comparison diagram before and after optimization of the prior art jump drawing line in the background technology of the present invention;
[0074] Figure 5 It is a schematic diagram of the pseudo jump drawing area in the present invention;
[0075] Figure 6 It is a schematic diagram of the broken jump drawing area in the present invention;
[0076] Figure 7 This is a schematic diagram of the jump drawing type of the present invention;
[0077] Figure 8 This is a schematic diagram of the same-side jump drawing mode of the present invention;
[0078] Fig. 9 This is a schematic diagram of the opposite-side jump drawing mode of the present invention;
[0079] Fig.10 The automatic jump drawing result diagram of the present invention;
[0080] Fig.11 It is a partial enlarged view of the automatic jump drawing result of the present invention;
[0081] Fig.12 It is a schematic diagram of the technical route of the present invention. DETAILED DESCRIPTION
[0082] The present invention will now be further described with reference to the accompanying drawings.
[0083] See also Figures 1 to 12 The present invention provides an automated processing method for realm jump drawing, comprising the following steps:
[0084] A Jump drawing area identification:
[0085] Extract and traverse boundary lines and linear features data, according to the given width ( The width of the boundary mark The vertical spacing between symbols, The width of the linear feature symbol The buffer zone is established by using the vertical interval between symbols, and the intersection of the two types of buffer zones is obtained through spatial relationship. The internal boundary line of the intersection part is extracted by using the overlay analysis method, which is the boundary line of the initial jump drawing area.
[0086] B jump drawing area optimization:
[0087] There are some boundaries in the initial jump-drawing area that do not really need to be jumped, and some jump-drawing lines are close to each other, so screening and optimization are still needed.
[0088] 1) Eliminate pseudo-jump drawing areas
[0089] When using the buffer to extract the jump-drawing area, when the boundary data and the linear features intersect, there will be a pseudo jump-drawing area in the initial jump-drawing area ( Figure 5 (a) P1P2 segment. Exclude the boundary line and the linear features in the local area with a large angle, the boundary line projected onto the linear features and the length of the boundary line itself vary greatly, and the independent short boundary line itself is short. ( Figure 5 (b)), the projection point of P1 is P1P2, the projection point of P2 is P2′, r=Lp1′p2′ / Lp1p2, r<0.5; the angle formed by the line segment P1P2 and the line segment P1′P2′ is Angle>30°.
[0090] 2) Connection of broken jump drawing area
[0091] The initial jump-drawing area obtained according to the set threshold may be intermittent, and there is a short non-jump-drawing area between the two jump-drawing areas. The appearance of the broken jump-drawing area is actually due to the fact that the width threshold of the initial jump-drawing area recognition is rigid and cannot be changed flexibly within a certain range. When encountering complex real data, it will be intermittent. However, small local deviations can be tolerated in the manual interpretation process. In view of this, we believe that when the length of the non-jump-drawing area is within a certain threshold L θ The range is within the range, and the offset distance is also within a certain threshold D θ When the non-jump drawing area is within the range, it is caused by the threshold error, and it can be combined with the jump drawing segments at both ends to form a more continuous and complete jump drawing area.
[0092] by Figure 6 Take an example to explain, L1 is the boundary line, L2 is a linear feature, the initial jump-drawing area obtained by the specified threshold is P1P2, P3P4, P5P6, and the part between the initial jump-drawing areas is P2P3 and P4P5. When the length of P2P3 is less than the threshold and the maximum distance from the point on P2P3 to L2 is less than the threshold, P2P3 can be merged into P1P2 and P3P4. Similarly, when P4P5 meets the conditions, it can also be merged into P3P4 and P5P6. At this time, the jump-drawing area is the part between P1P6 on L1.
[0093] C jump drawing area segment:
[0094] 1) Determine the same side and opposite side
[0095] like Figure 7As shown in the figure, take a jump-drawn area, get the non-jump-drawn areas associated with it at both ends, and judge whether the two non-jump-drawn areas are on the same side or on the opposite side of the corresponding linear features. The same-side jump-drawn area means that the boundary lines other than the collinear area are on the same left side ( Figure 7 (a) L1 and L3) or both on the right side, or the first and last arc segments of the collinear jump drawing area can be both on the left side or both on the right side ( Figure 7 (a) L2 and L4); heterolateral jump drawing refers to the boundary line other than the collinear area with one end on the left and the other end on the right ( Figure 7 (b) L5 and L7), the first and last arc segments of the collinear jump drawing area can also be one on the left and one on the right ( Figure 7 (b) L6 and L8).
[0096] 2) Determine the segmentation mode
[0097] According to the length L of the jump segment and the length d of different types of boundary line symbols, the length L of the jump arc segment 跳 and the length of the blank arc segment L 空 Determine the jump drawing segmentation mode. The step length of the independently drawn jump drawing segment is generally 2d≤L 跳 ≤5d, and L 跳 The length of L must be an integer multiple of d. 跳 The initial value of L is 2d, 空 The value is 0 to 1 times L 跳 . In different modes, corresponding methods can be used to calculate L 跳 The length of the segment, the number of segments N, and the adjusted blank segment length L 空 .
[0098] (1) Ipsilateral jump drawing:
[0099] Mode 1: Long jump drawing area
[0100] like Figure 8 As shown in (a, b), when the jump drawing area length L≥(3L 跳 +2L 空 ), that is, L≥6d can be defined as a long collinear area. First, topological arc segmentation is performed, and the collinear arc segments P1P2 are segmented according to the jump-drawing step length. The collinear arc segments are divided into 2n+1 jump-drawing arc segments and 2n blank arc segments (n can be regarded as jump-drawing segment types, n≥1), and are sorted according to jump-drawing arc segments + blank arc segments + ... + blank arc segments + jump-drawing arc segments, where the first and last jump-drawing arc segments are on the opposite side of the non-jump-drawing boundary line, and the next group of jump-drawing arc segments are on the same side. Then determine the jump-drawing direction, and construct parallel lines according to the longitudinal distance threshold between symbols. The first and last jump-drawing arc segments must be connected to the non-jump-drawing boundary line and extended in its direction to generate the jump-drawing result.
[0101] L 跳 Calculation of length and number of segments N:
[0102] Assume the total arc length of the jump drawing area is L, and the maximum jump drawing step length is L 跳max =5d, then the minimum number of segments is m=ceil(L / L 跳max ), segment type n = ceil((m-1) / 4), initial segment number N = 4n+1 (n of the jump arcs are jump arcs on the same side, and n+1 are jump arcs on the opposite side), jump arc step length L 跳 =d*int(L / Nd), if L 跳 ≤2d, then L 跳 =2d; the ceil() function is used to round a value up to the nearest integer, and the int() function is used to round a value;
[0103] Mode 2: Short jump drawing area:
[0104] When the jump drawing area L 跳 ≤L<3L 跳 , that is, when 2d≤L<6d, the order is blank arc segment + skipped arc segment + blank arc segment ( Figure 8 (d)).
[0105] This type is quite special, with a blank arc segment crossing a linear feature. This jump arc segment is summarized as: 1 jump arc segment (1 on the opposite side) + 2 blank arc segments, N = 3, L 跳 =2d.
[0106] Mode 3: Very short jump drawing area
[0107] When the length of the jump drawing area L<2d, the jump drawing segment is only composed of blank arc segments ( Figure 8 (f)). Since this type is similar to Mode 2, both use blank arcs to cross linear features, this skipped arc is summarized as: 1 blank arc, N = 1.
[0108] In summary, assuming that there are 2n+1 skipped arcs in the total skipped arcs, if the boundary crosses the linear features with skipped arcs, the total skipped arcs can be decomposed into 2n+1 skipped arcs + 2n blank arcs, which can be defined as the regular class on the same side (mode 1); if the boundary crosses the linear features with blank arcs, the total skipped arcs can be decomposed into n skipped arcs + (n+1) blank arcs, which can be defined as the special class on the same side (i.e. modes 2 and 3).
[0109] (2) Isolateral jump drawing:
[0110] Mode 4: Long jump drawing area:
[0111] When the jump drawing area length L≥(2L 跳 +L 空 ), that is, when L≥4d, the skipped arcs are summarized as 2n (n≥1) skipped arcs (n on the same side + n on the opposite side) + (2n-1) blank arcs. ( Fig. 9 (b)).
[0112] L 跳 Calculation of length and number of segments N:
[0113] Assume the maximum jump step length L 跳max =5d, then the minimum number of segments m = ceil(L / L 跳max ), segment type n = ceil((m+1) / 4), initial segment number N = 4n-1 (2n jump arcs (n same side + n opposite side) + (2n-1) blank arcs), jump arc step length L 跳 =d*int(L / Nd), if L 跳 ≤2d, then L 跳 =2d.
[0114] Mode 5: Short jump drawing area:
[0115] When the jump drawing area length L 跳 ≤L<(2L 跳 +1L 空 ) length, that is, when 2d≤L<4d, the skipped arc segments are: 2 skipped arc segments (2 on opposite sides) + 1 blank arc segment, N = 3 ( Figure 6 (d)).
[0116] In this mode, since the two jump arc segments are connected to the non-jump arc segment, they are non-independent jump arc segments, and their lengths can be adjusted to d≤L 跳 ≤2d.
[0117] Mode 6: Very short jump drawing area:
[0118] When the length of the jump-drawing area L≤2d, the collinear part is composed only of blank arc segments. Because this type is relatively special, the blank arc segment crosses the linear feature, and this jump-drawing arc segment is summarized as follows: 1 blank arc segment, N=3 ( Fig. 9 (f)).
[0119] In summary, assuming that there are 2n skipped arcs in the total skipped arcs, if the boundary crosses the linear features with skipped arcs, its total skipped arcs can be decomposed into 2n skipped arcs + (2n-1) blank arcs, which can be defined as the opposite side regular class (modes 4 and 5); if the boundary crosses the linear features with blank arcs, its total skipped arcs can be composed of 1 blank arc, which can be defined as the opposite side special class (mode 6).
[0120] 3) Initial segmentation. Segment the jump-drawing segments according to the jump-drawing rules of different segmentation modes, and record the corresponding attributes of the segmentation results, such as blank or jump-drawing, left jump or right jump, and the attributes of the associated linear features and boundary lines.
[0121] 4) Blank arc adjustment
[0122] In actual production, the initial segmentation of the boundary line of the jump drawing area cannot be so uniform. In order to ensure the aesthetics of the boundary jump drawing, it is necessary to set the length threshold L of the blank arc segment. 空 Adjustment can be controlled within 0 to 1 times of L 跳 .
[0123] The rules for adjusting the length of the blank arc segments on both sides are as follows:
[0124] (1) Conventional type on the same side (mode 1): Assume that the total arc length of the jump drawing area is L, and L ≥ 6d. According to L 跳 The number of segmented groups N = L / L 跳 ≥3, there are 2n+1 jump arcs (n≥1) in the segment. If the boundary crosses the linear feature with a jump arc, the overall jump arc can be decomposed into 2n+1 jump arcs + 2n blank arcs. Among the jump arcs, n are jump arcs on the same side and n+1 are jump arcs on the opposite side. The direction is stored synchronously ( Figure 8 (b)). The calculation method of the blank arc length threshold is shown in Formula 1:
[0125] L 空 =(L-(2n+1)L 跳 ) / 2n;
[0126] (2) Special type on the same side (i.e., Modes 2 and 3): Based on the mapmaker’s experience, this type of boundary is a blank arc segment crossing a linear feature. <L≤3L 跳 , 1≤N≤3, 1≤n≤2, then L is n-1 jump arcs + n blank arcs, among which (n-1) jump arcs are jump arcs on the opposite side, and the synchronous storage direction ( Figure 8 (d,f)).
[0127] The calculation method of the blank arc length threshold is shown in Formula 2:
[0128] L 空 =(L-(n-1)L 跳 ) / n;
[0129] (3) Conventional type on the opposite side (modes 4 and 5): The boundary is required to cross the linear features with a jump arc segment, and L ≥ 4d, N ≥ 2, n ≥ 1. There are 2n jump arc segments (n on the same side + n on the opposite side) and (2n-1) blank arc segments in the segment. The same side and opposite side storage directions ( Fig. 9 (b, d)). The calculation method of the blank arc length threshold is shown in Formula 3:
[0130] L 空 =(L-2nL 跳 ) / (2n-1);
[0131] (4) Special type on the opposite side (mode 6): This type is a special mode. <L 跳 , N=1, then L 空 =L is a blank arc segment.
[0132] D production jump drawing line:
[0133] The jump-drawn arc segments are constructed into parallel lines according to the jump-drawn direction and the longitudinal interval between symbols. To ensure that there is no overlapping between symbols after jump-drawing, the translation distance of each parallel line is customized according to the boundary symbol width, the longitudinal interval distance, and the linear feature symbol width. For the jump-drawn boundary lines with crossing relationships, the first and last jump-drawn arc segments are selected to connect with the non-jump-drawn boundary lines to maintain continuity and supplement information, and a smoothing algorithm is used to make them naturally and smoothly connected.
[0134] E-segment data fusion
[0135] First, orient the boundary line of the jump drawing area according to the original boundary line data, then orient the jump drawing result line according to the oriented jump drawing area boundary line, and then assign attributes to the jump drawing result line according to the original boundary line. Since the boundary line is decomposed into multiple independent line segments, the segmented data must be merged into a whole and the boundary line jump drawing result is output.
[0136] Some results of the present invention after performing realm jump drawing:
[0137] like Fig.11 The following are some of the mapping results of boundary jump mapping in a certain experimental area. Fig.12 In order to achieve the local magnification effect of the mapping results, this method directly operates on the geographic data, without the need for cartographers to participate in the collaboration, and the mapping results have good visualization effects. And through actual investigation of local map production work, it is known that this method greatly improves the efficiency of map production compared with the symbol editing function provided by the software platform or the secondary development plug-in. According to statistics, in the case of manual interactive mapping, one person can complete 1 to 2 topographic mapping tasks per day; and using the method in this paper, after automated derivation, one person can complete 20 topographic mapping results per day, and the efficiency is increased by more than 10 times.
[0138] The above are only preferred embodiments of the present invention, which are only used to help understand the method and core ideas of the present application. The protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
[0139] The present invention solves the problems of inaccurate recognition of jump drawing areas, lack of recognition mode, optimization of co-linear jump drawing segments and lack of ductility in the jump drawing method in the prior art. The present invention identifies and optimizes the jump drawing boundary line that does not completely overlap with the ground object within a certain range in the data; comprehensively considers the length of the jump drawing area, the length of different types of boundary line symbols and the same and different side information of the non-jump drawing segment relative to the linear ground object, and adaptively calculates the number of jump drawing segments, the length of the jump drawing arc segment and the length of the blank arc segment; adopts different jump drawing line generation methods for 6 same and different side boundary jump drawing modes, and performs directional fusion processing of segmented jump drawing data; the jump drawing result takes into account the visual effect and readability of the map, the non-jump drawing segment and the jump drawing result are smoothly connected at the beginning and end, and cross the linear ground object as much as possible at the connection point, and the jump drawing result meets the mapping specification. The method directly operates on the geographic data, does not require the participation of cartographers in collaboration, has good visualization effect of mapping results, and greatly improves the efficiency and accuracy of map production.
Claims
1. An automated processing method for realm jump drawing, characterized in that: The following steps are involved: S1, jump line extraction: extract and traverse the boundary line and linear feature data, establish a buffer zone according to the given width, obtain the intersection of two types of buffer zones through spatial relationship, and use the overlay analysis method to extract the internal boundary line of the intersection; S2, optimization of jump drawing area: S2-1, exclude pseudo-jumping areas: identify the jumping areas where the angle between the boundary line and the linear features is large in the local range, and the length of the boundary line projected onto the linear features and the length of the boundary line itself vary greatly, and exclude them from the jumping processing range; S2-2, connecting the broken jump drawing areas: connecting the intermittent initial jump drawing areas obtained according to the set threshold; S3, jump drawing area segment: S3-1, determine the same side and opposite side: According to the spatial relationship between the undrawn boundary line and the linear features, determine whether it is the same-side jump drawing or the opposite-side jump drawing; S3-2, determine the segmentation mode: According to the length L of the jump segment and the length d of different types of boundary line symbols, the length L of the jump arc segment 跳 and the length of the blank arc segment L 空 Determine the jump drawing segmentation mode. The step length of the independently drawn jump drawing segment is generally 2d≤L 跳 ≤5d, and L 跳 The length of L must be an integer multiple of d. 跳 The initial value of L is 2d, 空 The value is 0 to 1 times L 跳 ; Use the corresponding method to calculate L in different modes 跳 The length of the segment, the number of segments N, and the adjusted blank segment length L 空 ; S3-2-1, long jump drawing area on the same side: When the length of the jump drawing area L ≥ 3L 跳 +2L 空 , that is, when L ≥ 6d, it can be defined as a long collinear region; Assume that the total arc length of the jump drawing area is L, and the maximum jump drawing step length is L 跳max =5d, then the minimum number of segments is m=ceil(L / L 跳max ), segment type n = ceil((m-1) / 4), initial segment number N = 4n+1, n of the jump arcs are jump arcs on the same side, n+1 are jump arcs on the opposite side, jump arc step length L 跳 =d*int(L / Nd), if L 跳 ≤2d, then L 跳 =2d; S3-2-2, short jump drawing area on the same side: When the jump drawing area L 跳 ≤L<3L 跳 That is, when 2d≤L<6d, the blank arc segment + skipped arc segment + blank arc segment are sorted and defined as the same-side short skipped area. This type is quite special, with a blank arc segment crossing a linear feature. To summarize this skipped arc segment: 1 skipped arc segment is 1 opposite side + 2 blank arc segments, N = 3, L 跳 =2d; S3-2-3, very short same-side jump drawing area When the length of the jump-drawing area L≤2d, the jump-drawing segment is composed of blank arc segments only; this type is similar to mode 2, both of which use blank arc segments to cross linear features. This jump-drawing arc segment is summarized as follows: 1 blank arc segment, N=1; S3-2-4, long jump drawing area on the opposite side: When the length of the jump drawing area L ≥ 2L 跳 +L 空 , that is, when L ≥ 4d, the skipped arc segments are summarized as 2n, when n ≥ 1 skipped arc segment + (2n-1) blank arc segments; Assume the maximum jump step length L 跳max =5d, then the minimum number of segments m = ceil(L / L 跳max ), segment type n = ceil((m+1) / 4), initial segment number N = 4n-1, i.e. 2n jump arcs, n on the same side + n on the opposite side + (2n-1) blank arcs, jump arc step length L 跳 =d*int(L / Nd), if L 跳 ≤2d, then L 跳 =2d; S3-2-5, short jump drawing area on the opposite side: When the jump drawing area length L 跳 ≤L<2L 跳 +1L 空 Length, that is, when 2d≤L<4d, the jump arc segments are: 2 jump arc segments, i.e., 2 arc segments on opposite sides + 1 blank arc segment, N = 3; In this mode, since the two jump arc segments are connected to the non-jump arc segment, they are non-independent jump arc segments, and their lengths can be adjusted to d≤L 跳 ≤2d; S3-2-6, opposite side very short jump drawing area: When the length of the jump-drawing area L<2d, the collinear part is composed only of blank arc segments. This type is relatively special, with blank arc segments crossing linear features. This jump-drawing arc segment is summarized as follows: 1 blank arc segment, N=3; S3-3, initial segment: Segment the jump-drawing segment according to the jump-drawing rules of different segmentation modes, and record the attributes corresponding to the segmentation results, such as blank or jump-drawing, left jump or right jump, and the attributes of the associated linear features and boundary lines; S3-4, blank arc adjustment: In actual production, the length threshold of the blank arc segment of the boundary line of the collinear area is adjusted, which can be controlled within 0 to 1 times of L 跳 , the adjustment rules for the length of the blank arc segments on both sides are as follows: S3-4-1, same side general type: Assume that the total arc length of the jump drawing area is L, and L ≥ 6d. According to L 跳 The number of segmented groups N = L / L 跳 ≥3, there are 2n+1 skipped arcs in the segment, n≥1. If the boundary crosses the linear features with a skipped arc, the overall skipped arc can be decomposed into 2n+1 skipped arcs + 2n blank arcs, and the directions are stored synchronously. The calculation method of the length threshold of the blank arc is shown in the following formula 1: <h2 style=";text-align:left;direction:ltr">L<h2 style=";text-align:left;direction:ltr"> 空 <h2 style=";text-align:left;direction:ltr"> (L-(2n+1)L<h2 style=";text-align:left;direction:ltr"> 跳 <h2 style=";text-align:left;direction:ltr"> ) / 2n; S3-4-2, special type on the same side, i.e., mode 2 and 3: combined with the mapmaker's drawing experience, this type of boundary is a blank arc segment across the linear features; if 0 <L≤3L 跳 , 1≤N≤3, 1≤n≤2, then L is n-1 skipped arc segments + n blank arc segments, and the direction is stored synchronously; the calculation method of the length threshold of the blank arc segment is shown in the following formula: L 空 =(L-(n-1)L 跳 ) / n; S3-4-3, opposite side conventional The boundary is required to cross the linear features with a jump arc segment, and L≥4d, N≥2, n≥1. The calculation method of the length threshold of the blank arc segment is shown in the following formula: <h2 style=";text-align:left;direction:ltr">L<h2 style=";text-align:left;direction:ltr"> 空 <h2 style=";text-align:left;direction:ltr"> (L-2nL)<h2 style=";text-align:left;direction:ltr"> 跳 <h2 style=";text-align:left;direction:ltr"> ) / (2n-1); S3-4-4, special type on the opposite side, i.e. mode 6: This type is a special mode; if L <L 跳 , N=1, then L 空 =L is a blank arc segment; S4, production jump drawing line: The jump-drawn arc segments are constructed into parallel lines according to the jump-drawn direction and the longitudinal interval between symbols. To ensure that there is no overlap between symbols after jump-drawing, the translation distance of each parallel line is comprehensively customized according to the boundary symbol width, the longitudinal interval distance, and the width of the linear feature symbol. For the jump-drawn boundary lines with a crossing relationship, the first and last jump-drawn arc segments are selected to connect with the non-jump-drawn boundary lines to maintain continuity and supplement information, and a smoothing algorithm is used to make them connect naturally and smoothly. S5, segment data fusion: According to the original boundary line data, the boundary line of the jump drawing area is first oriented, and then the jump drawing result line is oriented according to the oriented jump drawing area boundary line, and then the attributes of the jump drawing result line are assigned according to the original boundary line; since the boundary line is decomposed into multiple independent line segments, the segmented data must be merged into a whole, and the boundary line jump drawing result is output.
