A road centerline batch processing method, system, equipment and medium
By acquiring and offsetting the road center line, identifying the intersection type, and performing cropping and connecting processing, the problem of low batch processing efficiency of road center line in the existing technology is solved, and efficient road double-line extraction and intersection topological structure correction are achieved. , improves processing efficiency.
Patent Information
- Application Number
- CN202311378420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2043-10-24
AI Technical Summary
The existing technology is difficult to batch process large-scale road center lines, especially in the processing of roads of different widths and complex intersection topology structures, there are uncertain breakpoints of the double-line network, unreasonable cross-section turn settings, and lack of road double-lines. Problems such as end point attribute values lead to inefficient processing.
By obtaining the road center line, performing offset processing to obtain road double lines, identifying the intersection type, performing cropping and connection processing, and drawing the intersection turning arc to achieve batch correction processing of the road center line. Specific steps include obtaining the road center line, identifying the road network attributes, offsetting double lines, identifying the intersection type, cutting and connecting processing, and drawing a turning arc.
Improve the efficiency of batch processing of road center line, solve the problem of large-scale road extraction dual-line labor and manual verification of intersection topology structures, improve processing efficiency, and form a spatial mapping between road network structure and section name attributes. relation.
Smart Images

Figure CN117392265B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of geographic information systems, and in particular to a method, system, equipment and medium for batch processing of road centerlines. Background Art
[0002] In urban road traffic planning, in order to reproduce the trajectory of vehicle flow, a regional dual-line network, a complete intersection topology, spatially mappable road section attributes, etc. are usually required, aiming to build a real, accurate and effective road network foundation for the micro-simulation model.
[0003] At present, AutoCAD is mainly used to draw the centerline of the road, and then the centerline is offset to the two-way road network, and the road sections and intersections are trimmed or extended to obtain a two-way road network with a reasonable topological structure, and the road attributes are manually assigned when necessary. This method is difficult to complete the offset of large-scale and different-width double-line roads in batches, and it is necessary to manually solve the unreasonable topological structure problems such as the misalignment of double lines at T-shaped intersections and hanging points at crossroads. It is also difficult to form a spatial mapping relationship between the road network structure and the road section name attributes and the start and end point attributes. And with the development of new technologies, the current road network map can be directly downloaded from the OSM website to obtain attribute fields such as road name and road grade, but there are problems such as uncertain breakpoint positions of the double-line road network, unreasonable left-turn settings at intersections, and lack of start and end point attribute values for the double-line roads. The above problems need to be solved. Summary of the invention
[0004] In order to process road centerlines in batches and improve processing efficiency, the present application provides a road centerline batch processing method, system, device and medium, which adopts the following technical solutions:
[0005] In a first aspect, the present application provides a method for batch processing of road centerlines, comprising:
[0006] Obtain the road centerline, and offset the road centerline to obtain a double road line;
[0007] Identify the intersection type according to the road centerline and obtain the intersection identification result;
[0008] The first intersection is cut out according to the double-lane road and intersection recognition results;
[0009] Connecting the second intersection according to the result of cutting the first intersection and the result of intersection recognition;
[0010] Draw the intersection turning arc based on the result of the second intersection connection.
[0011] Preferably, the specific steps of obtaining the road centerline and offsetting the road centerline to obtain a double road line include:
[0012] Get the road centerline and identify the width field in the road network attribute table of the road centerline;
[0013] Offset the road centerline to the left by the width field / 2;
[0014] Offsets the centerline of the road to the right by the width field / 2.
[0015] Preferably, the specific steps of identifying the intersection type according to the road centerline and obtaining the intersection identification result are:
[0016] Extract the starting point, end point and starting and ending point of the road centerline;
[0017] Create buffers for the starting point, end point, and starting and ending point feature layers, remove duplicates from the buffer area features, and add a number field to the deduplicated area feature layer and assign a value;
[0018] Connect the deduplicated starting point polygon layer to the starting point point layer;
[0019] Connect the deduplicated endpoint polygon features to the endpoint point features to identify the roads connected to each intersection;
[0020] Identify the segment endpoint type and intersection type based on the connection relationship.
[0021] Preferably, the intersection type includes any one of a crossroads, a T-junction and an unconnected road.
[0022] Preferably, the specific steps of cutting the first intersection according to the double-line road and intersection recognition results are:
[0023] Extract the two-way road sections that need to be cut at the T-junction;
[0024] Extract the end point of the road section to be cut;
[0025] Extract the starting point of the road section to be cut;
[0026] Establish the connection between the two ends of the road section to be cut and implement the cutting.
[0027] Preferably, the specific steps of connecting the second intersection according to the result of cutting the first intersection and the result of intersection recognition are:
[0028] Mark the intersection point after the road offset processing at the crossroad;
[0029] The intersecting roads are obtained by screening the intersection points after the crossroad road offset processing;
[0030] Connect the unconnected sections of road.
[0031] Preferably, the specific steps of drawing the intersection turning arc according to the result of the second intersection connection are:
[0032] Mark the import and export channel types;
[0033] Connect the left-turn exit lane corresponding to the entrance lane;
[0034] Determine the center and radius of the left turn based on the angle between the current road and the road after the turn, and the width relationship between the two roads;
[0035] Draw a left-turn arc with the endpoint of the left-turn circle center section as the center;
[0036] Extract the left-turn arc and assign the names of the starting and ending points of the left-turn arc
[0037] In a second aspect, the present application provides a road centerline batch processing system, comprising:
[0038] Information acquisition module: used to obtain the road centerline, and offset the road centerline to obtain a double road line;
[0039] Intersection recognition module: used to identify the intersection type according to the road centerline and obtain the intersection recognition result;
[0040] The first processing module is used to cut the first intersection according to the double-line road and intersection recognition results;
[0041] The second processing module is used to connect the second intersection according to the result of the first intersection clipping and the intersection recognition result;
[0042] The third processing module is used to draw the intersection turning arc according to the result of the second intersection connection.
[0043] In a third aspect, the present application provides a road centerline batch processing device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the road centerline batch processing method as described above.
[0044] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the road centerline batch processing method as described above when running.
[0045] In summary, compared with the prior art, the technical solution provided by this application has at least the following beneficial effects:
[0046] The present application obtains the road centerline, processes the road centerline into a double road line, and then identifies the intersection type. It performs cropping and connection processing based on the intersection identification result and the double road line, and obtains the intersection turning arc. It can quickly and batch-correct the road centerline, improves the problems of large-scale road centerline extraction, which is laborious and time-consuming, and manual verification of intersection topology structure one by one is labor-intensive and inefficient, thereby improving the processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flow chart of a method for batch processing of road centerlines described in an embodiment of the present application.
[0048] Figure 2 This is a schematic diagram of a left turn on the road described in the embodiment of the present application.
[0049] Figure 3 It is a module schematic diagram of a road centerline batch processing system described in an embodiment of the present application.
[0050] Description of reference numerals:
[0051] 1. Information acquisition module; 2. Intersection recognition module; 3. First processing module; 4. Second processing module; 5. Third processing module. DETAILED DESCRIPTION
[0052] The following combination Figure 1-Figure 2 The present application is described in further detail. The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to be limiting.
[0053] Reference Figure 1 The present application relates to a method for batch processing of road centerlines, which specifically includes:
[0054] Step S1: Obtain the road centerline, and offset the road centerline to obtain a double road line.
[0055] Step S2: Identify the intersection type according to the road centerline to obtain an intersection identification result.
[0056] Step S3: cutting the first intersection according to the double-lane road and intersection recognition results.
[0057] Step S4: connecting the second intersection according to the result of cutting the first intersection and the result of intersection recognition.
[0058] Step S5: Draw an intersection turning arc according to the result of the second intersection connection.
[0059] Specifically, the embodiment of the present application can obtain the road centerline, process the road centerline into a double road line, and then identify the type of intersection, perform cutting and connection processing based on the intersection identification result and the double road line, and obtain the intersection turning arc. Batch offset road centerlines of different widths to double road lines, batch identification of intersection types, batch cutting of T-shaped intersections or connection of crossroads, batch drawing of intersection turning arcs, solve the problems of large-scale road centerline extraction, time-consuming and labor-intensive road double line extraction, manual verification of intersection topology structure one by one, and low processing efficiency, thereby improving processing efficiency.
[0060] As one implementation method, road network information is obtained, and the coordinates, directions and topological nodes of the road network information are checked; and the road network information is divided into several roads from the intersection.
[0061] Specifically, the embodiment of the present application needs to draw the center line of the road within the scope of the study first. The drawn road network is checked from two aspects: road direction and topological structure. Coordinate conversion is to import the road network into ArcGIS, and the coordinates are converted to WGS-84. Direction judgment is to stipulate that the positive direction is "from south to north" and "from west to east", and the direction is judged according to the starting and ending directions of the road, and the reverse road is flipped. Topological inspection is to use the rule that there can be no pseudo-nodes to check the road network structure and merge the road sections of pseudo-nodes. After completing the road network inspection, the attribute field is set, and the attribute field is added to the road network, which mainly includes the road name, starting point, end point, grade, red line width, length, etc., and the road name and red line width are assigned. The road network is divided by intersections, specifically to merge the upstream and downstream sections of the same road name, and then divide them after merging, so that the road is disconnected at the intersection, and the section number attribute field is added. The section obtained by the division is numbered to obtain road information.
[0062] As one of the implementation methods, the specific steps of obtaining the road centerline and offsetting the road centerline to obtain a double road line include: obtaining the road centerline, identifying the width field in the road network attribute table of the road centerline; offsetting the road centerline to the left by a distance of the width field / 2; offsetting the road centerline to the right by a distance of the width field / 2.
[0063] Specifically, the road network needs to be projected from 84 coordinates to 50N, with the unit displayed as m, and the road network centerline Mid_Road layer is derived. The "red line width" field in the road network attribute table, that is, the width field, is read and offset to the left and right by "red line width / 2". The flip line is then used to flip the left side of the offset road line, so that the start and end directions of the lanes on both sides are consistent with the vehicle form direction.
[0064] As one of the implementation methods, the intersection type is identified according to the road centerline, and the specific steps for obtaining the intersection identification result are: extracting the starting point, end point and starting and ending point of the road centerline; making buffers for the feature layers of the starting point, end point and starting and ending points respectively, deduplicating the buffer area elements, adding a number field to the deduplicated area element layer and assigning a value; connecting the deduplicated starting point area layer to the starting point point layer; connecting the deduplicated end point area elements to the end point elements to identify the roads connected to each intersection; identifying the road segment endpoint type and intersection type according to the connection relationship.
[0065] Specifically, step S21: utilize the element turning point to extract the starting point of each road section; utilize the element turning point to extract the end point of each road section; utilize the element turning point to extract the starting and ending points of each road section; at this time, an intersection will be repeatedly marked as the starting point or end point by multiple passing road sections.
[0066] Step S22: Buffer the starting point feature layer to form a surface feature, use the feature conversion to surface to form the starting point surface feature after deduplication, re-add the field Start_Point_ID, and assign a value of 1000+FID. Buffer the end point feature layer to form a surface feature, use the feature conversion to surface to form the end point surface feature after deduplication, re-add the field End_Point_ID, and assign a value of 3000+FID. Buffer the start and end point feature layers to form a surface feature, use the feature conversion to surface to form the start and end point surface features after deduplication, re-add the field SE_Point_ID, and assign a value of 2000+FID.
[0067] Identify each intersection connection section, step S231: spatially connect the section start point elements with the deduplicated start point area elements.
[0068] Step S232: spatially connect the deduplicated endpoint face elements to the segment endpoint elements.
[0069] Step S233: spatially connect the start and end point surface elements after deduplication to the start and end point elements of the road segment.
[0070] Step S234: spatially connect the segment start and end point elements with the segment end point elements in the obtained segment start and end point element layer in sequence, and obtain the corresponding relationship between the start and end points and the starting point or the end point, and export it to csv.
[0071] Step S235: Query the corresponding starting point ID in step S234 according to the start and end point ID fields of the start and end point elements of the road segment in step S233, and then search for the consistent item in step S231 according to the road segment ID and the start and end point ID of the starting point. Query the corresponding end point ID in step S234 according to the start and end point ID fields in step S233, and then search for the consistent item in step S232 according to the road segment ID and the end point ID of the starting and end points.
[0072] Step S236: Import the obtained table into GIS, and use the field FID to connect with the result of step S233 to mark the starting point and the end point in the corresponding rows respectively.
[0073] As one implementation mode, the intersection type includes any one of a crossroad, a T-junction and an unconnected road.
[0074] Specifically, step 24: determine the intersection type according to the number of connected road sections. Count the road section data of each intersection. Connect the number of each intersection obtained by counting to the original intersection table, and mark it according to the value classification. The intersections of 4 roads are assigned as crossroads, 3 are T-shaped intersections, and 1 is a non-connected road. Mark the intersection number connected at both ends of each road section.
[0075] As one of the implementation methods, the specific steps for cutting the first intersection according to the double-lane road and intersection recognition results are: extracting the two-way section that needs to be cut at the T-shaped intersection; extracting the end point of the section to be cut; extracting the starting point of the section to be cut; establishing a connection between the two ends of the section to be cut and implementing cutting.
[0076] Specifically, determine the sections that should be cut at each T-intersection. For the center line of the road connected by the T-intersection, mark the sections that are inconsistent with the direction of the other two roads as "I", which are the sections to be cut. Summarize and count the frequencies of road directions at various intersections. Sort the direction frequencies under the same ID from small to large. Select the minimum value for Direct obtained above, and the grouping field is consistent with the above to obtain the category with the least road direction at each intersection. In the corresponding attribute table, find the roads in each intersection whose road direction is consistent with the corresponding minimum direction obtained in the previous step, and mark them as "one"; at the same time, mark other unmarked sections of the T-intersection as "Ⅰ", and export the two marked parts in batches.
[0077] Connect the "one" marked road segment to LE_line and RI_line respectively to obtain the double line of the road to be clipped.
[0078] Connect the "I" marked sections to LE_line and RI_line respectively to obtain a double line of the road that needs assistance.
[0079] Extract the end points of the road segment to be clipped. Merge the left and right offset lines of the I section in the T-shaped intersection into one layer. Add the field Point_type, where the LE endpoint type is opposite to the endpoint type in step 2, and the RI endpoint type is the same as the endpoint type in step 2. Extract the corresponding endpoint type and merge the extracted point feature layers.
[0080] Extract the starting point of the road section to be cut. Merge the left offset line of the I section, the right offset line of the I section, the left offset line of the road section, and the right offset line of the road section into one layer. Divide the line feature obtained in the previous step into segments, add the field Split_ID, and reassign it to a unique identification number. Use the ID of the offset line to connect the road attribute table, that is, now there is the road endpoint type extracted before the disconnection. Extract the corresponding endpoint type, the type is opposite to the value in the attribute table of the previous step, and merge the extracted point feature layer. Establish the connection between the two ends of the road section to be cut. The input feature is the point feature that establishes the connection between the two ends of the road section to be cut, the adjacent feature is the point feature for cutting, and the search radius is 40m. Connect the endpoints of the road section: connect the point feature of Split_LE_point in the attribute table obtained in the previous step, and the connection field is FID. Establish the relationship between the endpoint of the road section to be deleted and the road section to be deleted: connect the attribute table of the endpoint of the road section to be deleted in the previous step to the attribute table of the interrupted line feature in step Equ, with the connection field being Split_ID, and filter the row with the Delete attribute value of "Delete", which is the endpoint Split_LE_point of the road to be deleted this time.
[0081] Implement cropping, select the road marked as "I" in the road, and then mark it as a deleted section. Load other sections that are not marked as T-junctions. Connect the cropped road "I" section obtained in the previous step to LE_line and RI_line respectively, and export the sections that are not connected separately to obtain the cropped left and right road double lines, which are merged with the original layer.
[0082] As one of the implementation methods, the specific steps for connecting the second intersection according to the results of the first intersection clipping and the intersection recognition results are: marking the intersection points after the crossroad road offset processing; filtering the intersecting roads according to the intersection points after the crossroad road offset processing; and connecting the unconnected sections.
[0083] Specifically, mark the intersection points corresponding to the original road intersection points after the offset. When the centerline of the road is offset to a double line, mark the coordinates of the intersection points of the left and right roads corresponding to each intersection point after the offset. Filter out over-intersecting roads and mark the angle type of the intersecting roads. If the type is "concave", the thumb of the corresponding right-hand spiral method points outward, then the left-departing road is not intersecting, and the right-departing road is over-intersecting; if the type is "convex", the thumb of the corresponding right-hand spiral method points inward, then the left-departing road is over-intersecting, and the right-departing road is not intersecting. Trim the side of the over-intersection, use the topology check rule that there should be no hanging points, check the topology network, and trim the hanging points caused by the excessive intersection of the double lines of the road. Connect the unconnected sections and extend the unconnected roads.
[0084] Draw a left-turn arc at the intersection. Mark the entry and exit road types, and add the "Entry and Exit Road Type" field to the offset double-line road. The value selection method is as follows: Determined by the type of the road centerline endpoint corresponding to the intersection. If the intersection is the starting point of the road centerline, the left-departing road is the entry road, and the right-departing road is the exit road. If the intersection is the end point of the road centerline, the left-departing road is the exit road, and the right-departing road is the entry road.
[0085] Link the exit left-turn lane corresponding to each entrance road. First determine whether the road is vertical or horizontal, and calculate ABS([StartY]-[EndY]) / ([StartX]-[EndX]) to determine the linear direction. At this time, the positive and negative have no absolute meaning, only the value indicates whether it is horizontal or vertical. If the value is greater than 1, it is usually vertical, and if it is less than 1, it is horizontal. Therefore, add a column of direct fields and assign them to "horizontal" and "vertical" respectively. Filter the entrance roads. Exclude the opposite lanes with the same reverse direction and name as the target entrance road, and eliminate the sections with the same intersection as the current road according to the connection relationship. At this time, the other road is the exit road for turning left.
[0086] Reference Figure 2 , clarify the method of determining the center and radius of the left turn. Determine the turning radius and center position based on the angle between the current road the vehicle is traveling on and the road after turning, and the width relationship between the two roads. The calculation method is as follows;
[0087] b=Arctan(max(L1,L2) / sina-min(L1,L2) / tana) / min((L1,L2)
[0088] L3=min(L1,L2) / cosb
[0089] R=(L5 / 2) / cosb
[0090] Where a is the angle between the current road and the road after turning; b is the angle between the arc chord between the starting point and the end point and the vertical line of the current road; L1 is the current road width; L2 is the road width after turning; L3 is the chord length between the starting point and the end point; R is the radius of the turning arc.
[0091] Offset the center of the left turn circle. Determine the offset object, add the attribute field "Radiu" for the turning radius, and for each entrance road, calculate the radius based on the turning angle, and mark it in the corresponding exit road. Determine the offset distance: Add the attribute field "Origin" to determine whether the offset is to the end of the entrance road or the beginning of the exit road based on the relationship between the widths of the two roads, and mark it to the corresponding section. Determine the offset direction: The offset direction is determined based on the attributes of the current section of the road. If the section is offset to the left from the center line of the road, then it is offset to the right at this time, in the opposite direction of the center line of the road. Reroute the road elements and cut off the part that exceeds the road intersection. The operation method is the same as that of T-intersection cutting.
[0092] Draw a circle for the left turn arc. Extract the endpoint of the road in the previous step and make a buffer with a radius of "Radiu".
[0093] Clip the left-turn arc. Convert the buffer area feature obtained in the previous step into a line feature. Traverse each entrance road, merge the buffer line feature where the left-turn arc of each entrance road is located with the roads before and after the turn into the same layer, and use the feature to line tool to split the buffer line feature. Then perform coordinate projection, calculate the length of the split arc, and only keep the arc with the second longest arc.
[0094] Assign names for the start and end points of the left-turn arc. Clarify the start and end points. For T-shaped intersections, the start point of the left-turn arc of the "I" section is the intersection of the right lane of the "I" section and the "one" section, and the end point is the intersection of the extension of the "I" section and the "one" section; the start point of the left-turn arc of the "one" section is the intersection of the extension of the "I" section and the "I" section, and the end point is the intersection of the left lane of the "I" section and the "one" section. For crossroads, the starting point is the intersection of the single-sided road and the vertically intersecting road, and the end point is the intersection of the diagonal intersection. Clarify the corresponding sections of the start and end point names. The start and end names are the names of the entrance roads associated with the section, and the end point name is the name of the exit road related to the section.
[0095] Reference Figure 3 , an embodiment of the present application provides a road centerline batch processing system, the system comprising:
[0096] Information acquisition module 1: used to obtain the road centerline, and offset the road centerline to obtain a double road line;
[0097] Intersection recognition module 2: used to identify the intersection type according to the road centerline and obtain the intersection recognition result;
[0098] The first processing module 3 is used to cut the first intersection according to the double-line road and intersection recognition results;
[0099] The second processing module 4 is used to connect the second intersection according to the result of the first intersection clipping and the intersection recognition result;
[0100] The third processing module 5 is used to draw the intersection turning arc according to the result of the second intersection connection.
[0101] An embodiment of the present application provides a road centerline batch processing device, including a memory and a processor, the memory storing a computer program, and the processor being configured to run the computer program to execute the road centerline batch processing method as described above.
[0102] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the road centerline batch processing method as described above when running.
[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and product can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0104] In several embodiments provided in this application, it should be understood that the disclosed methods, systems, devices and program products may be implemented in other ways.
[0105] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0106] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for batch processing of road centerlines, characterized in that: include: Obtain the road centerline, and offset the road centerline to obtain a double road line; Identify the intersection type according to the road centerline and obtain the intersection identification result; The first intersection is cut according to the recognition results of the double lanes of the road and the intersection, and when it is identified as a T-shaped intersection, the two-way road section that needs to be cut at the T-shaped intersection is extracted; Match the least consistent roads and unmarked sections; Match the corresponding end point of the T-shaped intersection according to the unmarked road segment; The line elements of the least consistent roads and unmarked road segments are divided into segments, and identification numbers are obtained. The road attribute table is matched according to the identification numbers to extract the corresponding starting points; Establish the connection between the two ends of the road section to be cut and implement the cutting; Connecting the second intersection according to the result of cutting the first intersection and the result of intersection recognition; Draw the intersection turning arc based on the result of the second intersection connection.
2. The road centerline batch processing method according to claim 1 is characterized in that: The specific steps of obtaining the road centerline and offsetting the road centerline to obtain a double road line include: Get the road centerline and identify the width field in the road network attribute table of the road centerline; Offset the road centerline to the left by the width field / 2; Offsets the centerline of the road to the right by the width field / 2.
3. The road centerline batch processing method according to claim 1 is characterized in that: The specific steps of identifying the intersection type according to the road centerline and obtaining the intersection identification result are as follows: Extract the starting point, end point and starting and ending point of the road centerline; Create buffers for the starting point, end point, and starting and ending point feature layers, remove duplicates from the buffer area features, and add a number field to the deduplicated area feature layer and assign a value; Connect the deduplicated starting point polygon layer to the starting point point layer; Connect the deduplicated endpoint polygon features to the endpoint point features to identify the roads connected to each intersection; Identify the segment endpoint type and intersection type based on the connection relationship.
4. The road centerline batch processing method according to claim 3 is characterized in that: The intersection type includes any one of a crossroad, a T-junction and an unconnected road.
5. The road centerline batch processing method according to claim 4 is characterized in that: The specific steps of connecting the second intersection according to the result of cutting the first intersection and the result of intersection recognition are: Mark the intersection point after the road offset processing at the crossroad; The intersecting roads are obtained by screening the intersection points after the crossroad road offset processing; Connect the unconnected sections of road.
6. The road centerline batch processing method according to claim 1 is characterized in that: The specific steps of drawing the intersection turning arc according to the result of the second intersection connection are: Mark the import and export channel types; Connect the left-turn exit road corresponding to the entrance road; Determine the center and radius of the left turn based on the angle between the current road and the road after the turn, and the width relationship between the two roads; Draw a left-turn arc with the endpoint of the left-turn circle center section as the center; Extract the left-turn arc and assign names to the start and end points of the left-turn arc.
7. A road centerline batch processing system, characterized in that: include: Information acquisition module: used to obtain the road centerline, and offset the road centerline to obtain a double road line; Intersection recognition module: used to identify the intersection type according to the road centerline and obtain the intersection recognition result; The first processing module: when a T-shaped intersection is identified, the bidirectional road section that needs to be cut at the T-shaped intersection is extracted; the roads with the least consistent direction and the unmarked road sections are matched; Match the corresponding end point of the T-shaped intersection according to the unmarked road segment; The line elements of the least consistent roads and unmarked road segments are divided into segments, and identification numbers are obtained. The road attribute table is matched according to the identification numbers to extract the corresponding starting points; Establish the connection between the two ends of the road section to be cut and implement the cutting; The second processing module is used to connect the second intersection according to the result of the first intersection clipping and the intersection recognition result; The third processing module is used to draw the intersection turning arc according to the result of the second intersection connection.
8. A road centerline batch processing device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the road centerline batch processing method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the road centerline batch processing method according to any one of claims 1 to 6 when running.
