A parameterized rail transit bidirectional electronic map generation method and system

By automatically calculating and drawing the interval control points of the rail transit electronic map through a parametric method, the problem of low efficiency and accuracy of two-way interval drawing in the existing technology is solved, and the fast, accurate drawing and beautiful effect of the rail transit electronic map are achieved.

CN117472255BActive Publication Date: 2024-10-11BEIJING URBAN CONSTRUCTION DESIGN & DEVELOPMENT GROUP CO LIMITED +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311495910.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2024-10-11
Estimated Expiration
2043-11-10

AI Technical Summary

Technical Problem

Existing rail transit electronic map drawing is difficult to quickly and accurately generate two-way intervals, especially curve intervals, resulting in unsightly and inaccurate graphics that require a lot of manual adjustments and are inefficient.

Method used

Using a parametric-based two-way electronic map generation method for rail transit, by reading data information and parameter settings, the control point coordinates of straight lines and curve intervals are automatically calculated, and the corresponding drawing method is selected according to the curve type, including vertical orthogonal and horizontal oblique. , vertical oblique intersection and S-shaped curve, automatically adjust the interval spacing and station name label position.

Benefits of technology

It realizes the rapid and accurate drawing of two-way electronic maps, ensuring consistent interval spacing and beautiful graphics, improving drawing efficiency and reducing the need for manual adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117472255B_ABST
    Figure CN117472255B_ABST
Patent Text Reader

Abstract

The present invention provides a parameterized rail transit bidirectional electronic map generation method and system, and relates to the technical field. It can face various directions of straight lines and curves, quickly draw electronic map data, and improve the drawing efficiency of rail transit bidirectional electronic maps. The method includes: drawing stations according to the selected lines to be drawn, drawing straight line intervals and curve intervals according to the selected lines and intervals to be drawn, judging the curve type, if the curve type is a vertical orthogonal curve, a horizontal oblique curve, or a vertical oblique curve, then based on the coordinates of n control points on the directed line path of the corresponding curve interval, draw a vertical orthogonal curve interval, a horizontal oblique curve interval, or a vertical oblique curve interval; if the curve type is an S-shaped curve, then based on the coordinates of m control points on the directed line path of the corresponding curve interval, draw an S-shaped curve interval. The rail transit bidirectional electronic map generation system is applied to the rail transit bidirectional electronic map generation method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of rail transit electronic maps, and in particular to a parameterized rail transit bidirectional electronic map generation method and system. Background Art

[0002] my country's urban rail transit is in a rapid development stage, with new lines being put into operation every year. The electronic map of the line network needs to be updated, and the map data needs to be updated manually. How to quickly and conveniently draw accurate and beautiful electronic rail transit maps based on preset parameters and modes, improve the accuracy of map drawing, and save maintenance costs are urgent needs faced by various cities at present.

[0003] The electronic map of rail transit consists of stations, sections, and station name labels. Stations are represented by circles with two parameters: center coordinates and radius. Sections are directed line segments connecting two adjacent stations on the same line. According to the connection type, they include straight lines, curves, and combined line segments. Compared with stations, section drawing is more difficult, especially when curve connections are involved. Not only the starting point and end point of the directed line segment must be calculated, but also the coordinates of the three control points of each curve segment must be calculated to generate a smooth and complete combined curve.

[0004] At present, most of the rail transit electronic maps published by various cities are one-way sections, with only one section curve connecting two stations, such as Figure 1 As shown in the figure, it is mainly for one-way straight line sections and one-way curved sections, and cannot reflect the two directions of up and down. It cannot be directly used for the electronic map needs of rail transit traffic monitoring and passenger flow monitoring. It requires a lot of manpower to adjust and draw a smooth curve. Even if the existing solution adopts two-way section drawing, it still has the following problems: (1) Figure 2 As shown on the left, when drawing a bidirectional straight line interval, for line segments with different slopes, if the same interval start and end positions are used, the spacing between the two intervals drawn is likely to be unequal, d1>d2, and the entire electronic map display is not beautiful and accurate. In order to ensure that the interval spacing in the two directions of the straight line with different slopes is the same, the user needs to manually adjust the spacing between the two intervals of the inclined line, which is inefficient; (2) Figure 2 As shown on the right, when drawing a circular curve interval, it is more difficult to ensure the consistency of the circular curve. Because it involves the starting point, end point, middle control point position and curve radius of the circular curve in both the inner and outer directions, if the parameters are not selected properly, the following will appear Figure 2 The problem shown on the right: the interval spacing between the straight segment and the curve segment is different, d1>d2. It is difficult to get the most reasonable curve by manually adjusting the control points. It is time-consuming, labor-intensive and has low precision. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a parameterized two-way electronic map generation method and system for rail transit, which can quickly draw electronic map data in the face of various directions of straight lines and curves, and intelligently arrange station name labels, thereby improving the drawing efficiency of two-way electronic maps of rail transit.

[0006] The present invention provides a parameterized rail transit bidirectional electronic map generation method, the method comprising:

[0007] Step S1: Read the electronic map data information, display it in the drawing area, and set the parameters of the station to be drawn, the section to be drawn and the coordinate system;

[0008] Step S2: Draw a station according to the selected line, draw a straight section and a curve section according to the selected line and section, and determine the curve type. If the curve type is a vertical orthogonal curve, a horizontal oblique curve, or a vertical oblique curve, execute step S3; if the curve type is an S-shaped curve, execute step S4;

[0009] Step S3: selecting the orientation of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, calculating the coordinates of n control points on the directed line segment path of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, where n is an integer greater than or equal to 5, and drawing the vertical orthogonal curve interval, the horizontal oblique curve interval or the vertical oblique curve interval based on the coordinates of the n control points;

[0010] Step S4: selecting the direction of the S-shaped curve, calculating the coordinates of m control points on the directed line segment path of the S-shaped curve, where m is an integer greater than or equal to 8, and drawing the S-shaped curve interval based on the coordinates of the m control points;

[0011] Step S5: Select the station name label and the station space position, automatically calculate the label position coordinates according to the station name label length and font size, and display the label position.

[0012] Preferably, in step S2, drawing a straight line interval according to the selected line and interval includes:

[0013] Select interval AB as a straight line interval, and the coordinates of the starting station A of interval AB are (x a ,y a ), the coordinates of the terminal station B of interval AB are (x b ,y b ), the coordinates of the starting point C of the directed line segment in interval AB are (x c ,y c ), the coordinates of the end point D of the directed line segment are (x d ,y d), the distance between AC is r, and the coordinates of the starting point C and the end point D of the directed line segment of interval AB are calculated according to formula (1). The straight line interval AB is drawn according to the coordinates of the starting point C and the end point D of the directed line segment.

[0014]

[0015] Among them, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, (x c ,y c ) is the coordinate of the starting point C of the directed line segment in interval AB, (x d ,y d ) is the coordinate of the end point D of the directed line segment in interval AB, and the distance between A and B is

[0016] Preferably, in step S2, a curve interval is drawn according to the selected line and interval, and the curve type is determined. If the curve type is a vertical orthogonal curve, a horizontal oblique curve, or a vertical oblique curve, step S3 is executed, including:

[0017] If the curve type is a vertical orthogonal curve, select the direction of the vertical orthogonal curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical orthogonal curve, draw the first line segment based on the first control point and the second control point, draw the first circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical orthogonal curve interval based on the first line segment, the first circular curve and the second line segment;

[0018] If the curve type is a horizontal oblique curve, select the direction of the horizontal oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the horizontal oblique curve, draw the first line segment based on the first control point and the second control point, draw the second circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the horizontal oblique curve interval based on the first line segment, the second circular curve and the second line segment;

[0019] If the curve type is a vertical oblique curve, select the direction of the vertical oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical oblique curve, draw the first line segment based on the first control point and the second control point, draw the third circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical oblique curve interval based on the first line segment, the third circular curve and the second line segment.

[0020] Preferably, in step S2, a curve interval is drawn according to the selected line and interval.

[0021] Determine the curve type. If the curve type is an S-shaped curve, execute step S4, including:

[0022] If the curve type is an S-shaped curve, select the direction of the S-shaped curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point, the fifth control point, the sixth control point, the seventh control point and the eighth control point on the directed line segment path of the S-shaped curve, draw the first line segment based on the first control point and the second control point, draw the fourth circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, draw the fifth circular curve using a quadratic Bezier curve based on the fifth control point, the sixth control point and the seventh control point, draw the third line segment based on the seventh control point and the eighth control point, and draw the S-shaped curve interval based on the first line segment, the fourth circular curve, the second line segment, the fifth circular curve and the third line segment.

[0023] Preferably, if the curve type is a vertical orthogonal curve, the interval AB is selected as the vertical orthogonal curve, the directed line segment path of the interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a first circular curve, the first circular curve is a 1 / 4 circular curve, and the direction of the vertical orthogonal curve is determined.

[0024] If the vertical orthogonal curve is oriented downward and to the right, then determine x a With x b The size of

[0025] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (2):

[0026]

[0027] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (3):

[0028]

[0029] If the direction of the vertical orthogonal curve is upward and right, then determine x a With x b The size of

[0030] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (4):

[0031]

[0032] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (5):

[0033]

[0034] If the vertical orthogonal curve is oriented to the lower left, then determine x a With x b The size of

[0035] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (6):

[0036]

[0037] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (7):

[0038]

[0039] If the vertical orthogonal curve is oriented to the upper left, then determine xa With x b The size of

[0040] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (8):

[0041]

[0042] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (9):

[0043]

[0044] Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular orthogonal curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular orthogonal curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular orthogonal curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular orthogonal curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular orthogonal curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y6) is the coordinate of the terminal station B of interval AB, R1 is the radius of the first circular curve, and r is the distance from A to A1.

[0045] Preferably, if the curve type is a horizontal oblique curve, select interval AB as the horizontal oblique curve, the directed line segment path of interval AB is composed of a first control point A1, a second control point A2, a third control point A3, a fourth control point A4 and a fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a second circular curve with an angle of θ2, and the direction of the horizontal oblique curve is determined.

[0046] If the horizontal oblique curve is oriented downward to the right, then determine x a With x b The size of

[0047] If x a <x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (10):

[0048]

[0049] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (11):

[0050]

[0051] If the horizontal oblique curve is oriented to the upper right, then determine x a With x b The size of

[0052] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (12):

[0053]

[0054] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (13):

[0055]

[0056] If the horizontal oblique curve is oriented to the lower left, then determine x a With x b The size of

[0057] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (14):

[0058]

[0059] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (15):

[0060]

[0061] If the horizontal oblique curve is oriented to the upper left, then determine x a With x b The size of

[0062] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (16):

[0063]

[0064] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (17):

[0065]

[0066] If the second circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are calculated according to formula (18):

[0067]

[0068] If the second circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (19):

[0069]

[0070] Among them, (x1, y1) is the coordinate of the first control point A1 on the horizontal oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the horizontal oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the horizontal oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the horizontal oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the horizontal oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ2 is the arc angle of the second circular curve, R2 is the radius of the second circular curve, k1 is the distance of the inner ring control point A2A3, h1 is the height difference of the inner ring control point A2A3, k2 is the distance of the outer ring control point A3A4, and h2 is the height difference of the outer ring control point A3A4.

[0071] Preferably, if the curve type is a vertical oblique curve, the interval AB is selected as a vertical oblique curve, the directed line segment path of the interval AB is composed of a first control point A1, a second control point A2, a third control point A3, a fourth control point A4 and a fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a third circular curve with an angle of θ3,

[0072] If the third circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are calculated according to formula (20):

[0073]

[0074] If the third circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (21):

[0075]

[0076] Determine the direction of the vertical oblique curve. If the direction of the vertical oblique curve is downward and right, then determine x a With x b The size of

[0077] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (22):

[0078]

[0079] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (23):

[0080]

[0081] If the direction of the vertical oblique curve is upward and right, then determine x a With x b The size of

[0082] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (24):

[0083]

[0084] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (25):

[0085]

[0086] If the direction of the vertical oblique curve is downward and left, then determine x a With x b The size of

[0087] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (26):

[0088]

[0089] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (27):

[0090]

[0091] If the direction of the vertical oblique curve is upward left, then determine x a With x b The size of

[0092] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (28):

[0093]

[0094] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (29):

[0095]

[0096] Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ3 is the arc angle of the third circular curve, R3 is the radius of the third circular curve, k1 is the distance of the inner ring control point A2A3, h1 is the height difference of the inner ring control point A2A3, k2 is the distance of the outer ring control point A3A, and h2 is the height difference of the outer ring control point A3A4.

[0097] Preferably, if the curve type is an S-shaped curve, select interval AB as the S-shaped curve, the S-shaped curve is composed of two reverse orthogonal rounded curves, the directed line segment path of interval AB is composed of a first control point A1, a second control point A2, a third control point A3, a fourth control point A4, a fifth control point A5, a sixth control point A6, a seventh control point A7 and an eighth control point A8, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a fourth circular curve, the fourth circular curve is a 1 / 4 circular curve, the sixth control point A6 is the intersection of A4A5 and A7A8, A5A7 is a fifth circular curve, the fifth circular curve is a 1 / 4 circular curve, and the direction of the S-shaped curve is determined.

[0098] If the direction of the S-shaped curve is horizontal, then determine x a With x b The size of

[0099] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (30):

[0100]

[0101] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (31):

[0102]

[0103] If the direction of the S-shaped curve is horizontal Z-shaped, then determine x a With x b The size of

[0104] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (32):

[0105]

[0106] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (33):

[0107]

[0108] If the direction of the S-shaped curve is vertical, then determine x a With x b The size of

[0109] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (34):

[0110]

[0111] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (35):

[0112]

[0113] If the direction of the S-shaped curve is vertical Z-shaped, then determine x a With x b The size of

[0114] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (36):

[0115]

[0116] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (37):

[0117]

[0118] Among them, (x1, y1) is the coordinate of the first control point A1 on the s-curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the s-curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the s-curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the s-curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the s-curve directed line segment path, (x6, y6) is the coordinate of the sixth control point A6 on the s-curve directed line segment path, (x7, y7) is the coordinate of the seventh control point A4 on the s-curve directed line segment path, (x8, y8) is the coordinate of the eighth control point A8 on the s-curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R 45 are the radii of the fourth and fifth circular curves, and r is the distance from A to A1.

[0119] Preferably, the step S1 of reading the electronic map data information includes: reading rail transit line information, station information, and section information from a local data file, and reading a line network base map file.

[0120] The parameter setting for drawing stations, drawing intervals and coordinate systems includes: setting parameters for the radius, line width and line spacing of the drawing stations, setting parameters for the arc curve radius of the drawing interval, such as the 1 / 4 arc curve radius in a vertical orthogonal curve or an S-shaped curve, and the oblique arc curve radius, such as the arc curve radius in a horizontal oblique curve or a vertical oblique curve, line width and font size, and setting the coordinate system to a screen coordinate system with the coordinate origin in the upper left corner of the screen and the Y-axis facing downward.

[0121] Compared with the prior art, the method for generating a two-way electronic map of rail transit based on parameterization provided by the present invention has the following beneficial effects: firstly, the electronic map data information is read and displayed in the drawing area, and the parameters of the station to be drawn, the section to be drawn and the coordinate system are set; then, the station is drawn according to the line selected for drawing, and the straight line section and the curve section are drawn according to the line and section selected for drawing, and the curve type is judged. If the curve type is a vertical orthogonal curve, a horizontal oblique curve or a vertical oblique curve, the direction of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve is selected, and the vertical orthogonal curve is calculated. The coordinates of n control points on the directed line segment path of a line, a horizontal oblique curve or a vertical oblique curve, n is an integer greater than or equal to 5, and a vertical orthogonal curve interval, a horizontal oblique curve interval or a vertical oblique curve interval is drawn based on the coordinates of n control points; if the curve type is an S-shaped curve, the direction of the S-shaped curve is selected, and the coordinates of m control points on the directed line segment path of the S-shaped curve are calculated, m is an integer greater than or equal to 8, and the S-shaped curve interval is drawn based on the coordinates of m control points; the station name label and the station space position are selected, and the label position coordinates are automatically calculated according to the length and font size of the station name label, and the label position is displayed. The present invention can realize the automatic calculation of the starting point and the end point of the interval according to the straight line segments with different slopes through the above method, ensuring that the spacing of each interval is the same, the graphics are beautiful and accurate, and no manual adjustment is required. It can face various directions of straight lines and curves, quickly draw electronic map data, and intelligently arrange station name labels, thereby improving the drawing efficiency of two-way electronic maps of rail transit.

[0122] The present invention also provides a parameterized rail transit bidirectional electronic map generation system, the system comprising:

[0123] The parameter setting module is used to read the electronic map data information, display it in the drawing area, and set the parameters of the stations to be drawn, the sections to be drawn, and the coordinate system;

[0124] The interval judgment module is used to draw stations according to the selected lines, draw straight lines and curves according to the selected lines and intervals, and judge the curve type.

[0125] An orthogonal or oblique curve interval drawing module, for selecting the orientation of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve if the curve type is a vertical orthogonal curve, a horizontal oblique curve or a vertical oblique curve, calculating the coordinates of n control points on the directed line segment path of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, where n is an integer greater than or equal to 5, and drawing the vertical orthogonal curve interval, the horizontal oblique curve interval or the vertical oblique curve interval based on the coordinates of the n control points;

[0126] An S-curve interval drawing module, for selecting the direction of the S-curve if the curve type is an S-curve, calculating the coordinates of m control points on the directed line segment path of the S-curve, where m is an integer greater than or equal to 8, and drawing the S-curve interval based on the coordinates of the m control points;

[0127] The station name label drawing module is used to select the station name label and the station space position, automatically calculate the label position coordinates according to the station name label length and font size, and display the label position.

[0128] Compared with the prior art, the beneficial effects of a parameterized rail transit bidirectional electronic map generation system provided by the present invention are the same as the beneficial effects of a parameterized rail transit bidirectional electronic map generation method described in the above technical solution, which will not be repeated here.

[0129] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0130] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0131] Figure 1 A schematic diagram of a one-way straight line interval and a one-way curve interval in the prior art is shown;

[0132] Figure 2 A schematic diagram of a bidirectional straight line interval and a bidirectional curve interval drawn in the prior art is shown;

[0133] Figure 3A flow chart of a parameterized rail transit bidirectional electronic map generation method provided by an embodiment of the present invention is shown;

[0134] Figure 4 A schematic diagram of a parameterized rail transit bidirectional electronic map generation method provided by an embodiment of the present invention is shown;

[0135] Figure 5 A schematic diagram of drawing straight line intervals and curved line intervals according to selected lines and intervals provided in an embodiment of the present invention is shown;

[0136] Figure 6 A schematic diagram showing the starting point and end point of a straight line interval provided by an embodiment of the present invention;

[0137] Figure 7 A schematic diagram of the position of the control point when the vertical orthogonal curve provided by the embodiment of the present invention is oriented to the lower right is shown;

[0138] Figure 8 A schematic diagram showing the positions of control points when the vertical orthogonal curve provided by an embodiment of the present invention is oriented to the upper right;

[0139] Fig. 9 A schematic diagram of the control point position when the vertical orthogonal curve provided by an embodiment of the present invention is oriented to the lower left;

[0140] Fig.10 A schematic diagram of the position of the control point when the vertical orthogonal curve provided by the embodiment of the present invention is oriented to the upper left is shown;

[0141] Fig.11 A schematic diagram showing the positions of control points of a horizontal oblique curve provided by an embodiment of the present invention is shown;

[0142] Fig.12 A schematic diagram of the control point position when the horizontal oblique curve provided by an embodiment of the present invention is oriented to the lower right is shown;

[0143] Fig.13 A schematic diagram showing the position of control points when the horizontal oblique curve provided by an embodiment of the present invention is oriented to the upper right;

[0144] Fig.14 A schematic diagram showing the positions of control points when the horizontal oblique curve provided by an embodiment of the present invention is oriented to the lower left;

[0145] Fig.15 A schematic diagram showing the position of control points when the horizontal oblique curve provided by an embodiment of the present invention is oriented to the upper left;

[0146] Fig.16 A schematic diagram showing the positions of control points of a vertical oblique curve provided by an embodiment of the present invention is shown;

[0147] Fig.17 A schematic diagram of the position of the control point when the vertical oblique curve provided by the embodiment of the present invention is oriented to the lower right is shown;

[0148] Fig.18 A schematic diagram showing the position of control points when the vertical oblique curve provided by an embodiment of the present invention is oriented to the upper right;

[0149] Fig.19 A schematic diagram of the position of the control point when the vertical oblique curve provided by the embodiment of the present invention is oriented to the lower left is shown;

[0150] Fig. 20 A schematic diagram of the position of the control point when the vertical oblique curve provided by the embodiment of the present invention is oriented to the upper left is shown;

[0151] Fig.21 A schematic diagram showing the positions of control points of a lateral S-shaped curve provided by an embodiment of the present invention is shown;

[0152] Fig. 22 A schematic diagram showing the positions of control points of a lateral Z-shaped curve provided by an embodiment of the present invention is shown;

[0153] Fig.23 A schematic diagram showing the positions of control points of a longitudinal S-shaped curve provided by an embodiment of the present invention is shown;

[0154] Fig.24 A schematic diagram showing the positions of control points of a longitudinal Z-curve provided by an embodiment of the present invention is shown;

[0155] Fig.25 A diagram showing the relationship between station labels and stations in different directions provided by an embodiment of the present invention;

[0156] Fig.26 The electronic map of Chongqing rail transit network drawn by using the rail transit bidirectional electronic map generation method provided by the present invention is shown in an embodiment of the present invention;

[0157] Fig. 27 A schematic diagram of selecting Chaotianmen Station on Line 1, clicking to pick coordinates, and adjusting the station location coordinates on a map provided by an embodiment of the present invention is shown;

[0158] Fig.28 It shows a schematic diagram of automatically drawing straight lines and curves between Xingfu Square and Renhe section of Line 5 provided by an embodiment of the present invention;

[0159] Fig.29 A schematic diagram of a case of drawing a vertical orthogonal curve between Line 5 and Chongguang-Hemu Road provided by an embodiment of the present invention is shown;

[0160] Fig.30A schematic diagram of a case of drawing a vertical oblique curve for selecting Line 3 and the Linlong-Jiukili section provided in an embodiment of the present invention is shown;

[0161] Fig.31 A schematic diagram of a case of drawing a horizontal oblique curve between the Airport Line and the Airport Square-Gaobao Lake section provided in an embodiment of the present invention is shown;

[0162] Fig.32 A schematic diagram of a case of drawing an S-shaped curve between Line 6 and Dazhulin-Photoelectric Park provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0163] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0164] The "multiple" mentioned in this embodiment refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The words "exemplary" or "for example" are used to indicate examples, illustrations or explanations, and are intended to present related concepts in a specific way, and should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions.

[0165] In the prior art, when drawing the station-to-station bidirectional interval curve, manual adjustment is usually the main method, and the drawing accuracy and efficiency are relatively low. Based on this, the embodiment of the present invention provides a parameterized rail transit bidirectional electronic map generation method. Figure 3 A flow chart of a method for generating a parameterized two-way electronic map of rail transit provided by an embodiment of the present invention is shown. Figure 2 FIG. 1 is a schematic diagram showing a method for generating a parameterized two-way electronic map of rail transit provided by an embodiment of the present invention. Figure 3-Figure 4 As shown, the method includes:

[0166] Step S1: Read the electronic map data information, display it in the drawing area, and set parameters for the stations to be drawn, the sections to be drawn, and the coordinate system.

[0167] It should be noted that before drawing an electronic map, data reading and parameter setting are required. Read the electronic map data information, and set the parameters for drawing stations, drawing intervals, and the coordinate system. Specifically, first read the rail transit line information, station information, and interval information from the local data file, read the line network base map file, and display it in the drawing area. Then set the drawing station radius, line width, line spacing, arc curve radius of the drawing interval, oblique arc curve radius, line width, and font size parameters, and set the coordinate system to the screen coordinate system. The coordinate origin of the screen coordinate system is the upper left corner of the screen, and the Y-axis direction is downward.

[0168] Step S2: Draw the station according to the selected line, such as Figure 5 As shown, a straight line interval and a curve interval are drawn according to the selected line and interval, and the curve type is determined. If the curve type is a vertical orthogonal curve, a horizontal oblique curve or a vertical oblique curve, step S3 is executed; if the curve type is an S-shaped curve, step S4 is executed.

[0169] It should be noted that drawing stations according to the selected line includes: selecting the line to be drawn, displaying a list of stations to be drawn, and after selecting a station, clicking the station above the base map to automatically pick up the station coordinates and display the drawn station in the drawing area.

[0170] like Figure 5 As shown, drawing a straight line section according to the selected line and section includes: for example, selecting line 1 and the corresponding AB section, selecting the AB section as a straight line section, calculating the coordinates of the starting point and end point of the section drawing according to the relative position of the spatial coordinates of the two stations, and automatically drawing the section in this direction. Figure 6 As shown, the interval AB is selected as a straight line interval, and the coordinates of the starting station A of the interval AB are (x a ,y a ), the coordinates of the terminal station B of interval AB are (x b ,y b ), the distance between A and B is The directed line segment of interval AB is CD, and the coordinates of the starting point C of the directed line segment of interval AB are (x c ,y c ), the coordinates of the end point D of the directed line segment are (x b ,y b ), the distance between AC is r, and the coordinates of the starting point C and the end point D of the directed line segment of interval AB are calculated according to formula (1). The straight line interval AB is drawn according to the coordinates of the starting point C and the end point D of the directed line segment:

[0171]

[0172] Among them, (x a ,y a) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, (x c ,y c ) is the coordinate of the starting point C of the directed line segment in interval AB, (x d ,y d ) are the coordinates of the end point D of the directed line segment in interval AB.

[0173] Step S3: Determine the curve type. If the curve type is a vertical orthogonal curve, a horizontal oblique curve, or a vertical oblique curve, execute step S3, select the direction of the vertical orthogonal curve, the horizontal oblique curve, or the vertical oblique curve, calculate the coordinates of n control points on the directed line segment path of the vertical orthogonal curve, the horizontal oblique curve, or the vertical oblique curve, where n is an integer greater than or equal to 5, and draw the vertical orthogonal curve interval, the horizontal oblique curve interval, or the vertical oblique curve interval based on the coordinates of the n control points.

[0174] It should be noted that if the curve type is a vertical orthogonal curve, the direction of the vertical orthogonal curve is selected, the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical orthogonal curve are calculated, the first line segment is drawn based on the first control point and the second control point, the first circular curve is drawn based on the second control point, the third control point and the fourth control point using a quadratic Bezier curve, the second line segment is drawn based on the fourth control point and the fifth control point, and the vertical orthogonal curve interval is drawn based on the first line segment, the first circular curve and the second line segment. Specifically, if the curve type is a vertical orthogonal curve, interval AB is selected as a vertical orthogonal curve, the directed line segment path of interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is the first circular curve, the first circular curve is an inner ring 1 / 4 circular curve, and the coordinates of the starting station A are known to be (x a ,y a ) and the coordinates of the terminal station B are (x b ,y b ), the radius of the inner circle curve is R1, determine the direction of the vertical orthogonal curve,

[0175] like Figure 7 As shown, if the direction of the vertical orthogonal curve is downward and right, then determine x a With x b The size of

[0176] If x a <x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (2):

[0177]

[0178] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (3):

[0179]

[0180] like Figure 8 As shown, if the direction of the vertical orthogonal curve is upward and right, then determine x a With x b The size of

[0181] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (4):

[0182]

[0183] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (5):

[0184]

[0185] like Fig. 9 As shown, if the direction of the vertical orthogonal curve is lower left, then determine x a With x b The size of

[0186] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (6):

[0187]

[0188] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (7):

[0189]

[0190] like Fig.10 As shown, if the direction of the vertical orthogonal curve is upward left, then determine x a With x b The size of x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (8):

[0191]

[0192] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (9):

[0193]

[0194] Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular orthogonal curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular orthogonal curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular orthogonal curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular orthogonal curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular orthogonal curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R1 is the radius of the first circular curve, and r is the distance from A to A1.

[0195] If the curve type is a horizontal oblique curve, select the direction of the horizontal oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the horizontal oblique curve, draw the first line segment based on the first control point and the second control point, draw the second circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the horizontal oblique curve interval based on the first line segment, the second circular curve and the second line segment. Specifically, if Fig.11 As shown, if the curve type is a horizontal oblique curve, the interval AB is selected as a horizontal oblique curve, the directed line segment path of the interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a second circular curve with an angle of θ2, the radius of the second circular curve is R2, and the coordinates of the starting point A are known to be (x a ,y a ) and the coordinates of the terminal station B are (x b ,y b ), determine the direction of the horizontal oblique curve,

[0196] like Fig.12 As shown, if the direction of the horizontal oblique curve is downward and right, then determine x a With x b The size of

[0197] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (10):

[0198]

[0199] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (11):

[0200]

[0201] like Fig.13 As shown, if the direction of the horizontal oblique curve is upward right, then determine x a With x b The size of

[0202] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (12):

[0203]

[0204] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (13):

[0205]

[0206] like Fig.14 As shown, if the direction of the horizontal oblique curve is to the lower left, then determine x a With x b The size of

[0207] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (14):

[0208]

[0209] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (15):

[0210]

[0211] like Fig.15 As shown, if the direction of the horizontal oblique curve is upward left, then determine x a With x b The size of

[0212] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (16):

[0213]

[0214] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (17):

[0215]

[0216] If the second circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are as follows: Fig.12 As shown on the left, the side with the smaller radius of the curve is the inner ring, and the radius of the inner ring is R2, which is calculated according to formula (18):

[0217]

[0218] If the second circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are as follows: Fig.12 As shown on the right, the side with the larger radius of the curve is the outer ring, and the radius of the outer ring is R2+2r, which is calculated according to formula (19):

[0219]

[0220] Among them, (x1, y1) is the coordinate of the first control point A1 on the horizontal oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the horizontal oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the horizontal oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the horizontal oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the horizontal oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ2 is the arc angle of the second circular curve, R2 is the radius of the second circular curve, k1 is the distance of the inner ring control point A2A3, h1 is the height difference of the inner ring control point A2A3, k2 is the distance of the outer ring control point A3A4, and h2 is the height difference of the outer ring control point A3A4.

[0221] If the curve type is a vertical oblique curve, select the direction of the vertical oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical oblique curve, draw the first line segment based on the first control point and the second control point, draw the third circular curve based on the second control point, the third control point and the fourth control point using a quadratic Bezier curve, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical oblique curve interval based on the first line segment, the third circular curve and the second line segment. Specifically, if the curve type is a vertical oblique curve, select interval AB as the vertical oblique curve, the directed line segment path of interval AB consists of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, the radius of the third circular curve is R3, and the coordinates of the starting station A are known to be (xa ,y a ) and the coordinates of the terminal station B are (x b ,y b ), A2A4 is a third circular curve with an included angle of θ3, and the third circular curve can be an inner ring or an outer ring.

[0222] like Fig.16 As shown, the left figure is the inner ring and the right figure is the outer ring. When the third circular curve is the inner ring, the distance k1 of the inner ring control point A2A3 and the distance h1 from A4 to A2A3 are calculated according to formula (20):

[0223]

[0224] If the third circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (21):

[0225]

[0226] Determine the direction of the vertical oblique curve, such as Fig.17 As shown, if the direction of the vertical oblique curve is downward and right, then determine x a With x b The size of

[0227] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (22):

[0228]

[0229] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (23):

[0230]

[0231] like Fig.18 As shown, if the direction of the vertical oblique curve is upward right, then determine x a With x b The size of

[0232] If x a <x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (24):

[0233]

[0234] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (25):

[0235]

[0236] like Fig.19 As shown, if the direction of the vertical oblique curve is lower left, then determine x a With x b The size of

[0237] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (26):

[0238]

[0239] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (27):

[0240]

[0241] like Fig. 20 As shown, if the direction of the vertical oblique curve is upward left, then determine x a With x b The size of

[0242] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (28):

[0243]

[0244] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (29):

[0245]

[0246] Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ3 is the arc angle of the third circular curve, R3 is the radius of the third circular curve, k1 is the distance of the inner ring control point A2A3, h1 is the height difference of the inner ring control point A2A3, k2 is the distance of the outer ring control point A3A, and h2 is the height difference of the outer ring control point A3A4.

[0247] Step S4: Select the direction of the S-shaped curve, calculate the coordinates of m control points on the directed line segment path of the S-shaped curve, where m is an integer greater than or equal to 8, and draw the S-shaped curve interval based on the coordinates of the m control points.

[0248] It should be noted that if the curve type is an S-shaped curve, the direction of the S-shaped curve is selected, the coordinates of the first control point, the second control point, the third control point, the fourth control point, the fifth control point, the sixth control point, the seventh control point and the eighth control point on the directed line segment path of the S-shaped curve are calculated, the first line segment is drawn based on the first control point and the second control point, the fourth circular curve is drawn using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, the second line segment is drawn based on the fourth control point and the fifth control point, the fifth circular curve is drawn using a quadratic Bezier curve based on the fifth control point, the sixth control point and the seventh control point, the third line segment is drawn based on the seventh control point and the eighth control point, and the S-shaped curve interval is drawn based on the first line segment, the fourth circular curve, the second line segment, the fifth circular curve and the third line segment.

[0249] Specifically, if the curve type is an S-curve, select interval AB as the S-curve, the S-curve is composed of two reverse orthogonal rounded curves, and the coordinates of the starting station A are known to be (x a ,y a ) and the coordinates of the terminal station B are (x b,y b ), the directed line segment path of interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a fourth circular curve, the fourth circular curve is a 1 / 4 circular curve, the sixth control point A6 is the intersection of two straight line segments A4A5 and A7A8, A5A7 is a fifth circular curve, the fifth circular curve is a 1 / 4 circular curve, the radius of the inner ring of the fourth circular curve and the fifth circular curve is R 45 , determine the direction of the S-curve,

[0250] like Fig.21 As shown, if the direction of the S-shaped curve is horizontal S-shaped, then x a With x b The size of

[0251] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (30):

[0252]

[0253] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (31):

[0254]

[0255] like Fig. 22 As shown, if the direction of the S-shaped curve is horizontal Z-shaped, then determine x a With x b The size of

[0256] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (32):

[0257]

[0258] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (33):

[0259]

[0260] like Fig.23 As shown, if the direction of the S-shaped curve is vertical S-shaped, then x a With x b The size of

[0261] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (34):

[0262]

[0263] If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (35):

[0264]

[0265] like Fig.24 As shown, if the direction of the S-shaped curve is vertical Z-shaped, then x a With x b The size of

[0266] If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (36):

[0267]

[0268] If x a >x b, calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (37):

[0269]

[0270] Among them, (x1, y1) is the coordinate of the first control point A1 on the s-curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the s-curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the s-curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the s-curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the s-curve directed line segment path, (x6, y6) is the coordinate of the sixth control point A6 on the s-curve directed line segment path, (x7, y7) is the coordinate of the seventh control point A7 on the s-curve directed line segment path, (x8, y8) is the coordinate of the eighth control point A8 on the s-curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R 45 are the radii of the fourth and fifth circular curves, and r is the distance from A to A1.

[0271] Furthermore, the quadratic Bezier curve formula is as follows:

[0272] B(t)=(1-t) 2 A0+2t(1-t)A1+t 2 A2,t∈[0,1] (38)

[0273] Among them, A0, A1, A2 are three points in a given plane, which can be three points on the first circular curve, the second circular curve, the third circular curve, the fourth circular curve or the fifth circular curve. A0 is the starting point of the curve, A2 is the end point of the curve, A1 is the control point, and the value range of t is [0,1].

[0274] Step S5: Select the station name label and the station space position, automatically calculate the label position coordinates according to the station name label length and font size, and display the label position.

[0275] It should be noted that when drawing the station name label, you can select the label and the spatial position of the station, such as the west side, east side, north side, south side, southwest, northwest, southeast, northeast, etc. The label position coordinates are automatically calculated based on the length and font size of the station name label, and the label position is displayed.

[0276] Specifically, Fig.25 As shown, for example, if the coordinates of the station center position A(x a ,y a ), the number of characters in the station name is m, the width of the station font is s, the vertical distance from the center of the station to the station label is d, the length of the station label is L = m × s, calculate the coordinates of the upper left corner of the station label B (x b ,y b ). First, select the relative position of the label and the station, and calculate the coordinates of B as follows.

[0277] North side: x b =x a -0.5L,y b =y a -ds

[0278] South side: x b =x a -0.5L,y b =y a +d

[0279] West side: x b =x a -Ld,y b =y a -0.5d

[0280] East side: x b =x a +d,y b =y a -0.5d

[0281] Northwest: x b =x a -dL,y b =y a -ds

[0282] Southwest: x b =x a -dL,y b =y a +d

[0283] Northeast: x b =x a +d,y b =y a -ds

[0284] Southeast: x b =x a +d,y b =y a +d

[0285] Implementation Cases

[0286] Taking Chongqing rail transit network as an example, the specific implementation steps and uses of the present invention are explained.

[0287] like Fig.26 As shown, the electronic map of Chongqing rail transit network drawn by the method of the present invention is

[0288] Combining the specific case of Chongqing rail transit network, the implementation details are as follows:

[0289] The step 1: reading the coordinate data of the station.

[0290] Step 2: Parameter setting function

[0291] The radius of the arc curve is R=16, the distance from the start point of the section to the center of the station is r=2, the radius of the oblique arc curve is R2=20, the line width is w=2, the font size is s=11, and the vertical distance from the center of the station to the station label is d=11.

[0292] The functions of step 3 are as follows:

[0293] like Fig. 27 As shown, select Chaotianmen Station on Line 1 and click on the coordinate picker to adjust the station location coordinates on the map.

[0294] The functions of step 4 are as follows:

[0295] Select the interval as a straight line interval, calculate the starting and ending coordinates of the interval according to the relative positions of the spatial coordinates of the two stations, and automatically draw the interval in that direction.

[0296] like Fig.28 As shown, select Line 5, Xingfu Square-Renhe section, select the straight line type, and the straight line curve will be automatically drawn.

[0297] 5. Draw the curve interval

[0298] 5.2 Example of drawing vertical orthogonal curves:

[0299] like Fig.29 As shown, select Line 5, Chongguang-Hemu Road section, the section type is orthogonal curve, the curve direction is upper left, then the coordinates of the 5 control points on the curve path are automatically calculated to complete the drawing of the curve.

[0300] like Fig.26 As shown in the figure, the coordinates of the starting station are A (1062.4, 451.2) and the ending station are B (1023.2, 489.6). The coordinates of the five control points in the middle are: A1 (1060.4, 451.2), A2 (1060.4, 471.6), A3 (1060.4, 487.6), A4 (1044.4, 487.6), and A5 (1023.2, 487.6). The interval drawn is as follows: Fig.26 This is shown in the red area in the figure on the right.

[0301] 5.3 Example of drawing vertical oblique curves:

[0302] like Fig.30 As shown, select Line 3, Linlong-Jiu Kilometers section, the section type is vertical oblique intersection, the curve direction is upper left, select Jiu Kilometers-Chalukou section, calculate the slope of the oblique line, and automatically calculate the coordinates of the 5 control points on the curve path.

[0303] like Fig. 27 As shown, the coordinates of the starting station are A (1188.8, 1252.8) and the ending station are B (1170.4, 1301.6); the coordinates of the five control points in the middle are: A1 (1186.8, 1252.8), A2 (1186.8, 1269.71), A3 (1186.8, 1282.77), A4 (1177.47, 1291.91), A5 (1169.0, 1300.2); the interval drawn is as follows Fig. 27 This is shown in the red area in the right figure.

[0304] 5.4 Example of drawing horizontal oblique curve:

[0305] like Fig.31 Therefore, select the Airport Line, Airport Square-Gaobao Lake section, the section type is horizontal oblique, the curve direction is lower right, select Shuangfeng Bridge-Airport Square section, calculate the slope of the oblique line, and automatically calculate the coordinates of the 5 control points on the curve path to complete the drawing of the curve.

[0306] like Fig.31 The coordinates of the starting station are A (1673.6, 159.2) and the ending station are B (1734.4, 126.4). The coordinates of the five control points in the middle are: A1 (1675.27, 160.87), A2 (1687.19, 142.79), A3 (1696.67, 128.4), A4 (1713.9, 128.4), and A5 (1734.4, 128.4). The interval obtained is as follows: Fig.28 This is shown in the red area in the right figure.

[0307] 5.5 S-curve drawing example:

[0308] like Fig.32 As shown, select Line 6, Dazhulin - Optoelectronic Park, and set the interval type to longitudinal S-type. The coordinates of the seven control points on the curve path will be automatically calculated to complete the drawing of the curve.

[0309] like Fig.32As shown, the coordinates of the starting station A (682.4, 494.4) and the ending station B (772.4, 528.8) are known; the coordinates of the eight control points in the middle are: A1 (680.4, 494.4), A2 (680.4, 493.6), A3 (680.4, 513.6), A4 (700.4, 513.6), A5 (754.4, 513.6), A6 (770.4, 513.6); A7 (770.4, 529.6); A8 (770.4, 528.8); the interval drawn is as follows Fig.32 As shown in the red interval on the right. Compared with the prior art, the parameterized rail transit bidirectional electronic map generation method provided by the embodiment of the present invention has the following beneficial effects: the present invention can realize the automatic calculation of the starting point and the end point of the interval according to the straight line segments with different slopes through the above method, ensuring that the spacing of each interval is the same, the graphics are beautiful and accurate, and no manual adjustment is required. It can quickly draw electronic map data in the face of various directions of straight lines and curves, and intelligently arrange station name labels, thereby improving the drawing efficiency of the rail transit bidirectional electronic map.

[0310] The embodiment of the present invention further provides a parameterized rail transit bidirectional electronic map generation system, the system comprising:

[0311] The parameter setting module is used to read the electronic map data information, display it in the drawing area, and set the parameters of the stations to be drawn, the sections to be drawn, and the coordinate system;

[0312] The interval judgment module is used to draw stations according to the selected lines, draw straight lines and curves according to the selected lines and intervals, and judge the curve type.

[0313] An orthogonal or oblique curve interval drawing module, for selecting the orientation of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve if the curve type is a vertical orthogonal curve, a horizontal oblique curve or a vertical oblique curve, calculating the coordinates of n control points on the directed line segment path of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, where n is an integer greater than or equal to 5, and drawing the vertical orthogonal curve interval, the horizontal oblique curve interval or the vertical oblique curve interval based on the coordinates of the n control points;

[0314] An S-curve interval drawing module, for selecting the direction of the S-curve if the curve type is an S-curve, calculating the coordinates of m control points on the directed line segment path of the S-curve, where m is an integer greater than or equal to 8, and drawing the S-curve interval based on the coordinates of the m control points;

[0315] The station name label drawing module is used to select the station name label and the station space position, automatically calculate the label position coordinates according to the station name label length and font size, and display the label position.

[0316] Compared with the prior art, the beneficial effects of a parameterized rail transit bidirectional electronic map generation system provided by an embodiment of the present invention are the same as the beneficial effects of a parameterized rail transit bidirectional electronic map generation method described in the above technical solution, which will not be repeated here.

[0317] In addition, an embodiment of the present invention further provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of an embodiment of a method for generating a parameterized two-way electronic map of rail transit is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0318] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned method for generating a parameterized two-way electronic map of rail transit are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0319] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technical solution that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A parameterized rail transit bidirectional electronic map generation method, characterized in that: include: Step S1: Read the electronic map data information, display it in the drawing area, and set the parameters of the station to be drawn, the section to be drawn and the coordinate system; Step S2: Draw a station according to the selected line, draw a straight section and a curve section according to the selected line and section, and determine the curve type. If the curve type is a vertical orthogonal curve, a horizontal oblique curve, or a vertical oblique curve, execute step S3; if the curve type is an S-shaped curve, execute step S4; Step S3: selecting the orientation of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, calculating the coordinates of n control points on the directed line segment path of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, where n is an integer greater than or equal to 5, and drawing the vertical orthogonal curve interval, the horizontal oblique curve interval or the vertical oblique curve interval based on the coordinates of the n control points; Step S4: selecting the direction of the S-shaped curve, calculating the coordinates of m control points on the directed line segment path of the S-shaped curve, where m is an integer greater than or equal to 8, and drawing the S-shaped curve interval based on the coordinates of the m control points; Step S5: Select the station name label and the station space position, automatically calculate the label position coordinates according to the station name label length and font size, and display the label position; Drawing a straight line interval according to the selected line and interval in step S2 includes: Select interval AB as a straight line interval, and the coordinates of the starting station A of interval AB are (x a ,y a ), the coordinates of the terminal station B of interval AB are (x b ,y b ), the coordinates of the starting point C of the directed line segment in interval AB are (x c ,y c ), the coordinates of the end point D of the directed line segment are (x d ,y d ), the distance between AC is r, and the coordinates of the starting point C and the end point D of the directed line segment of interval AB are calculated according to formula (1). The straight line interval AB is drawn according to the coordinates of the starting point C and the end point D of the directed line segment. Among them, the distance between A and B is In step S2, a curve interval is drawn according to the selected line and interval, and the curve type is determined. If the curve type is a vertical orthogonal curve, a horizontal oblique curve, or a vertical oblique curve, step S3 is executed, including: If the curve type is a vertical orthogonal curve, select the direction of the vertical orthogonal curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical orthogonal curve, draw the first line segment based on the first control point and the second control point, draw the first circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical orthogonal curve interval based on the first line segment, the first circular curve and the second line segment; If the curve type is a horizontal oblique curve, select the direction of the horizontal oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the horizontal oblique curve, draw the first line segment based on the first control point and the second control point, draw the second circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the horizontal oblique curve interval based on the first line segment, the second circular curve and the second line segment; If the curve type is a vertical oblique curve, select the direction of the vertical oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical oblique curve, draw the first line segment based on the first control point and the second control point, draw the third circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical oblique curve interval based on the first line segment, the third circular curve and the second line segment; In step S2, a curve interval is drawn according to the selected line and interval. Determine the curve type. If the curve type is an S-shaped curve, execute step S4, including: If the curve type is an S-shaped curve, select the direction of the S-shaped curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point, the fifth control point, the sixth control point, the seventh control point and the eighth control point on the directed line segment path of the S-shaped curve, draw the first line segment based on the first control point and the second control point, draw the fourth circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, draw the fifth circular curve using a quadratic Bezier curve based on the fifth control point, the sixth control point and the seventh control point, draw the third line segment based on the seventh control point and the eighth control point, and draw the S-shaped curve interval based on the first line segment, the fourth circular curve, the second line segment, the fifth circular curve and the third line segment; If the curve type is a vertical orthogonal curve, select interval AB as a vertical orthogonal curve, the directed line segment path of interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a first circular curve, and the first circular curve is a 1 / 4 circular curve. Determine the direction of the vertical orthogonal curve. If the vertical orthogonal curve is oriented downward and to the right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (2): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (3): If the direction of the vertical orthogonal curve is upward and right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (4): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (5): If the vertical orthogonal curve is oriented to the lower left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (6): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (7): If the vertical orthogonal curve is oriented to the upper left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (8): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (9): Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular orthogonal curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular orthogonal curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular orthogonal curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular orthogonal curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular orthogonal curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R1 is the radius of the first circular curve, and r is the distance from A to A1; If the curve type is a horizontal oblique curve, select interval AB as the horizontal oblique curve. The directed line segment path of interval AB consists of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5. The third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5. A2A4 is a second circular curve with an angle of θ2. Determine the direction of the horizontal oblique curve. If the horizontal oblique curve is oriented downward to the right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (10): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (11): If the horizontal oblique curve is oriented to the upper right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (12): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (13): If the horizontal oblique curve is oriented to the lower left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (14): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (15): If the horizontal oblique curve is oriented to the upper left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (16): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (17): If the second circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are calculated according to formula (18): If the second circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (19): Among them, (x1, y1) is the coordinate of the first control point A1 on the horizontal oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the horizontal oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the horizontal oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the horizontal oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the horizontal oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ2 is the arc angle of the second circular curve, and R2 is the radius of the second circular curve; If the curve type is a vertical oblique curve, select interval AB as a vertical oblique curve, the directed line segment path of interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a third circular curve with an angle of θ3, If the third circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are calculated according to formula (20): If the second circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (21): Determine the direction of the vertical oblique curve. If the direction of the vertical oblique curve is downward and right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (22): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (23): If the direction of the vertical oblique curve is upward and right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (24): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (25): If the direction of the vertical oblique curve is downward and left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (26): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (27): If the direction of the vertical oblique curve is upward left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (28): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (29): Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ3 is the arc angle of the third circular curve, and R3 is the radius of the third circular curve; If the curve type is an S-shaped curve, select interval AB as an S-shaped curve, the S-shaped curve is composed of two reverse orthogonal rounded curves, the directed line segment path of interval AB is composed of a first control point A1, a second control point A2, a third control point A3, a fourth control point A4, a fifth control point A5, a sixth control point A6, a seventh control point A7 and an eighth control point A8, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a fourth circular curve, the fourth circular curve is a 1 / 4 circular curve, the sixth control point A6 is the intersection of the two second line segments A4A5 and A7A8, A5A7 is a fifth circular curve, the fifth circular curve is a 1 / 4 circular curve, and the direction of the S-shaped curve is determined. If the direction of the S-shaped curve is horizontal, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (30): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (31): If the direction of the S-shaped curve is horizontal Z-shaped, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (32): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (33): If the direction of the S-shaped curve is vertical, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (34): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (35): If the direction of the S-shaped curve is vertical Z-shaped, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (36): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (37): Among them, (x1, y1) is the coordinate of the first control point A1 on the directed line segment path of the s-shaped curve, (x2, y2) are the coordinates of the second control point A2 on the s-curve directed line segment path, (x3, y3) are the coordinates of the third control point A3 on the s-curve directed line segment path, (x4, y4) are the coordinates of the fourth control point A4 on the s-curve directed line segment path, (x5, y5) are the coordinates of the fifth control point A5 on the s-curve directed line segment path, (x6, y6) are the coordinates of the sixth control point A6 on the s-curve directed line segment path, (x7, y7) are the coordinates of the seventh control point A7 on the s-curve directed line segment path, (x8, y8) are the coordinates of the eighth control point A8 on the s-curve directed line segment path, (x9, y10) are the coordinates of the eighth control point A9 on the s-curve directed line segment path, (x11, y12) are the coordinates of the eighth control point A10 on the s-curve directed line segment path, (x13, y14) are the coordinates of the eighth control point A11 on the s-curve directed line segment path, (x14, y15) are the coordinates of the eighth control point A12 on the s-curve directed line segment path, (x15, y16) are the coordinates of the eighth control point A13 on the s-curve directed line segment path, (x16, y17) are the coordinates of the eighth control point A14 on the s-curve directed line segment path, (x17, y18) are the coordinates of the eighth control point A15 on the s-curve directed line segment path, (x18, y19) are the coordinates of the eighth control point A16 on the s-curve directed line segment path, (x19, y11) are the coordinates of the eighth control point A17 on the a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R 45 are the radii of the fourth and fifth circular curves, and r is the distance from A to A1.

2. The method for generating a parameterized two-way electronic map of rail transit according to claim 1, characterized in that: The step S1 of reading the electronic map data information includes: reading rail transit line information, station information, and section information from a local data file, and reading a line network base map file. Parameter settings for drawing stations, drawing sections and coordinate systems include: setting parameters for the radius, line width and line spacing of drawing stations, setting parameters for the arc curve radius, oblique arc curve radius, line width and font size of drawing sections, and setting the coordinate system to have the coordinate origin in the upper left corner of the screen and the Y-axis facing downward.

3. A parameterized rail transit bidirectional electronic map generation system, characterized in that: include: The parameter setting module is used to read the electronic map data information, display it in the drawing area, and set the parameters of the stations to be drawn, the sections to be drawn, and the coordinate system; The interval judgment module is used to draw stations according to the selected lines, draw straight lines and curves according to the selected lines and intervals, and judge the curve type. Draw straight lines based on the lines and intervals you choose to draw. The intervals include: Select interval AB as a straight line interval, and the coordinates of the starting station A of interval AB are (x a ,y a ), the coordinates of the terminal station B of interval AB are (x b ,y b ), the coordinates of the starting point C of the directed line segment in interval AB are (x c ,y c ), the coordinates of the end point D of the directed line segment are (x d ,y d ), the distance between AC is r, and the coordinates of the starting point C and the end point D of the directed line segment of interval AB are calculated according to formula (1). The straight line interval AB is drawn according to the coordinates of the starting point C and the end point D of the directed line segment. Among them, the distance between A and B is An orthogonal or oblique curve interval drawing module, for selecting the orientation of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve if the curve type is a vertical orthogonal curve, a horizontal oblique curve or a vertical oblique curve, calculating the coordinates of n control points on the directed line segment path of the vertical orthogonal curve, the horizontal oblique curve or the vertical oblique curve, where n is an integer greater than or equal to 5, and drawing the vertical orthogonal curve interval, the horizontal oblique curve interval or the vertical oblique curve interval based on the coordinates of the n control points; An S-curve interval drawing module, for selecting the direction of the S-curve if the curve type is an S-curve, calculating the coordinates of m control points on the directed line segment path of the S-curve, where m is an integer greater than or equal to 8, and drawing the S-curve interval based on the coordinates of the m control points; The station name label drawing module is used to select the station name label and the station space position, automatically calculate the label position coordinates according to the station name label length and font size, and display the label position; If the curve type is a vertical orthogonal curve, select the direction of the vertical orthogonal curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical orthogonal curve, draw the first line segment based on the first control point and the second control point, draw the first circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical orthogonal curve interval based on the first line segment, the first circular curve and the second line segment; If the curve type is a horizontal oblique curve, select the direction of the horizontal oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the horizontal oblique curve, draw the first line segment based on the first control point and the second control point, draw the second circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the horizontal oblique curve interval based on the first line segment, the second circular curve and the second line segment; If the curve type is a vertical oblique curve, select the direction of the vertical oblique curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point and the fifth control point on the directed line segment path of the vertical oblique curve, draw the first line segment based on the first control point and the second control point, draw the third circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, and draw the vertical oblique curve interval based on the first line segment, the third circular curve and the second line segment; If the curve type is an S-shaped curve, select the direction of the S-shaped curve, calculate the coordinates of the first control point, the second control point, the third control point, the fourth control point, the fifth control point, the sixth control point, the seventh control point and the eighth control point on the directed line segment path of the S-shaped curve, draw the first line segment based on the first control point and the second control point, draw the fourth circular curve using a quadratic Bezier curve based on the second control point, the third control point and the fourth control point, draw the second line segment based on the fourth control point and the fifth control point, draw the fifth circular curve using a quadratic Bezier curve based on the fifth control point, the sixth control point and the seventh control point, draw the third line segment based on the seventh control point and the eighth control point, and draw the S-shaped curve interval based on the first line segment, the fourth circular curve, the second line segment, the fifth circular curve and the third line segment; If the curve type is a vertical orthogonal curve, select interval AB as a vertical orthogonal curve, the directed line segment path of interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a first circular curve, and the first circular curve is a 1 / 4 circular curve. Determine the direction of the vertical orthogonal curve. If the vertical orthogonal curve is oriented downward and to the right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (2): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (3): If the direction of the vertical orthogonal curve is upward and right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (4): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (5): If the vertical orthogonal curve is oriented to the lower left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (6): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (7): If the vertical orthogonal curve is oriented to the upper left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (8): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular orthogonal curve according to formula (9): Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular orthogonal curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular orthogonal curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular orthogonal curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular orthogonal curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular orthogonal curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R1 is the radius of the first circular curve, and r is the distance from A to A1; If the curve type is a horizontal oblique curve, select interval AB as the horizontal oblique curve. The directed line segment path of interval AB consists of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5. The third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5. A2A4 is a second circular curve with an angle of θ2. Determine the direction of the horizontal oblique curve. If the horizontal oblique curve is oriented downward to the right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (10): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (11): If the horizontal oblique curve is oriented to the upper right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (12): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (13): If the horizontal oblique curve is oriented to the lower left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (14): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (15): If the horizontal oblique curve is oriented to the upper left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (16): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the horizontal oblique curve according to formula (17): If the second circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are calculated according to formula (18): If the second circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (19): Among them, (x1, y1) is the coordinate of the first control point A1 on the horizontal oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the horizontal oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the horizontal oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the horizontal oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the horizontal oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ2 is the arc angle of the second circular curve, and R2 is the radius of the second circular curve; If the curve type is a vertical oblique curve, select interval AB as a vertical oblique curve, the directed line segment path of interval AB is composed of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a third circular curve with an angle of θ3, If the third circular curve is an inner ring, the distance k1 of the inner ring control point A2A3 and the height difference h1 of A2A3 are calculated according to formula (20): If the second circular curve is an outer ring, the distance k2 of the outer ring control point A3A4 and the height difference h2 of A3A4 are calculated according to formula (21): Determine the direction of the vertical oblique curve. If the direction of the vertical oblique curve is downward and right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (22): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (23): If the direction of the vertical oblique curve is upward and right, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (24): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (25): If the direction of the vertical oblique curve is downward and left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (26): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (27): If the direction of the vertical oblique curve is upward left, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (28): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4 and the fifth control point A5 on the directed line segment path of the perpendicular oblique curve according to formula (29): Among them, (x1, y1) is the coordinate of the first control point A1 on the perpendicular oblique curve directed line segment path, (x2, y2) is the coordinate of the second control point A2 on the perpendicular oblique curve directed line segment path, (x3, y3) is the coordinate of the third control point A3 on the perpendicular oblique curve directed line segment path, (x4, y4) is the coordinate of the fourth control point A4 on the perpendicular oblique curve directed line segment path, (x5, y5) is the coordinate of the fifth control point A5 on the perpendicular oblique curve directed line segment path, (x a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, r is the distance from A to A1, θ3 is the arc angle of the third circular curve, and R3 is the radius of the third circular curve; If the curve type is an S-shaped curve, select interval AB as an S-shaped curve, the S-shaped curve is composed of two reverse orthogonal rounded curves, the directed line segment path of interval AB is composed of a first control point A1, a second control point A2, a third control point A3, a fourth control point A4, a fifth control point A5, a sixth control point A6, a seventh control point A7 and an eighth control point A8, the third control point A3 is the intersection of the first line segment A1A2 and the second line segment A4A5, A2A4 is a fourth circular curve, the fourth circular curve is a 1 / 4 circular curve, the sixth control point A6 is the intersection of the two second line segments A4A5 and A7A8, A5A7 is a fifth circular curve, the fifth circular curve is a 1 / 4 circular curve, and the direction of the S-shaped curve is determined. If the direction of the S-shaped curve is horizontal, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (30): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (31): If the direction of the S-shaped curve is horizontal Z-shaped, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (32): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (33): If the direction of the S-shaped curve is vertical, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (34): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (35): If the direction of the S-shaped curve is vertical Z-shaped, then determine x a With x b The size of If x a <x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (36): If x a >x b , calculate the coordinates of the first control point A1, the second control point A2, the third control point A3, the fourth control point A4, the fifth control point A5, the sixth control point A6, the seventh control point A7 and the eighth control point A8 on the directed line segment path of the S-shaped curve according to formula (37): Among them, (x1, y1) are the coordinates of the first control point A1 on the s-curve directed line segment path, (x2, y2) are the coordinates of the second control point A2 on the s-curve directed line segment path, (x3, y3) are the coordinates of the third control point A3 on the s-curve directed line segment path, (x4, y4) are the coordinates of the fourth control point A4 on the s-curve directed line segment path, (x5, y5) are the coordinates of the fifth control point A5 on the s-curve directed line segment path, (x6, y6) are the coordinates of the sixth control point A6 on the s-curve directed line segment path, (x7, y7) are the coordinates of the seventh control point A7 on the s-curve directed line segment path, (x8, y8) are the coordinates of the eighth control point A8 on the s-curve directed line segment path, (x9, y10) are the coordinates of the eighth control point A9 on the s-curve directed line segment path, (x11, y12) are the coordinates of the eighth control point A10 on the s-curve directed line segment path, (x13, y14) are the coordinates of the eighth control point A11 on the s-curve directed line segment path, (x14, y15) are the coordinates of the eighth control point A12 on the s-curve directed line segment path, (x15, y16) are the coordinates of the eighth control point A13 on the s-curve directed line segment path, (x16, y17) are the coordinates of the eighth control point A14 on the s-curve directed line segment path, (x17, y18) are the coordinates of the eighth control point A15 on the s-curve directed line segment path, (x18, y19) are the coordinates of the eighth control point A16 on the a ,y a ) is the coordinate of the starting station A of interval AB, (x b ,y b ) is the coordinate of the terminal station B of interval AB, R 45 are the radii of the fourth and fifth circular curves, and r is the distance from A to A1.

Citation Information

Cited By

  • Rail data map compiling method suitable for rail transit signal system

    CN120067227A