CN112214872A - Automatic calculation method and device for railway line longitudinal section scale information - Google Patents

Automatic calculation method and device for railway line longitudinal section scale information Download PDF

Info

Publication number
CN112214872A
CN112214872A CN202010943515.0A CN202010943515A CN112214872A CN 112214872 A CN112214872 A CN 112214872A CN 202010943515 A CN202010943515 A CN 202010943515A CN 112214872 A CN112214872 A CN 112214872A
Authority
CN
China
Prior art keywords
rectangles
longitudinal
differential
grouping
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010943515.0A
Other languages
Chinese (zh)
Other versions
CN112214872B (en
Inventor
孔德立
万昌海
李志鹏
姬烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Fifth Survey and Design Institute Group Co Ltd
Original Assignee
China Railway Fifth Survey and Design Institute Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Fifth Survey and Design Institute Group Co Ltd filed Critical China Railway Fifth Survey and Design Institute Group Co Ltd
Priority to CN202010943515.0A priority Critical patent/CN112214872B/en
Publication of CN112214872A publication Critical patent/CN112214872A/en
Application granted granted Critical
Publication of CN112214872B publication Critical patent/CN112214872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The automatic calculation method comprises the steps of obtaining effective height, longitudinal upper limit, lower limit and central position of a display picture frame; carrying out differential rectangular range demarcation on a ground line and a slope line in a display picture frame of a railway line longitudinal section; according to the average value of the central longitudinal coordinates of a plurality of adjacent differential rectangles, the maximum longitudinal coordinates and the minimum longitudinal coordinates of a plurality of adjacent differential rectangles and the effective height of a display picture frame, carrying out primary merging grouping on the differential rectangles; merging and grouping the differential rectangles again according to the maximum longitudinal coordinate, the minimum longitudinal coordinate, the upper longitudinal limit and the lower longitudinal limit of the display frame of the two adjacent groups of differential rectangles after primary merging and grouping; and calculating the scale position of the independent display frame and the starting elevation value at the scale position according to the recombination grouping result of the differential rectangles. Through the technical scheme disclosed by the invention, the automation degree of the longitudinal section plotting of the railway line is effectively improved.

Description

Automatic calculation method and device for railway line longitudinal section scale information
Technical Field
The disclosure relates to the technical field of railways, in particular to an automatic calculation method and device for railway line longitudinal section scale information.
Background
In the railway line design work, in the stage of plotting the longitudinal section of the railway line, designers often need to visually observe and estimate drawings of AutoCAD (AutoCAD Computer Aided design) to determine information such as the position and the initial elevation of a scale in the longitudinal section of the railway line, that is, the positions of the scale insertion and the estimated initial elevation are determined by human eyes, and elements in the drawings of AutoCAD are manually cut and offset, that is, the railway line design mainly depends on manual estimation to adjust the information such as the position and the initial elevation of the scale in the longitudinal section of the railway line.
This leads to the design work volume of railway circuit great, needs to consume a large amount of manpower and materials, and the accuracy of designing to the railway circuit is lower, causes designer's repetition work easily, leads to the efficiency of railway circuit design work to be lower.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides an automatic calculation method and apparatus for railway line longitudinal section scale information, which effectively improves the automation degree of railway line longitudinal section plotting.
The invention provides an automatic calculation method for railway line longitudinal section scale information, which comprises the following steps:
acquiring the effective height of a display picture frame, the longitudinal upper limit of the display picture frame, the longitudinal lower limit of the display picture frame and the longitudinal central position of the display picture frame of a railway line longitudinal section;
carrying out differential rectangular range demarcation on a ground line and a slope line in a display picture frame of a railway line longitudinal section;
according to the average value of the central longitudinal coordinates of a plurality of adjacent differential rectangles, the maximum longitudinal coordinates of the plurality of adjacent differential rectangles, the minimum longitudinal coordinates of the plurality of adjacent differential rectangles and the effective height of the display drawing frame, performing primary merging grouping on the differential rectangles;
merging and grouping the differential rectangles again according to the maximum longitudinal coordinates of the two groups of adjacent differential rectangles after the primary merging and grouping, the minimum longitudinal coordinates of the two groups of adjacent differential rectangles after the primary merging and grouping, the upper longitudinal limit of the display drawing frame and the lower longitudinal limit of the display drawing frame;
and calculating the scale position of the independent display picture frame and the initial elevation value at the scale position according to the recombined grouping result of the differential rectangles.
Optionally, the obtaining of the effective height of the display drawing frame of the railway line profile includes:
acquiring the height of a picture frame, the height of a title bar and the upper and lower reserved height of a display picture frame;
acquiring the total height of a display drawing frame according to the height of the drawing frame and the height of the title bar;
and obtaining the effective height of the display picture frame according to the total height of the display picture frame and the height reserved above and below the display picture frame.
Optionally, the acquiring a vertical upper limit of a display frame, a vertical lower limit of the display frame, and a vertical center position of the display frame of the longitudinal section of the railway line includes:
acquiring the longitudinal upper limit of the display picture frame according to the picture original point, the height of the title bar, the height of the scale and the reserved height of the upper part of the display picture frame;
acquiring the lower longitudinal limit of the display picture frame according to the original point of the scale and the reserved height of the lower part of the display picture frame;
and acquiring the longitudinal center position of the display picture frame according to the longitudinal upper limit of the display picture frame and the longitudinal lower limit of the display picture frame.
Optionally, the differential rectangular range defining the ground line and the slope line in the display drawing frame of the railway line longitudinal section includes:
and taking the slope line as a reference, and taking a connecting line of a single step length range and four intersection points of the ground line and the slope line from the starting point to the end point of the slope line as a differential rectangle.
Optionally, the differential rectangular range defining the ground line and the slope line in the display drawing frame of the railway line longitudinal section further includes:
and when the distance between the ground line and the slope line at the same position is greater than or equal to a first set multiple of the effective height of the display picture frame, converting the longitudinal coordinate of the differential rectangle at the position according to the product of the effective height of the display picture frame and the first set multiple and the longitudinal coordinate of the slope line at the position.
Optionally, the initially combining and grouping the differential rectangles according to the average value of the central longitudinal coordinates of the adjacent differential rectangles, the maximum longitudinal coordinate of the adjacent differential rectangles, the minimum longitudinal coordinate of the adjacent differential rectangles and the effective height of the display frame includes:
when the difference between the mean value of the central longitudinal coordinates of the adjacent differential rectangles and the maximum longitudinal coordinate of the adjacent differential rectangles, and the difference between the mean value of the central longitudinal coordinates of the adjacent differential rectangles and the minimum longitudinal coordinate of the adjacent differential rectangles are all smaller than a second set multiple of the effective height of the display frame, the adjacent differential rectangles are divided into a group of differential rectangles.
Optionally, the merging and grouping the differential rectangles again according to the maximum vertical coordinates of the two adjacent differential rectangles after the primary merging and grouping, the minimum vertical coordinates of the two adjacent differential rectangles after the primary merging and grouping, the upper vertical limit of the display frame, and the lower vertical limit of the display frame includes:
and merging and grouping the differential rectangles again according to the comparison result of the maximum longitudinal coordinates of the two adjacent groups of differential rectangles subjected to the primary merging and grouping and the longitudinal upper limit of the display drawing frame and the comparison result of the minimum longitudinal coordinates of the two adjacent groups of differential rectangles subjected to the primary merging and grouping and the longitudinal lower limit of the display drawing frame.
Optionally, when the maximum vertical coordinate of the two adjacent differential rectangles after the initial merging and grouping is smaller than the upper longitudinal limit of the display frame and the minimum vertical coordinate of the two adjacent differential rectangles after the initial merging and grouping is larger than the lower longitudinal limit of the display frame, the two adjacent differential rectangles after the initial merging and grouping are merged;
when the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping is larger than the longitudinal upper limit of the display picture frame, the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping is larger than the longitudinal lower limit of the display picture frame, and the exceeding value of the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping relative to the longitudinal upper limit of the display picture frame is smaller than or equal to the exceeding value of the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping relative to the longitudinal lower limit of the display picture frame, merging the two adjacent differential rectangles subjected to primary merging grouping;
and when the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is smaller than the upper longitudinal limit of the display frame, the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is smaller than the lower longitudinal limit of the display frame, and the exceeding value of the lower longitudinal limit of the display frame relative to the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is smaller than or equal to the exceeding value of the upper longitudinal limit of the display frame relative to the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping, merging the two adjacent differential rectangles subjected to the primary merging grouping.
Optionally, the calculating a scale position of an independent display frame and a starting elevation value at the scale position according to the re-combined grouping result of the differential rectangles includes:
taking the initial position of the single group of differential rectangles after the grouping is merged again as the scale position of the independent display picture frame;
and subtracting the longitudinal coordinate corresponding to the longitudinal center position of the display drawing frame from the average value of the longitudinal coordinates of the centers of the differential rectangles in the single group of the differential rectangles subjected to the merger and grouping again, and adding the initial starting elevation value of the corresponding railway line longitudinal section as the starting elevation value at the position corresponding to the scale.
The embodiment of the present disclosure further provides an automatic calculation device for railway line vertical section scale information, including:
the picture frame parameter acquisition module is used for acquiring the effective height of a displayed picture frame, the longitudinal upper limit of the displayed picture frame, the longitudinal lower limit of the displayed picture frame and the longitudinal center position of the displayed picture frame of the longitudinal section of the railway line;
the rectangular range demarcation module is used for demarcating the differential rectangular range of a ground line and a slope line in a display picture frame of the longitudinal section of the railway line;
the primary merging and grouping module is used for performing primary merging and grouping on the differential rectangles according to the average value of the central longitudinal coordinates of the adjacent differential rectangles, the maximum longitudinal coordinates of the adjacent differential rectangles, the minimum longitudinal coordinates of the adjacent differential rectangles and the effective height of the display drawing frame;
the second merging and grouping module is used for merging and grouping the differential rectangles again according to the maximum longitudinal coordinates of the two adjacent groups of differential rectangles after the first merging and grouping, the minimum longitudinal coordinates of the two adjacent groups of differential rectangles after the first merging and grouping, the upper longitudinal limit of the display drawing frame and the lower longitudinal limit of the display drawing frame;
and the scale information calculation module is used for calculating the scale position of the independent display drawing frame and the initial elevation value at the scale position according to the recombination grouping result of the differential rectangles.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
according to the automatic calculation method for the staff gauge information of the longitudinal section of the railway line, provided by the embodiment of the disclosure, automatic calculation can be realized before mapping by inputting the design result file so as to determine the reasonable position and the initial elevation of the staff gauge in the longitudinal section of the railway line, the automation degree of mapping of the longitudinal section of the railway line is effectively improved, the workload and the working time for a designer to estimate and adjust the position and the initial elevation of the staff gauge are saved, and the working efficiency and the working quality of railway line design are effectively improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method for automatically calculating scale information of a longitudinal section of a railway line according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating calculation of vertical section size information of a railway line according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a differential rectangle of a longitudinal section of a railway line according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a differential rectangular primary merged packet provided in an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a differential rectangle rejoining packet according to an embodiment of the present disclosure;
FIG. 6 is a diagram illustrating a differential rectangle rejoining packet in one case provided by an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another case of recombining packets with differential rectangles provided by an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of another case of merging packets again with differential rectangles provided by an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of another case of merging packets again with differential rectangles provided by the embodiments of the present disclosure;
fig. 10 is a schematic specific flowchart of a method for automatically calculating scale information of a longitudinal section of a railway line according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of an automatic calculating device for railway line vertical section scale information according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a schematic flow chart of a method for automatically calculating staff gauge information of a longitudinal section of a railway line according to an embodiment of the present disclosure. The automatic calculation method of the railway line longitudinal section scale information can be applied to application scenes in which the railway line longitudinal section scale information needs to be automatically calculated, and can be executed by the automatic calculation device of the railway line longitudinal section scale information provided by the embodiment of the disclosure, and the automatic calculation device of the railway line longitudinal section scale information can be realized in a software and/or hardware mode. As shown in fig. 1, the method for automatically calculating the scale information of the longitudinal section of the railway line includes:
s101, obtaining the effective height of a display picture frame of a railway line longitudinal section, the longitudinal upper limit of the display picture frame, the longitudinal lower limit of the display picture frame and the longitudinal center position of the display picture frame.
Specifically, various parameters of the map of the longitudinal section of the railway line can be set according to the popped up display panel, and the parameters of the map can comprise a railway line design result file, header item information, map height and map range.
The line design result file comprises key design elements such as a slope line, a ground line, notch information and plane information in a railway line longitudinal section diagram, wherein the notch information comprises a cut-off point notch such as a bridge, a tunnel or a station, the notch information corresponds to a boundary point of the railway line longitudinal section diagram needing page changing display, and the plane information can be the whole trend of a railway when the railway is overlooked. The header item information can be used for determining the height of a title bar in the railway line longitudinal section diagram, the height of the title bar influences the effective height and the central position of a display frame, and the height of the frame also influences the effective height and the central position of the display frame. If the mapping range is designated, calculating according to the designated mapping range, for example, the mapping range corresponds to the range from the point A to the point B; if no map scope is specified, the calculation is performed according to the whole scope in the result file by default, for example, the map scope corresponds to the scope from the C place to the D place, and the scope from the C place to the D place is a subset of the scope from the A place to the B place.
After the setting of each parameter of the longitudinal section chart of the railway line is finished, the staff gauge button can be clicked, the staff gauge information automatic calculation button is clicked in the popped up interface, and the automatic calculation process of the staff gauge information of the longitudinal section of the railway line provided by the embodiment of the disclosure is started.
The method comprises the steps of obtaining the effective height of a display picture frame of a longitudinal section of a railway line, obtaining the height of the picture frame, the height of a title bar and the upper and lower reserved height of the display picture frame, obtaining the total height of the display picture frame according to the height of the picture frame and the height of the title bar, and obtaining the effective height of the display picture frame according to the total height of the display picture frame and the upper and lower reserved height of the display picture.
Fig. 2 is a schematic diagram illustrating calculation of the vertical section size information of the railway line according to the embodiment of the present disclosure. As shown in fig. 2, the height d10 of the picture frame subtracts the height d20 of the title bar to obtain a total height d30 of the display frame, the total height d30 of the display frame subtracts the upper and lower reserved heights of the display frame to obtain an effective height d60 of the display frame, that is, the total height d30 of the display frame subtracts the upper reserved height d40 of the display frame and the lower reserved height d50 of the display frame to obtain an effective height d60 of the display frame, the height value to be reserved between the slope line and the display frame is the reserved height d50 of the lower part of the display frame, the height value to be reserved between the ground line and the display frame is the reserved height d40 of the upper part of the display frame, and the effective height d60 of the display frame is calculated by combining the upper and lower reserved heights of the display frame, so that the.
The method comprises the steps of obtaining a longitudinal upper limit of a display picture frame, a longitudinal lower limit of the display picture frame and a longitudinal central position of the display picture frame of a longitudinal section of a railway line, obtaining the longitudinal upper limit of the display picture frame according to a picture frame original point, a title bar height, a ruler height and a reserved height of the upper portion of the display picture frame, obtaining the longitudinal lower limit of the display picture frame according to the ruler original point and the reserved height of the lower portion of the display picture frame, and obtaining the longitudinal central position of the display picture frame according to the longitudinal.
Specifically, as shown in fig. 2, the origin of the drawing is a point a at the lower left corner of an independent display interface, the height of the ruler is the height of the entire display interface, i.e., the total height d30 of the display frame, the height d20 of the title bar and the height d30 of the ruler are added to the ordinate of the origin a of the drawing, and then the reserved height d40 at the upper part of the display frame is subtracted, so that the upper longitudinal limit of the display frame, i.e., the maximum ordinate, can be obtained. The vertical coordinate of the scale origin B plus the reserved height d50 at the lower part of the display frame can obtain the lower vertical limit of the display frame, namely the minimum vertical coordinate. And the average value of the upper longitudinal limit of the display picture frame and the lower longitudinal limit of the display picture frame is the longitudinal center position of the display picture frame.
S102, defining a differential rectangular range of a ground line and a slope line in a display drawing frame of the railway line longitudinal section.
Fig. 3 is a schematic diagram illustrating a differential rectangle of a longitudinal section of a railway line according to an embodiment of the present disclosure. As shown in fig. 3, the ground line 11 and the gradient line 12 in the display frame of the longitudinal section of the railway line are defined in a differential rectangle range, and a connection line with four intersections of the ground line and the gradient line within a single step range from a start point to an end point of the gradient line may be used as one differential rectangle 13 based on the gradient line.
Specifically, the range of the ground line and the gradient line is represented by a rectangular frame with a certain width, specifically, the range of the ground line and the gradient line is represented by a rectangular frame with a certain step length value from a starting point to an end point of the gradient line by taking the gradient line as a reference, and the range of the ground line and the gradient line is represented by using the rectangular frame, wherein the rectangular frame is a maximum enclosing frame consisting of four intersection points with the ground line and the gradient line in a single step length range. It should be noted that this rectangular frame is used for comparison calculation only, and the drawing does not include this element.
When the distance between the ground line and the slope line at the same position is larger than or equal to a first set multiple of the effective height of the display picture frame, the longitudinal coordinate of the differential rectangle at the position is converted according to the product of the effective height of the display picture frame and the first set multiple and the longitudinal coordinate of the slope line at the position.
Illustratively, the first set multiple may be equal to 0.6, for example. As shown in fig. 3, when the distance between the ground line and the slope line exceeds 0.6 times of the effective height of the display frame at a certain position, the ground line is considered to need to be cut, and taking the position a in fig. 3 as an example, when the ground line is above the slope line and the distance between the ground line and the slope line is greater than or equal to 0.6 times of the effective height of the display frame, the longitudinal coordinate of the differential rectangle at the position is equal to the longitudinal coordinate of the slope line at the position plus 0.6 times of the effective height of the display frame. When the ground line is below the slope line and the distance between the ground line and the slope line is greater than or equal to 0.6 times of the effective height of the display frame, the longitudinal coordinate of the differential rectangle at the position is equal to the longitudinal coordinate of the slope line at the position minus 0.6 times of the effective height of the display frame.
S103, primary merging and grouping are carried out on the differential rectangles according to the average value of the central longitudinal coordinates of the adjacent differential rectangles, the maximum longitudinal coordinate of the adjacent differential rectangles, the minimum longitudinal coordinate of the adjacent differential rectangles and the effective height of the display frame.
Fig. 4 is a schematic diagram of a differential rectangular primary merged packet according to an embodiment of the present disclosure. As shown in fig. 4, the differential rectangles are grouped for the first time by merging according to the mean value of the central longitudinal coordinates of the adjacent differential rectangles, the maximum longitudinal coordinates of the adjacent differential rectangles, the minimum longitudinal coordinates of the adjacent differential rectangles and the effective height of the display frame, and when the difference between the mean value of the central longitudinal coordinates of the adjacent differential rectangles and the maximum longitudinal coordinates of the adjacent differential rectangles, and the difference between the mean value of the central longitudinal coordinates of the adjacent differential rectangles and the minimum longitudinal coordinates of the adjacent differential rectangles are all smaller than a second set multiple of the effective height of the display frame, the adjacent differential rectangles are divided into a group of differential rectangles.
For example, the second setting multiple may be equal to 0.5, as shown in fig. 4, when the differential rectangles are grouped for the first time, the current differential rectangle is compared with the next differential rectangle, and whether the two differential rectangles can be grouped is determined by whether the difference between the average value of the central longitudinal coordinates of each differential rectangle in the grouped group and the maximum longitudinal coordinate of the differential rectangle in the grouped group, and the difference between the average value of the central longitudinal coordinates of each differential rectangle in the grouped group and the minimum longitudinal coordinate of the differential rectangle in the grouped group are both smaller than 0.5 times of the effective height of the display frame, i.e. both smaller than half of the effective height of the display frame. If so, the next differential rectangle is classified into the group, otherwise, the grouping is performed again from the next differential rectangle frame, and after the differential rectangles are exemplarily arranged for preliminary grouping in fig. 4, the differential rectangles are divided into five groups, namely a1, a2, a3, a4 and a 5. In addition, the average value of the central longitudinal coordinates of the differential rectangles is used as the basis of the grouping of the initial combination, so that the drawing elements can be distributed in the middle of the drawing as many as possible.
S104, merging and grouping the differential rectangles again according to the maximum longitudinal coordinates of the two adjacent groups of differential rectangles after the primary merging and grouping, the minimum longitudinal coordinates of the two adjacent groups of differential rectangles after the primary merging and grouping, the upper longitudinal limit of the display frame and the lower longitudinal limit of the display frame.
Fig. 5 is a schematic diagram of a differential rectangle rejoining packet according to an embodiment of the present disclosure. As shown in fig. 5, the differential rectangles are merged and grouped again according to the maximum vertical coordinates of the two adjacent differential rectangles after the primary merging and grouping, the minimum vertical coordinates of the two adjacent differential rectangles after the primary merging and grouping, the upper vertical limit of the display frame, and the lower vertical limit of the display frame, and the differential rectangles can be merged and grouped again according to the comparison result between the maximum vertical coordinates of the two adjacent differential rectangles after the primary merging and grouping and the upper vertical limit of the display frame, and the comparison result between the minimum vertical coordinates of the two adjacent differential rectangles after the primary merging and grouping and the lower vertical limit of the display frame.
Optionally, when the maximum vertical coordinate of the two adjacent differential rectangles after the initial merging grouping is smaller than the upper vertical limit of the display frame, and the minimum vertical coordinate of the two adjacent differential rectangles after the initial merging grouping is larger than the lower vertical limit of the display frame, the two adjacent differential rectangles after the initial merging grouping are merged. And when the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is larger than the longitudinal upper limit of the display picture frame, the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is larger than the longitudinal lower limit of the display picture frame, and the exceeding value of the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping relative to the longitudinal upper limit of the display picture frame is smaller than or equal to the exceeding value of the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping relative to the longitudinal lower limit of the display picture frame, merging the two adjacent differential rectangles subjected to the primary merging grouping.
Specifically, the average ordinate of each preliminarily grouped differential rectangle is used as a reference, the image display area is placed in the middle of a picture frame, so that the image display area is centered as much as possible, and in order to ensure the continuity of a drawing, each preliminarily grouped differential rectangle is subjected to the same centering transformation.
Fig. 6 is a schematic diagram of a differential rectangle rejoining packet according to one aspect provided by the embodiments of the present disclosure. As shown in fig. 6, when the maximum vertical coordinate of the two adjacent differential rectangles after the first merging and grouping is smaller than the upper limit c1 in the display frame vertical direction and the minimum vertical coordinate of the two adjacent differential rectangles after the first merging and grouping is larger than the lower limit c2 in the display frame vertical direction, the two adjacent differential rectangles after the first merging and grouping are merged, that is, the two adjacent differential rectangles after the first merging and grouping are merged into one differential rectangle again, the position of the center in the display frame vertical direction is c3, and the effective height of the display frame is h.
Fig. 7 is a schematic diagram of another case of merging packets again by differential rectangles according to an embodiment of the present disclosure. As shown in fig. 7, when the maximum vertical coordinate of the two adjacent differential rectangles after the first merging grouping is greater than the upper limit c1 of the display frame vertical direction, and the minimum vertical coordinate of the two adjacent differential rectangles after the first merging grouping is greater than the lower limit c2 of the display frame vertical direction, and the exceeding value of the maximum vertical coordinate of the two adjacent differential rectangles after the first merging grouping with respect to the upper limit of the display frame vertical direction is less than or equal to the exceeding value of the minimum vertical coordinate of the two adjacent differential rectangles after the first merging grouping with respect to the lower limit of the display frame vertical direction, the two adjacent differential rectangles after the first merging grouping are merged.
The value of the maximum vertical coordinate of the two adjacent differential rectangles after the primary merging grouping relative to the upper limit c1 in the display frame longitudinal direction may be d1, and the value of the minimum vertical coordinate of the two adjacent differential rectangles after the primary merging grouping relative to the lower limit c2 in the display frame longitudinal direction may be d2, that is, when the maximum vertical coordinate of the two adjacent differential rectangles after the primary merging grouping is greater than the upper limit c1 in the display frame longitudinal direction, the minimum vertical coordinate of the two adjacent differential rectangles after the primary merging grouping is greater than the lower limit c2 in the display frame longitudinal direction, and d1 is less than or equal to d2, the two adjacent differential rectangles after the primary merging grouping are merged successfully, that is, when the two adjacent differential rectangles after the primary merging are merged into one differential rectangle again, and d1 is greater than d2, the merging fails again.
Fig. 8 is a schematic diagram of another case of merging packets again by differential rectangles according to an embodiment of the present disclosure. As shown in fig. 8, when the maximum vertical coordinate of the two adjacent differential rectangles after the first merging grouping is smaller than the upper limit c1 of the display frame vertical direction, and the minimum vertical coordinate of the two adjacent differential rectangles after the first merging grouping is smaller than the lower limit c2 of the display frame vertical direction, and the exceeding value of the lower limit c2 of the display frame vertical direction with respect to the minimum vertical coordinate of the two adjacent differential rectangles after the first merging grouping is smaller than or equal to the exceeding value of the upper limit c1 of the display frame vertical direction with respect to the maximum vertical coordinate of the two adjacent differential rectangles after the first merging grouping, the two adjacent differential rectangles after the first merging grouping are merged.
The exceeding value of the lower limit c2 in the display frame longitudinal direction with respect to the minimum longitudinal coordinate of the two adjacent differential rectangles after the primary merging grouping may be d3, and the exceeding value of the upper limit in the display frame longitudinal direction with respect to the maximum longitudinal coordinate of the two adjacent differential rectangles after the primary merging grouping may be d4, that is, when the maximum longitudinal coordinate of the two adjacent differential rectangles after the primary merging grouping is smaller than the upper limit c1 in the display frame longitudinal direction, the minimum longitudinal coordinate of the two adjacent differential rectangles after the primary merging grouping is smaller than the lower limit c2 in the display frame longitudinal direction, and d3 is smaller than or equal to d4, the two adjacent differential rectangles after the primary merging are successfully merged, that is, the two adjacent differential rectangles after the primary merging are merged into one differential rectangle again, and when d3 is larger than d4, the merging fails again.
Fig. 9 is a schematic diagram of another case of merging packets again by differential rectangles according to an embodiment of the present disclosure. As shown in fig. 9, when the maximum vertical coordinate of the two adjacent differential rectangles after the initial merging grouping is greater than the upper limit c1 in the display frame vertical direction and the minimum vertical coordinate of the two adjacent differential rectangles after the initial merging grouping is less than the lower limit c2 in the display frame vertical direction, the two adjacent differential rectangles after the initial merging grouping fail to merge, that is, the two adjacent differential rectangles after the initial merging grouping cannot merge.
Fig. 5 exemplarily sets differential rectangles after the primary merging grouping, where a1 group and a2 group are merged again into b1 group, a3 group is not merged and is b2 group, and a4 group and a5 group are merged again into b3 group.
And S105, calculating the scale position of the independent display frame and the starting elevation value at the scale position according to the recombination grouping result of the differential rectangles.
Specifically, the scale position and the starting elevation value at the scale position of the independent display frame are calculated according to the result of the merger and grouping of the differential rectangles, and the starting position of the single group of differential rectangles after being merged and grouped again can be used as the scale position of the independent display frame, as shown in fig. 5, a1 and a2 can be used as the scale position of the independent display frame, and the mileage value can be rounded by ten.
And subtracting the longitudinal coordinate corresponding to the longitudinal center position of the display frame from the average value of the longitudinal coordinates of the centers of the differential rectangles in the single group of differential rectangles subjected to the merging and grouping again, and adding the initial elevation value of the longitudinal section of the corresponding railway line as the initial elevation value of the position of the corresponding scale. Specifically, the average value of the central longitudinal coordinates of each differential rectangle in the grouped single group of differential rectangles is merged again, the longitudinal coordinate corresponding to the longitudinal central position of the display frame is subtracted to obtain the elevation difference, the obtained elevation difference is converted into meters by a unit in the AutoCAD, the elevation difference is added with the initial elevation value of the corresponding railway line longitudinal section to obtain the initial elevation value of the corresponding scale position, namely the railway line longitudinal section has the initial elevation value, and the grouped differential rectangles move upwards or downwards, so that the elevation difference and the initial elevation value of the corresponding railway line longitudinal section are used for determining the initial elevation value of the corresponding scale position.
The calculated scale information result can be displayed in a table, and if the scale information result needs to be modified, data can be edited by clicking a text form editing button. And a determining button of the scale information can be clicked, the latest scale information result is stored in the program, the determining button of the main panel of the plotting command is clicked, and the program draws the longitudinal section diagram of the railway line according to the latest scale information, so that an interface for manual modification is provided, and the operating efficiency and the accuracy are greatly improved.
Fig. 10 is a schematic specific flowchart of a method for automatically calculating scale information of a longitudinal section of a railway line according to an embodiment of the present disclosure. As shown in fig. 10, the method for automatically calculating the scale information of the vertical section of the railway line includes:
s201, clicking a vertical section drawing command.
And S202, setting parameters.
S203, clicking a scale button.
And S204, automatically clamping a scale.
S205, calculating the effective range of the picture frame.
And S206, representing the range of a certain section of ground line and a slope line by a small rectangular box.
And S207, grouping small rectangular boxes.
And S208, grouping the grouped rectangular frames again.
And S209, calculating the scale position and the initial elevation according to the rectangular frame range of the last group.
And S210, judging whether the position and the elevation of the ruler are reasonable or not. If yes, go to step 213; if not, go to step 211.
And S211, manually adjusting the scale.
And S212, editing the scale in a text form.
S213, drawing.
The embodiment of the present disclosure further provides an automatic calculation device for railway line vertical section scale information, and fig. 11 is a schematic structural diagram of the automatic calculation device for railway line vertical section scale information provided in the embodiment of the present disclosure. As shown in fig. 11, the automatic calculation device for the scale information of the longitudinal section of the railway line includes a frame parameter acquisition module 301, a rectangular range defining module 302, a primary merging and grouping module 303, a secondary merging and grouping module 304, and a scale information calculation module 305.
The frame parameter obtaining module 301 is configured to obtain an effective height of a displayed frame, an upper longitudinal limit of the displayed frame, a lower longitudinal limit of the displayed frame, and a longitudinal center position of the displayed frame of a longitudinal section of a railway line; the rectangular range defining module 302 is used for defining a differential rectangular range of a ground line and a slope line in a display frame of a railway line longitudinal section; the primary merging and grouping module 303 is configured to perform primary merging and grouping on the differential rectangles according to an average value of central longitudinal coordinates of the multiple adjacent differential rectangles, a maximum longitudinal coordinate of the multiple adjacent differential rectangles, a minimum longitudinal coordinate of the multiple adjacent differential rectangles, and an effective height of a display frame; the secondary merging and grouping module 304 is configured to merge and group the differential rectangles again according to the maximum longitudinal coordinates of the two adjacent differential rectangles after the primary merging and grouping, the minimum longitudinal coordinates of the two adjacent differential rectangles after the primary merging and grouping, the upper longitudinal limit of the display frame, and the lower longitudinal limit of the display frame; the scale information calculation module 305 is configured to calculate a scale position of the independent display frame and a starting elevation value at the scale position according to the rebinned grouping result of the differential rectangles.
According to the automatic calculation method for the staff gauge information of the longitudinal section of the railway line, provided by the embodiment of the disclosure, automatic calculation can be realized before mapping by inputting the design result file so as to determine the reasonable position and the initial elevation of the staff gauge in the longitudinal section of the railway line, the automation degree of mapping of the longitudinal section of the railway line is effectively improved, the workload and the working time for a designer to estimate and adjust the position and the initial elevation of the staff gauge are saved, and the working efficiency and the working quality of railway line design are effectively improved.
The embodiment of the disclosure further provides a terminal device, and fig. 12 is a schematic structural diagram of the terminal device provided by the embodiment of the disclosure. As shown in fig. 12, the terminal device includes a processor and a memory, and the processor executes the steps of the method for automatically calculating the staff gauge information of the longitudinal section of the railway line according to the embodiment by calling a program or an instruction stored in the memory, so that the method has the beneficial effects of the embodiment, and is not described herein again.
As shown in fig. 12, the terminal device may be arranged to comprise at least one processor 401, at least one memory 402 and at least one communication interface 403. The various components in the end device are coupled together by a bus system 404. The communication interface 403 is used for information transmission with an external device. It is understood that the bus system 404 is used to enable communications among the components. The bus system 404 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, the various buses are labeled as bus system 304 in fig. 12.
It will be appreciated that the memory 402 in this embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. In some embodiments, memory 402 stores the following elements: an executable unit or data structure, or a subset thereof, or an extended set of them, an operating system and an application program. In the embodiment of the present disclosure, the processor 401 executes the method for automatically calculating the scale information of the longitudinal section of the railway line, which is provided by the embodiment of the present disclosure, by calling a program or an instruction stored in the memory 402.
The automatic calculation method for the scale information of the longitudinal section of the railway line provided by the embodiment of the disclosure can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of the automatic calculation method for the railway line longitudinal section scale information provided by the embodiment of the disclosure can be directly implemented by a hardware decoding processor, or implemented by combining hardware and software units in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in a memory 402, and the processor 401 reads information in the memory 402 and performs the steps of the method in combination with its hardware.
The terminal device may further include one physical component or a plurality of physical components to execute the instructions generated by the processor 401 when executing the automatic calculation method for the scale information of the railway line profile provided by the embodiment of the present application. Different entity components can be arranged in the terminal equipment or outside the terminal equipment, such as a cloud server and the like. The various physical components cooperate with the processor 401 and the memory 402 to implement the functions of the terminal device in this embodiment.
The disclosed embodiments also provide a storage medium, such as a computer-readable storage medium, storing a program or instructions that when executed by a computer, causes the computer to perform a method for automatically calculating staff gauge information of a railway line profile, the method comprising:
acquiring the effective height of a display picture frame, the longitudinal upper limit of the display picture frame, the longitudinal lower limit of the display picture frame and the longitudinal central position of the display picture frame of a railway line longitudinal section;
carrying out differential rectangular range demarcation on a ground line and a slope line in a display picture frame of a railway line longitudinal section;
according to the average value of the central longitudinal coordinates of a plurality of adjacent differential rectangles, the maximum longitudinal coordinates of the plurality of adjacent differential rectangles, the minimum longitudinal coordinates of the plurality of adjacent differential rectangles and the effective height of a display frame, carrying out primary merging grouping on the differential rectangles;
merging and grouping the differential rectangles again according to the maximum longitudinal coordinates of the two adjacent groups of differential rectangles after the primary merging and grouping, the minimum longitudinal coordinates of the two adjacent groups of differential rectangles after the primary merging and grouping, the upper longitudinal limit of the display picture frame and the lower longitudinal limit of the display picture frame;
and calculating the scale position of the independent display frame and the starting elevation value at the scale position according to the recombination grouping result of the differential rectangles.
Optionally, the computer executable instruction, when executed by the computer processor, may be further used to implement a technical solution of the method for automatically calculating the ruler information of the longitudinal section of the railway line provided in any embodiment of the present disclosure.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present disclosure.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present disclosure.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for automatically calculating staff gauge information of a railway line longitudinal section is characterized by comprising the following steps:
acquiring the effective height of a display picture frame, the longitudinal upper limit of the display picture frame, the longitudinal lower limit of the display picture frame and the longitudinal central position of the display picture frame of a railway line longitudinal section;
carrying out differential rectangular range demarcation on a ground line and a slope line in a display picture frame of a railway line longitudinal section;
according to the average value of the central longitudinal coordinates of a plurality of adjacent differential rectangles, the maximum longitudinal coordinates of the plurality of adjacent differential rectangles, the minimum longitudinal coordinates of the plurality of adjacent differential rectangles and the effective height of the display drawing frame, performing primary merging grouping on the differential rectangles;
merging and grouping the differential rectangles again according to the maximum longitudinal coordinates of the two groups of adjacent differential rectangles after the primary merging and grouping, the minimum longitudinal coordinates of the two groups of adjacent differential rectangles after the primary merging and grouping, the upper longitudinal limit of the display drawing frame and the lower longitudinal limit of the display drawing frame;
and calculating the scale position of the independent display picture frame and the initial elevation value at the scale position according to the recombined grouping result of the differential rectangles.
2. The method according to claim 1, wherein said obtaining an effective height of a display frame of a railway line profile comprises:
acquiring the height of a picture frame, the height of a title bar and the upper and lower reserved height of a display picture frame;
acquiring the total height of a display drawing frame according to the height of the drawing frame and the height of the title bar;
and obtaining the effective height of the display picture frame according to the total height of the display picture frame and the height reserved above and below the display picture frame.
3. The method according to claim 1, wherein the obtaining of the upper vertical limit of the display frame, the lower vertical limit of the display frame, and the vertical center position of the display frame of the railway line profile comprises:
acquiring the longitudinal upper limit of the display picture frame according to the picture original point, the height of the title bar, the height of the scale and the reserved height of the upper part of the display picture frame;
acquiring the lower longitudinal limit of the display picture frame according to the original point of the scale and the reserved height of the lower part of the display picture frame;
and acquiring the longitudinal center position of the display picture frame according to the longitudinal upper limit of the display picture frame and the longitudinal lower limit of the display picture frame.
4. The method according to claim 1, wherein the defining of the differential rectangular range of the ground line and the gradient line in the display frame of the railway line profile comprises:
and taking the slope line as a reference, and taking a connecting line of a single step length range and four intersection points of the ground line and the slope line from the starting point to the end point of the slope line as a differential rectangle.
5. The method according to claim 4, wherein the differential rectangular range is defined for a ground line and a gradient line in the display frame of the railway line profile, and further comprising:
and when the distance between the ground line and the slope line at the same position is greater than or equal to a first set multiple of the effective height of the display picture frame, converting the longitudinal coordinate of the differential rectangle at the position according to the product of the effective height of the display picture frame and the first set multiple and the longitudinal coordinate of the slope line at the position.
6. The method according to claim 1, wherein the first combining and grouping of the differential rectangles according to the mean value of the longitudinal coordinates of the centers of the adjacent differential rectangles, the maximum longitudinal coordinate of the adjacent differential rectangles, the minimum longitudinal coordinate of the adjacent differential rectangles and the effective height of the display frame comprises:
when the difference between the mean value of the central longitudinal coordinates of the adjacent differential rectangles and the maximum longitudinal coordinate of the adjacent differential rectangles, and the difference between the mean value of the central longitudinal coordinates of the adjacent differential rectangles and the minimum longitudinal coordinate of the adjacent differential rectangles are all smaller than a second set multiple of the effective height of the display frame, the adjacent differential rectangles are divided into a group of differential rectangles.
7. The method according to claim 1, wherein the re-combining and grouping of the differential rectangles according to the maximum vertical coordinate of the two adjacent differential rectangles after the initial combining and grouping, the minimum vertical coordinate of the two adjacent differential rectangles after the initial combining and grouping, the upper vertical limit of the display frame, and the lower vertical limit of the display frame comprises:
and merging and grouping the differential rectangles again according to the comparison result of the maximum longitudinal coordinates of the two adjacent groups of differential rectangles subjected to the primary merging and grouping and the longitudinal upper limit of the display drawing frame and the comparison result of the minimum longitudinal coordinates of the two adjacent groups of differential rectangles subjected to the primary merging and grouping and the longitudinal lower limit of the display drawing frame.
8. The method according to claim 7, wherein when the maximum vertical coordinate of two adjacent differential rectangles after the first merging and grouping is smaller than the upper vertical limit of the display frame and the minimum vertical coordinate of two adjacent differential rectangles after the first merging and grouping is larger than the lower vertical limit of the display frame, the two adjacent differential rectangles after the first merging and grouping are merged;
when the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping is larger than the longitudinal upper limit of the display picture frame, the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping is larger than the longitudinal lower limit of the display picture frame, and the exceeding value of the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping relative to the longitudinal upper limit of the display picture frame is smaller than or equal to the exceeding value of the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to primary merging grouping relative to the longitudinal lower limit of the display picture frame, merging the two adjacent differential rectangles subjected to primary merging grouping;
and when the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is smaller than the upper longitudinal limit of the display frame, the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is smaller than the lower longitudinal limit of the display frame, and the exceeding value of the lower longitudinal limit of the display frame relative to the minimum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping is smaller than or equal to the exceeding value of the upper longitudinal limit of the display frame relative to the maximum longitudinal coordinate of the two adjacent differential rectangles subjected to the primary merging grouping, merging the two adjacent differential rectangles subjected to the primary merging grouping.
9. The method according to claim 1, wherein the calculating the scale position of the independent display frame and the starting elevation value at the scale position according to the rebinned grouping result of the differential rectangles comprises:
taking the initial position of the single group of differential rectangles after the grouping is merged again as the scale position of the independent display picture frame;
and subtracting the longitudinal coordinate corresponding to the longitudinal center position of the display drawing frame from the average value of the longitudinal coordinates of the centers of the differential rectangles in the single group of the differential rectangles subjected to the merger and grouping again, and adding the initial starting elevation value of the corresponding railway line longitudinal section as the starting elevation value at the position corresponding to the scale.
10. An automatic calculation device for railway line profile scale information, comprising:
the picture frame parameter acquisition module is used for acquiring the effective height of a displayed picture frame, the longitudinal upper limit of the displayed picture frame, the longitudinal lower limit of the displayed picture frame and the longitudinal center position of the displayed picture frame of the longitudinal section of the railway line;
the rectangular range demarcation module is used for demarcating the differential rectangular range of a ground line and a slope line in a display picture frame of the longitudinal section of the railway line;
the primary merging and grouping module is used for performing primary merging and grouping on the differential rectangles according to the average value of the central longitudinal coordinates of the adjacent differential rectangles, the maximum longitudinal coordinates of the adjacent differential rectangles, the minimum longitudinal coordinates of the adjacent differential rectangles and the effective height of the display drawing frame;
the second merging and grouping module is used for merging and grouping the differential rectangles again according to the maximum longitudinal coordinates of the two adjacent groups of differential rectangles after the first merging and grouping, the minimum longitudinal coordinates of the two adjacent groups of differential rectangles after the first merging and grouping, the upper longitudinal limit of the display drawing frame and the lower longitudinal limit of the display drawing frame;
and the scale information calculation module is used for calculating the scale position of the independent display drawing frame and the initial elevation value at the scale position according to the recombination grouping result of the differential rectangles.
CN202010943515.0A 2020-09-09 2020-09-09 Automatic calculation method and device for railway line longitudinal section scale information Active CN112214872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010943515.0A CN112214872B (en) 2020-09-09 2020-09-09 Automatic calculation method and device for railway line longitudinal section scale information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010943515.0A CN112214872B (en) 2020-09-09 2020-09-09 Automatic calculation method and device for railway line longitudinal section scale information

Publications (2)

Publication Number Publication Date
CN112214872A true CN112214872A (en) 2021-01-12
CN112214872B CN112214872B (en) 2023-07-07

Family

ID=74049338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010943515.0A Active CN112214872B (en) 2020-09-09 2020-09-09 Automatic calculation method and device for railway line longitudinal section scale information

Country Status (1)

Country Link
CN (1) CN112214872B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160086322A1 (en) * 2013-05-07 2016-03-24 Sharp Kabushiki Kaisha Image measurement device
CN106250615A (en) * 2016-07-26 2016-12-21 铁道第三勘察设计院集团有限公司 Circuit vertical section design method before laying a railway track
CN106991258A (en) * 2017-05-10 2017-07-28 中铁第五勘察设计院集团有限公司 A kind of method for setting up Tunnel Engineering geology skiagraph
CN109918803A (en) * 2019-03-13 2019-06-21 中国铁路设计集团有限公司 The flat real-time linkage design method in length and breadth of rail track
CN110986878A (en) * 2019-12-03 2020-04-10 中铁第一勘察设计院集团有限公司 Method for automatically extracting rail section based on mobile measurement system
CN111597621A (en) * 2020-05-26 2020-08-28 西南交通大学 Railway line double-layer optimization method based on GIS and differential evolution algorithm

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160086322A1 (en) * 2013-05-07 2016-03-24 Sharp Kabushiki Kaisha Image measurement device
CN106250615A (en) * 2016-07-26 2016-12-21 铁道第三勘察设计院集团有限公司 Circuit vertical section design method before laying a railway track
CN106991258A (en) * 2017-05-10 2017-07-28 中铁第五勘察设计院集团有限公司 A kind of method for setting up Tunnel Engineering geology skiagraph
CN109918803A (en) * 2019-03-13 2019-06-21 中国铁路设计集团有限公司 The flat real-time linkage design method in length and breadth of rail track
CN110986878A (en) * 2019-12-03 2020-04-10 中铁第一勘察设计院集团有限公司 Method for automatically extracting rail section based on mobile measurement system
CN111597621A (en) * 2020-05-26 2020-08-28 西南交通大学 Railway line double-layer optimization method based on GIS and differential evolution algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱照宏,符锌砂,李方等编著, 人民交通出版社 *

Also Published As

Publication number Publication date
CN112214872B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN111161406B (en) GIM file visualization processing method, system, readable storage medium and computer
CN107679276B (en) Generation method and device of power system tide wiring diagram and electronic equipment
CN111126212A (en) Matting identification method and system based on distribution box primary system diagram and storage medium
CN110544298A (en) transformer substation modeling method and device, computer equipment and storage medium
CN115393474A (en) Method and system for rapidly drawing flow chart
CN108847120B (en) Drawing method based on electronic fence map order thermodynamic diagram distribution
WO2013026178A1 (en) Orthogonal layout generation
CN112214872A (en) Automatic calculation method and device for railway line longitudinal section scale information
CN113821860A (en) Method, device and equipment for determining breakpoint on steel bar primitive and storage medium
CN112287432A (en) Target area acquisition method and device, computer equipment and storage medium
CN112991489B (en) Isobaric line drawing method and device, electronic equipment and storage medium
CN113255499B (en) Digital automatic modeling method for secondary loop of transformer substation cable
CN111753344B (en) Method for generating assembly type component data set, CAD platform and storage medium
CN114741188A (en) Graphic element processing method and device, electronic equipment and storage medium
CN111159830B (en) Orthogonal line segment inflection point merging line layout method based on characteristic shape
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
CN109829019B (en) Data conversion method and device of vector data and electronic equipment
CN111090968B (en) BMP image processing method, device and equipment based on PCB
CN117237977B (en) Area division method and system for CAD drawing
CN117473633B (en) Shaft network generation method, device, equipment and storage medium
CN111986111B (en) Image segmentation method
CN112685869B (en) Split conductor path line drawing method and device, equipment and storage medium
CN110737733B (en) Method and device for removing repeated interest points
CN118036224A (en) Automatic mapping method and system for distribution network single line diagram sketch based on visual model
CN116896113A (en) Converging dividing method, device, equipment and medium for photovoltaic module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant