CN103838919B - Drawing method and system for engineering geological plane graph - Google Patents

Drawing method and system for engineering geological plane graph Download PDF

Info

Publication number
CN103838919B
CN103838919B CN201410047316.6A CN201410047316A CN103838919B CN 103838919 B CN103838919 B CN 103838919B CN 201410047316 A CN201410047316 A CN 201410047316A CN 103838919 B CN103838919 B CN 103838919B
Authority
CN
China
Prior art keywords
exploration
information
segment
coordinates
entity
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.)
Active
Application number
CN201410047316.6A
Other languages
Chinese (zh)
Other versions
CN103838919A (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 Engineering Consulting Group Co Ltd
Original Assignee
China Railway Engineering Consulting 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 Engineering Consulting Group Co Ltd filed Critical China Railway Engineering Consulting Group Co Ltd
Priority to CN201410047316.6A priority Critical patent/CN103838919B/en
Publication of CN103838919A publication Critical patent/CN103838919A/en
Application granted granted Critical
Publication of CN103838919B publication Critical patent/CN103838919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a drawing method and system for an engineering geological plane graph. The drawing method comprises the steps of generating vertex coordinates of drawing area segments of drawing areas in a rectangular coordinate system according to type-in data and generating coordinates of points in a graph of a road to be constructed, and annotation information and coordinates of the annotation information of exploration entities, and further comprises the steps of determining the drawing area segments which the annotation information of the exploration entities belong to according to the coordinates of the annotation information of the exploration entities and the vertex coordinates of the drawing area segments, then determining rotating angles of the annotation information according to the included angle between the positive axis of the X axis and the bottom/top line segments of the drawing area segments which the annotation information of the exploration entities belong to, and drawing the engineering geological plane graph according to the vertex coordinates of the drawing area segments, the coordinates of the points in the graph of the road to be constructed, the annotation information and the coordinates of the annotation information of the exploration entities, and the rotating angles of the annotation information. According to the technical scheme, the annotation information of the engineering geological plane graph of a printing version is parallel to the X axis, and therefore no manual adjustment for the angles of the annotation information is needed.

Description

Method and system for drawing engineering geological plan
Technical Field
The invention relates to the field of engineering geological information processing, in particular to a method and a system for drawing an engineering geological plan.
Background
With the continuous development of infrastructure construction in China, a large number of roads are to be constructed. Before constructing a road, a road design unit usually surveys at a predetermined construction site of the road (e.g., railway, highway), and after drawing an engineering geological plan according to the result of the survey by computer software, the paper engineering geological plan is printed and submitted to relevant departments for evaluation and examination.
The computer software draws an engineering geological plan, as shown in fig. 1a or 1b, from the results of the survey, typically including a graph representing the road to be built, contours, and annotation information for the survey entity. The annotation information can include an identification of the exploration entity, as well as textual annotation information for the exploration entity. For example, the identification of an uppercase D in an open circle represents a motorway hole, the identification of an uppercase J in an open circle represents a statics hole, the identification of a filled circle represents a borehole, etc. The text annotation information of an exploration entity can represent specific information of the exploration entity; for example, JT-218 denotes the number 218 of the quiet probe hole.
The engineering geological plan is usually drawn by engineering geological survey software and printed out; the internal module block diagram of the existing engineering geological survey software, as shown in fig. 2, includes: a survey data processing module 201 and a CAD (Computer aided design) module 202.
The technician enters into the engineering geological survey software the position data of the road to be built, the position data of the exploration entity at and near the road, and the relevant information of the exploration entity.
A survey data processing module 201 in the engineering geological survey software determines a drawing area in a rectangular coordinate system according to the input position data of the road to be built, and determines coordinates of each point in a graph of the road to be built in the drawing area; the determined drawing area is formed by connecting a plurality of drawing area sections in sequence; each drawing region segment is generally a quadrangle, the upper boundary (i.e., the top line segment) and the lower boundary (i.e., the bottom line segment) of which are parallel to each other, and the distance between the upper and lower boundaries of each drawing region segment is a set value.
The survey data processing module 201 also generates labeling information of each exploration entity in the rectangular coordinate system and coordinates of the labeling information according to the recorded position data of the exploration entities at the road and nearby.
For example, after the survey data processing module 201 takes the vertical axis and the horizontal axis of the beijing 54 coordinate system as the X axis and the Y axis of the rectangular coordinate system, respectively, the coordinates of the recorded exploration entity in the beijing 54 coordinate system are converted into the coordinates of the labeling information of the exploration entity in the rectangular coordinate system according to the set scale.
The survey data processing module 201 transmits the vertex coordinates of each drawing area segment of the drawing area in the rectangular coordinate system, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, and the coordinates of the labeling information to the CAD module 202.
Then, the CAD module 202 performs drawing of the engineering geological plan according to the received data:
the CAD module 202 draws and displays each drawing region segment according to the vertex coordinates of each drawing region segment in the rectangular coordinate system;
the CAD module 202 draws and displays the road to be built according to the coordinates of each point in the graph of the road to be built;
for each exploration entity, the CAD module 202 draws and displays the identifier of the exploration entity at the corresponding position of the engineering geological plan according to the coordinates of the labeled information of the exploration entity in the rectangular coordinate system, and draws and displays the text annotation information of the labeled information of the exploration entity near the identifier of the exploration entity. The text arrangement direction of the text annotation information drawn and displayed by the CAD module 202 is generally parallel to the X-axis in the rectangular coordinate system.
In the engineering geological plan (as shown in fig. 1 a) drawn by the CAD module 202 according to the received data, the graph of the road to be built tends to be in a polygonal line segment shape, and correspondingly, the drawing area is also in a polygonal line segment shape; that is, the upper (or lower) boundaries of the drawing region segments are generally not parallel to the X-axis, nor are they necessarily parallel to each other.
After the CAD module 202 draws an engineering geological plan according to the received data, a technician usually needs to print the engineering geological plan, and the printed paper is usually rectangular; therefore, before printing, the technician needs to make corresponding adjustments to the engineering geological plan through the CAD module 202 so as to print and output the engineering geological plan on printing paper: for example, for the engineering geological plan shown in fig. 1a, the engineering geological plan can be split into two drawing area segments from the bending position (i.e. the boundary segment between every two adjacent drawing area segments), and the two split drawing area segments are rotated so that the bottom line segments of the two drawing area segments are both parallel to the bottom line of the previewed paper to be printed (i.e. parallel to the X axis), so as to obtain the printing plate engineering geological plan shown in fig. 1b for printing output.
However, in the process of adjusting the drawn engineering geological plan into a printed engineering geological plan, the labeling information in the drawing area segment rotates along with the drawing area segment, so that the character arrangement direction of the character annotation information of the labeling information in the drawing area segment after rotation is no longer parallel to the X axis, and the character arrangement directions of the character annotation information in different drawing area segments may point to different directions, thereby affecting the viewability of the plan; therefore, before printing and outputting the engineering geological plan, technicians can manually adjust the character arrangement direction of the character annotation information one by one through the CAD module 202; for example, the label information is rotated so that the text arrangement direction of the text comment information of the label information is parallel to the X axis in the rectangular coordinate system. In practical application, the number of the annotation information in the engineering geological plan is often large (for example, hundreds), and the engineering geological plan is printed and output after the text arrangement direction of the text annotation information of the annotation information is adjusted by adopting the existing method, so that the workload is large, the time consumption is long, and the efficiency is low.
Therefore, by adopting the existing engineering geological plan drawing method, in the process of printing and outputting the engineering geological plan, technicians need to manually adjust the character arrangement direction of each character annotation information one by one, which results in large workload and low working efficiency; therefore, it is necessary to provide a method for drawing an engineering geological plan, so that technicians do not need to manually adjust the text arrangement direction of each text annotation information one by one in the process of printing and outputting the engineering geological plan, the workload is reduced, and the working efficiency is improved.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the method and the system for drawing the engineering geological plan, so that technicians do not need to manually adjust the character arrangement direction of each character annotation information one by one in the process of printing and outputting the engineering geological plan, the workload is reduced, and the working efficiency is improved.
According to one aspect, the invention provides a method for drawing an engineering geological plan, which comprises the following steps: generating vertex coordinates of each drawing area segment of a drawing area in a rectangular coordinate system, coordinates of each point in a graph of the road to be built, labeling information of each exploration entity and coordinates of the labeling information according to the input position data of the road to be built, the position data of each exploration entity and related information; further comprising:
for the labeling information of each exploration entity, determining a drawing area segment to which the labeling information belongs according to the coordinates of the labeling information of the exploration entity and the vertex coordinates of each drawing area segment, and determining the rotation angle of the labeling information of the exploration entity according to the included angle between the bottom/top line segment of the drawing area segment to which the labeling information belongs and the positive half axis of the X axis in the rectangular coordinate system;
and drawing the engineering geological plan according to the vertex coordinates of each drawing area segment, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, the coordinates of the labeling information and the rotation angle.
Preferably, the determining the mapping region segment to which the annotation information of the exploration entity belongs according to the coordinates of the annotation information of the exploration entity and the vertex coordinates of each mapping region segment specifically includes:
determining a drawing area segment to which the marking information belongs according to the coordinates of the marking information of the exploration entity and an angular bisector between bottom line segments of every two adjacent drawing area segments in the drawing area;
and the angular bisector between the bottom line segments of the two adjacent drawing region segments is predetermined according to the vertex coordinates of the two adjacent drawing region segments.
Preferably, the determining the bottom of the drawing area segment to which the annotation information belongs according to the coordinates of the annotation information of the exploration entity and the bisector of the angle between the bottom line segments of every two adjacent drawing area segments in the drawing area specifically includes:
and for two angle bisectors respectively passing through the starting point and the end point of the bottom line segment of one drawing regional segment, if the coordinate of the labeling information of the exploration entity is judged to be positioned between the straight lines of the two angle bisectors, the labeling information of the exploration entity is judged to belong to the drawing regional segment.
Preferably, the determining that the coordinate of the labeled information of the exploration entity is located between the straight lines of the two angle bisectors specifically includes:
for the ith drawing area segment in each drawing area segment sequentially connected in the drawing area, aiming at the angular bisectors passing through the starting point and the end point of the bottom line segment respectively, determining the discriminant of the straight line where the two angular bisectors are located respectively according to the equation of the straight line where the two angular bisectors are located, wherein the discriminant is respectively shown as expressions 7 and 8:
Y-KXi(X-Xi)-Yi(expression 7)
Y-KXi+1(X-Xi+1)-Yi+1(expression 8)
In said expression 7, (X)i,Yi) Coordinates representing the start of the bottom line segment of the i-th drawing area segment, KXiA slope of a bisector of an angle representing a starting point of a bottom line segment passing through the ith drawing region segment; in said expression 8, (X)i+1,Yi+1) Coordinates, K, representing the end point of the bottom line segment of the i-th drawing area segmentXi+1A slope of a bisector of an angle representing an end point of a bottom line segment passing through the ith drawing region segment;
coordinates (X) of the annotation information of the exploration entitys,Ys) Respectively substituted into the expressions 7 and 8 to respectively obtain first discrimination values P shown in the following formula 9s1And a second discrimination value P as shown in the following equation 10s2
Ps1=Ys-KXi(Xs-Xi)-Yi(formula 9)
Ps2=Ys-KXi+1(Xs-Xi+1)-Yi+1(formula 10)
If P is judgeds1And Ps2If the signs of (A) are different, the coordinates (X) are determineds,Ys) And the angle bisector is positioned between straight lines respectively passing through the starting point and the ending point of the bottom line segment of the ith drawing region segment.
Preferably, the rotation angle of the labeling information is attribute information of the labeling information.
Further, after the drawing the engineering geological plan, the method further comprises the following steps:
and rotationally adjusting each drawing region section in the engineering geological plan so that the bottom/top line segment of each drawing region section is parallel to the X axis in the rectangular coordinate system to obtain a printed engineering geological plan, and then printing and outputting the printed engineering geological plan.
According to another aspect, the present invention provides a system for drawing an engineering geological plan, including:
the survey data processing module is used for generating vertex coordinates of each drawing area section in a rectangular coordinate system, coordinates of each point in a graph of the road to be built, labeling information of each exploration entity and coordinates of the labeling information according to the position data of the road to be built, the position data of each exploration entity and relevant information;
the annotation information rotation angle compensation module is used for determining the rotation angle of the annotation information of each exploration entity generated by the exploration data processing module according to the coordinate of the annotation information of the exploration entity and the vertex coordinate of each drawing area section and the included angle between the bottom/top line segment of the drawing area section and the positive half axis of the X axis in the rectangular coordinate system after determining the drawing area section to which the annotation information belongs;
and the CAD module is used for drawing the engineering geological plan according to the vertex coordinates of each drawing area section received from the survey data processing module, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, the coordinates and the rotation angle of the labeling information.
Preferably, the module for compensating the rotation angle of the annotation information specifically includes:
the angular bisector determining unit is used for determining an angular bisector between bottom line segments of every two adjacent drawing region segments according to the vertex coordinates of the two adjacent drawing region segments in the drawing region;
and the marking information attribution determining unit is used for determining the drawing area segment to which the marking information belongs according to the coordinates of the marking information of the exploration entity and the angular bisector determined by the angular bisector determining unit for the marking information of each exploration entity generated by the exploration data processing module.
Preferably, the rotation angle of the labeling information is attribute information of the labeling information.
Further, the system for drawing the engineering geological plan further comprises:
the printing output module is used for printing and outputting the engineering geological plan of the printing plate; and the printed engineering geological plan is obtained by rotating and adjusting each drawing region section in the engineering geological plan drawn by the CAD module to enable the bottom/top line segment of each drawing region section to be parallel to the X axis in the rectangular coordinate system.
According to the technical scheme, the rotation angle of the marking information of the exploration entity is determined, and the engineering geological plan is drawn according to the determined rotation angle, so that the marking information displayed in the plan is parallel to the bottom/top line segment of the drawing area segment to which the marking information belongs; after the drawn engineering geological plan is adjusted to be the printing engineering geological plan, the marking information displayed in the drawing is still parallel to the bottom/top line segment of the drawing area segment to which the drawing information belongs, namely parallel to the X axis. Therefore, the angle of the marked information does not need to be manually adjusted one by one, the workload of technical personnel is greatly reduced, and the working efficiency is improved.
Drawings
FIG. 1a is a schematic drawing of a prior art mapped engineered geological plan;
FIG. 1b is a schematic representation of a prior art adjusted printed version of an engineered geological plan;
FIG. 2 is a block diagram of the internal modules of a prior art system for mapping an engineered geological plan;
FIG. 3 is a block diagram of the internal modules of the system for mapping an engineered geological plan according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram of a method for mapping an engineered geological plan according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of an engineered geological plan depicting an embodiment of the present invention;
FIG. 6 is a schematic illustration of an engineered geological plan of an adjusted printed version of an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for determining an angular bisector between bottom/top line segments of every two adjacent drawing region segments according to an embodiment of the present invention;
FIGS. 8a to 8d are schematic diagrams illustrating an angle between a bottom/top line segment of a rendering region segment and an X-axis positive semi-axis according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a position relationship between coordinates of the label information and a straight line where two angle bisectors are located according to an embodiment of the present invention;
fig. 10 is a block diagram of internal modules of the labeled information rotation angle compensation module in the system for drawing the engineering geological plan according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings by way of examples of preferred embodiments. It should be noted, however, that the numerous details set forth in the description are merely for the purpose of providing the reader with a thorough understanding of one or more aspects of the present invention, which may be practiced without these specific details.
As used in this application, the terms "module," "system," and the like are intended to include a computer-related entity, such as but not limited to hardware, firmware, a combination of hardware and software, or software in execution. For example, a module may be, but is not limited to: a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. For example, an application running on a computing device and the computing device may both be a module. One or more modules may reside within a process and/or thread of execution and a module may be localized on one computer and/or distributed between two or more computers.
The inventor of the invention finds that the CAD module in the existing engineering geological survey software generally displays the labeling information in a default mode: displaying the labeling information by default set colors, fonts and rotation angles; in general, the default rotation angle is 0 degrees, that is, the displayed annotation information is parallel to the X-axis in the rectangular coordinate system, so that the text arrangement direction of the text annotation information of the annotation information is parallel to the X-axis in the rectangular coordinate system.
Thus, the inventors of the present invention considered that, when inputting coordinate information to the CAD module, attribute information of the rotation angle of the label information may be further input; the CAD module can draw the marking information with a certain rotation angle according to the received information; when the drawn engineering geological plan is adjusted to be a printed engineering geological plan, the original marking information with a certain rotation angle rotates along with the drawing region section, the character arrangement direction of the character annotation information of the marking information is just enabled to be parallel to the X axis in the rectangular coordinate system, the rotation angle compensation effect is achieved, manual adjustment is not needed any more, the workload of technicians is greatly reduced, and the working efficiency is improved.
The technical scheme of the invention is explained in detail in the following with the accompanying drawings.
The embodiment of the present invention provides a system for drawing an engineering geological plan (i.e. the engineering geological survey software of the present invention), and a block diagram of internal modules of the system is shown in fig. 3, and the system includes: a survey data processing module 301, a labeling information rotation angle compensation module 302, a CAD module 303, and a printout module 304.
The process of the method for drawing the engineering geological plan provided by the embodiment of the invention is shown in FIG. 4, and comprises the following steps:
s401: the technical personnel input the data of the road to be built and the data of the exploration entity into a drawing system of the engineering geological plan.
Specifically, a technician enters the coordinates of the road to be built in the Beijing 54 coordinate system into a survey data processing module 301 in the drawing system of the engineering geological plan; coordinates of each exploration entity such as a static exploration hole, a dynamic exploration hole, a drilling hole and a test pit which are positioned at or near a road to be built in a Beijing 54 coordinate system, and related information such as the name and annotation information of each exploration entity are input into an exploration data processing module 301 of the drawing system of the engineering geological plan.
S402: and processing the input data by the drawing system of the engineering geological plan to obtain the vertex coordinates of each drawing area section in the rectangular coordinate system, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity and the coordinates of the labeling information.
Specifically, the survey data processing module 301 in the drawing system of the engineering geological plan generates the vertex coordinates of each drawing area segment in the rectangular coordinate system and the coordinates of each point in the graph of the road to be built according to the recorded coordinates of the road to be built in the beijing 54 coordinate system; generating marking information representing the exploration entities according to the input related information of the exploration entities; and generating the coordinates of the labeled information in the rectangular coordinate system according to the recorded coordinates of each exploration entity in the Beijing 54 coordinate system, and then sending an angle compensation notice.
S403: and determining the drawing area section to which the engineering geological plan belongs according to the coordinates of the marking information of the exploration entity and the vertex coordinates of each drawing area section by the marking information of each exploration entity of the drawing system of the engineering geological plan.
Specifically, after receiving the angle compensation notification, the annotation information rotation angle compensation module 302 in the system for drawing the engineering geological plan determines, for the annotation information of each exploration entity, the drawing area segment to which the annotation information of the exploration entity belongs according to the vertex coordinates of each drawing area segment and the coordinates of the annotation information of the exploration entity determined by the exploration data processing module 301; the specific method for determining the drawing region segment to which the annotation information belongs will be described in detail later.
S404: and for the marking information of each exploration entity, the drawing system of the engineering geological plan determines the rotation angle of the marking information of the exploration entity according to the included angle between the bottom/top line segment of the drawing region segment to which the marking information belongs and the positive half axis of the X axis in the rectangular coordinate system.
Specifically, for the annotation information of each exploration entity, the annotation information rotation angle compensation module 302 in the system for drawing an engineering geological plan determines an included angle between a bottom line segment (or a top line segment) and an X-axis positive half axis of the drawing area segment for the drawing area segment to which the annotation information of the exploration entity belongs, and takes the included angle as the rotation angle of the annotation information of the exploration entity. After the angle of rotation of the standard information of each exploration entity is determined by the angle of rotation compensation module 302 for the annotation information, an angle compensation completion notification is returned to the exploration data processing module 301. For each exploration entity, the rotation angle of the annotation information of the exploration entity is the attribute information of the annotation information of the exploration entity.
The default rotation angle of the annotation information of one exploration entity is 0 degree, namely the font arrangement direction of the annotation character information of the annotation information of the exploration entity is parallel to the X axis by default; therefore, the rotation angle of the annotation information of the exploration entity determined by the rotation angle compensation module 302 is equal to an included angle between the font arrangement direction of the annotation text information of the annotation information of the exploration entity and the bottom line segment (or the top line segment) of the drawing area segment to which the annotation information of the exploration entity belongs.
S405: and the drawing system of the engineering geological plan draws the engineering geological plan according to the vertex coordinates of each drawing area segment, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, the coordinates of the labeling information and the rotation angle.
In this step, after receiving the notification of the completion of the angle compensation, the survey data processing module 301 outputs the vertex coordinates of each drawing area segment in the rectangular coordinate system, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, the coordinates of the labeling information, and the rotation angle of the labeling information of each exploration entity calculated by the rotation angle compensation module 302 to the CAD module 303 in the drawing system of the engineering geological plan. The CAD module 303 draws an engineered geological plan as shown in fig. 5 based on the received data.
The CAD module 303 may perform angular rotation on the annotation information according to the rotation angle in the attribute information of the annotation information during the process of drawing the engineering geological plan according to the vertex coordinates of each drawing region segment in the rectangular coordinate system, the coordinates of each point in the graph of the road to be built, the annotation information of each exploration entity, the coordinates of the annotation information, and the rotation angle, so that the text annotation information of the annotation information after the angular rotation is displayed to be not parallel to the X axis in the rectangular coordinate system, but parallel to the bottom line segment (or the top line segment) of the drawing region segment to which the annotation information belongs.
After the CAD module 303 draws an engineering geological plan, the technician can adjust the drawn engineering geological plan into a printed engineering geological plan as shown in fig. 6 by the CAD module 303: in the process of making the printed engineering geological plan, for the engineering geological plan drawn by the CAD module 303, splitting the drawn engineering geological plan into drawing area segments from an intersection segment (boundary segment) between every two adjacent drawing area segments; and respectively carrying out rotation adjustment on each drawing area section obtained by splitting, so that a bottom line segment (or a top line segment) of the drawing area section is parallel to the bottom edge of the previewed paper to be printed (namely parallel to the X axis of the rectangular coordinate system), and obtaining the engineering geological plan of the printing plate. That is, after the drawing region segments in the engineering geological plan drawn by the CAD module 303 are rotationally adjusted, and the bottom line segment (or top line segment) of each drawing region segment is parallel to the X axis in the rectangular coordinate system, the printing engineering geological plan can be obtained.
Each marking information displayed in the engineering geological plan of the printing version is parallel to the bottom line segment (or the top line segment) of the drawing area segment to which the marking information belongs, so that the marking information is parallel to the X axis, and the character arrangement direction of the character annotation information of the marking information is parallel to the X axis. Therefore, the angle of the marked information does not need to be manually adjusted one by one, the workload of technical personnel is greatly reduced, and the working efficiency is improved.
The printed version of the engineered geological plan is then printed out by the printout module 304.
In step S403, before determining the drawing region segment to which each piece of annotation information belongs, the drawing system of the engineering geological plan may determine in advance an angle bisector between bottom line segments (or top line segments) of each two adjacent drawing region segments in the drawing region according to the vertex coordinates of each drawing region segment, where a specific method flow is shown in fig. 7, and includes the following steps:
s701: and the drawing system of the engineering geological plan determines the included angle between the bottom line segment (or the top line segment) of each drawing region segment and the X-axis positive half shaft of the rectangular coordinate system according to the vertex coordinates of each drawing region segment.
In this step, the annotation information rotation angle compensation module 302 in the drawing system of the engineering geological plan extracts coordinates of a start point and an end point of a bottom line segment (or a top line segment) of each drawing region segment from the vertex coordinates of each drawing region segment.
For example, if the rendering region is composed of n-1 rendering region segments connected in sequence, n is a natural number greater than 2; the annotation information rotation angle compensation module 302 extracts coordinates of a start point and an end point of a bottom line segment (or a top line segment) of the ith drawing region segment from the coordinates of the top points of the n-1 drawing region segments(Xi,Yi)、(Xi+1,Yi+1) And i is a natural number of 1 to (n-1). In fact, (X)1,Y1) And (X)n,Yn) Respectively representing the start and end points of the lower boundary of the drawing area.
The labeling information rotation angle compensation module 302 determines, for the bottom line segment (or top line segment) of each drawing region segment, an included angle between a straight line where the bottom line segment (or top line segment) of the drawing region segment is located and the positive half axis of the X axis according to coordinates of a start point and an end point of the bottom line segment (or top line segment) of the drawing region segment.
For example, for the bottom line segment (or top line segment) of the ith drawing region segment, the included angle θ between the straight line of the bottom line segment (or top line segment) of the drawing region segment and the positive half axis of the X-axis can be calculated according to the following formula 1i
θ i = arctan ( Y i + 1 - Y i X i + 1 - X i ) (formula 1)
In equation 1, θiBetween-pi/2 and pi/2.
The labeling information rotation angle compensation module 302 determines, for each bottom line segment (or top line segment) of the drawing area segment, an included angle between the bottom line segment (or top line segment) of the drawing area segment and the positive half axis of the X axis according to an included angle between a straight line where the bottom line segment (or top line segment) of the drawing area segment is located and the positive half axis of the X axis.
For example, the annotation information rotation angle compensation module 302 translates the bottom line segment (or top line segment) of the ith rendering region segment to make its starting point coincide with the origin of the rectangular coordinate system, and then determines X as shown in fig. 8a and 8di+1Greater than or equal to XiThen the angle α between the bottom (or top) line segment of the drawing region segment and the positive X-axis half is determinediIs equal to thetai
If X is judgedi+1Less than XiAnd Y isi+1Greater than YiAs shown in FIG. 8b, the included angle α between the bottom line segment (or the top line segment) and the positive X-axis half axis of the drawing region segment can be calculated according to the following formula 2i
αii+ pi (formula 2)
If X is judgedi+1Less than XiAnd Y isi+1Less than YiAs shown in FIG. 8c, the included angle α between the bottom line segment (or the top line segment) and the positive X-axis half axis of the drawing region segment can be calculated according to the following formula 3i
αii-pi (equation 3)
S702: the drawing system of the engineering geological plan determines an angular bisector between bottom line segments (or top line segments) of every two adjacent drawing area segments in the drawing area.
In this step, the labeling information rotation angle compensation module 302 determines, for every two adjacent drawing area segments in the drawing area, an included angle between an angular bisector between the bottom line segments (or top line segments) of the two adjacent drawing area segments and an X-axis positive half axis according to an included angle between the bottom line segments (or top line segments) of each of the two adjacent drawing area segments and the X-axis positive half axis, and then determines a slope of the angular bisector. And determining a straight line where the angle bisector is located according to the slope of the angle bisector and the coordinates of the intersection point between the bottom line segments (or the top line segments) of the two adjacent drawing area segments (namely the coordinate point where the angle bisector passes).
For example, as shown in fig. 9, the annotation information rotation angle compensation module 302 may calculate an angle α between a bisector between a bottom line segment (or a top line segment) of the i-1 th rendering region segment and a bottom line segment (or a top line segment) of the i-th rendering region segment, that is, an angle α between a bisector passing through a starting point of the bottom line segment (or the top line segment) of the i-th rendering region segment and an X-axis positive half axis, and an X-axis positive half axis from the following formula 4, for the i-1 th rendering region segment and the i-th rendering region segment, based on an angle between the bottom line segment (or the top line segment) of the i-th rendering region segment and the X-axis positive half axisXi
α Xi = π - ( α i - α i - 1 ) 2 + α i (formula 4)
α calculated according to equation 4XiThe slope K of the angular bisector can be calculated from the following equation 5Xi
KXi=tanαXi(formula 5)
According toK calculated by formula 5XiAnd the coordinates (X) of the intersection point between the bottom line segment (or top line segment) of the i-1 th drawing area segment and the bottom line segment (or top line segment) of the i-th drawing area segmenti,Yi) The equation of the straight line of the angle bisector can be calculated by the following formula 6:
Y=KXi(X-Xi)+Yi(formula 6)
In step S403, the specific method for determining the drawing region segment to which the annotation information belongs by the drawing system of the engineering geological plan includes:
for two angle bisectors respectively passing through the starting point and the ending point of a bottom line segment (or a top line segment) of a drawing area segment, aiming at the marking information of each exploration entity, if the coordinate of the marking information of the exploration entity is judged to be between the straight lines of the two angle bisectors, the marking information of the exploration entity is judged to belong to the drawing area segment; otherwise, judging that the annotation information of the exploration entity does not belong to the drawing region segment, and continuously using the method of the step to judge whether the annotation information belongs to another drawing region segment.
The method for determining whether the coordinates of the labeled information of each exploration entity are located between the straight lines of the two angular bisectors for the two angular bisectors passing through the starting point and the ending point of the bottom line segment (or the top line segment) of one drawing area segment by the labeled information rotation angle compensation module 302 specifically includes: the annotation information rotation angle compensation module 302 may determine a discriminant of a straight line where an angle bisector exists according to the equation shown in the above equation 6, that is, an equation of a straight line where the angle bisector exists and passes through the starting point of the bottom line segment (or the top line segment) of the ith drawing region segment, where the discriminant may be represented by the following expression 7:
Y-KXi(X-Xi)-Yi(expression 7)
The annotation information rotation angle compensation module 302 may determine, for a bisector of an end point of a bottom line segment (or a top line segment) passing through the ith drawing region segment, a discriminant of a straight line where the bisector is located, where the discriminant may be represented by the following expression 8:
Y-KXi+1(X-Xi+1)-Yi+1(expression 8)
Wherein, K in the expression 8Xi+1And the slope of a bisector between the bottom line segment (or the top line segment) of the ith drawing region segment and the bottom line segment (or the top line segment) of the (i + 1) th drawing region segment, namely the slope of the bisector passing through the endpoint of the bottom line segment (or the top line segment) of the ith drawing region segment.
Tagging information rotation angle compensation module 302 maps coordinates (X) of a survey entity to tagging information of the survey entitys,Ys) Substituting into expression 7 and expression 8, respectively, to obtain first discrimination values P as shown in the following equation 9s1And a second discrimination value P as shown in the following equation 10s2
Ps1=Ys-KXi(Xs-Xi)-Yi(formula 9)
Ps2=Ys-KXi+1(Xs-Xi+1)-Yi+1(formula 10)
If the annotated information rotation angle compensation module 302 determines Ps1And Ps2If the signs of (A) are different, the coordinates (X) are determineds,Ys) Is positioned between straight lines of angular bisectors of the starting point and the end point of a bottom line segment (or a top line segment) passing through the ith drawing area segment respectively, and then the coordinate is judged to be (X)s,Ys) The marking information of (1) belongs to the ith drawing area segment; otherwise, the coordinate (X) is determineds,Ys) Is not positioned between the straight lines of the angular bisectors of the starting point and the end point of the bottom line segment (or the top line segment) of the ith drawing area segment, and the coordinate is judged to be (X)s,Ys) The marking information does not belong to the ith drawing area segment, and the method in the step is continuously adopted to judge that the coordinate is (X)s,Ys) Whether the annotation information of (1) belongs to other drawing region segments.
In addition, as shown in fig. 10, the internal architecture block diagram of the above-mentioned tag information rotation angle compensation module 302 specifically includes: an angle bisector determining unit 1001 and a label information attribution determining unit 1002.
An angle bisector determining unit 1001 is configured to determine, according to the vertex coordinates of each two adjacent drawing region segments in the drawing region, an angle bisector between bottom line segments of the two adjacent drawing region segments.
The labeling information attribution determining unit 1002 is configured to determine, for the labeling information of each exploration entity generated by the exploration data processing module 301, a drawing area segment to which the labeling information belongs according to the coordinates of the labeling information of the exploration entity and the angular bisector determined by the angular bisector determining unit 1001.
For a specific implementation method of the functions of the angular bisector determining unit 1001 and the annotation information attribution determining unit 1002, after the step S702, the specific content of the specific method for determining the area segment to which the annotation information belongs by the mapping system of the engineering geological plan may be referred to, and details are not repeated here.
According to the technical scheme, the rotation angle of the marking information of the exploration entity is determined, and the engineering geological plan is drawn according to the determined rotation angle, so that the marking information displayed in the plan is parallel to the bottom/top line segment of the drawing area segment to which the marking information belongs; after the drawn engineering geological plan is adjusted to be the printing engineering geological plan, the marking information displayed in the drawing is still parallel to the bottom/top line segment of the drawing area segment to which the drawing information belongs, namely parallel to the X axis. Therefore, the angle of the marked information does not need to be manually adjusted one by one, the workload of technical personnel is greatly reduced, and the working efficiency is improved.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be construed as the protection scope of the present invention.

Claims (7)

1. A method for drawing an engineering geological plan comprises the following steps: generating vertex coordinates of each drawing area segment of a drawing area in a rectangular coordinate system, coordinates of each point in a graph of the road to be built, labeling information of each exploration entity and coordinates of the labeling information according to the input position data of the road to be built, the position data of each exploration entity and related information; it is characterized by also comprising:
for the labeling information of each exploration entity, determining a drawing area segment to which the labeling information belongs according to the coordinates of the labeling information of the exploration entity and the vertex coordinates of each drawing area segment, and determining the rotation angle of the labeling information of the exploration entity according to the included angle between the bottom/top line segment of the drawing area segment to which the labeling information belongs and the positive half axis of the X axis in the rectangular coordinate system;
drawing an engineering geological plan according to the vertex coordinates of each drawing area segment, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, the coordinates of the labeling information and the rotation angle; wherein,
the method for determining the drawing area segment to which the exploration entity belongs according to the coordinates of the labeling information of the exploration entity and the vertex coordinates of each drawing area segment specifically comprises the following steps:
determining a drawing area segment to which the marking information belongs according to the coordinates of the marking information of the exploration entity and an angular bisector between bottom line segments of every two adjacent drawing area segments in the drawing area; wherein, according to the coordinate of the marking information of the exploration entity and the angular bisector between the bottom line segments of every two adjacent drawing area segments in the drawing area, the drawing area segment to which the marking information belongs is determined, and the method specifically comprises the following steps: for two angle bisectors respectively passing through the starting point and the end point of a bottom line segment of a drawing area segment, if the coordinate of the marking information of the exploration entity is judged to be positioned between straight lines of the two angle bisectors, the marking information of the exploration entity is judged to belong to the drawing area segment;
and the angular bisector between the bottom line segments of the two adjacent drawing region segments is predetermined according to the vertex coordinates of the two adjacent drawing region segments.
2. The method of claim 1, wherein determining that the coordinates of the annotation information for the exploration entity lie between the straight lines of the two bisectors comprises:
for the ith drawing area segment in each drawing area segment sequentially connected in the drawing area, aiming at the angular bisectors passing through the starting point and the end point of the bottom line segment respectively, determining the discriminant of the straight line where the two angular bisectors are located respectively according to the equation of the straight line where the two angular bisectors are located, wherein the discriminant is respectively shown as expressions 7 and 8:
Y-KXi(X-Xi)-Yi(expression 7)
Y-KXi+1(X-Xi+1)-Yi+1(expression 8)
In said expression 7, (X)i,Yi) Coordinates representing the start of the bottom line segment of the i-th drawing area segment, KXiA slope of a bisector of an angle representing a starting point of a bottom line segment passing through the ith drawing region segment; in said expression 8, (X)i+1,Yi+1) Coordinates, K, representing the end point of the bottom line segment of the i-th drawing area segmentXi+1A slope of a bisector of an angle representing an end point of a bottom line segment passing through the ith drawing region segment;
coordinates (X) of the annotation information of the exploration entitys,Ys) Respectively substituted into the expressions 7 and 8 to respectively obtain first discrimination values P shown in the following formula 9s1And a second discrimination value P as shown in the following equation 10s2
Ps1=Ys-KXi(Xs-Xi)-Yi(formula 9)
Ps2=Ys-KXi+1(Xs-Xi+1)-Yi+1(formula 10)
If P is judgeds1And Ps2If the signs of (A) are different, the coordinates (X) are determineds,Ys) And the angle bisector is positioned between straight lines respectively passing through the starting point and the ending point of the bottom line segment of the ith drawing region segment.
3. The method according to any of claims 1-2, wherein the rotation angle of the label information is attribute information of the label information.
4. The method of any one of claims 1-2, further comprising, after said drawing the engineered geological plan:
and rotationally adjusting each drawing region section in the engineering geological plan so that the bottom/top line segment of each drawing region section is parallel to the X axis in the rectangular coordinate system to obtain a printed engineering geological plan, and then printing and outputting the printed engineering geological plan.
5. A system for mapping an engineered geological plan, comprising:
the survey data processing module is used for generating vertex coordinates of each drawing area section in a rectangular coordinate system, coordinates of each point in a graph of the road to be built, labeling information of each exploration entity and coordinates of the labeling information according to the position data of the road to be built, the position data of each exploration entity and relevant information;
the annotation information rotation angle compensation module is used for determining the rotation angle of the annotation information of each exploration entity generated by the exploration data processing module according to the coordinate of the annotation information of the exploration entity and the vertex coordinate of each drawing area section and the included angle between the bottom/top line segment of the drawing area section and the positive half axis of the X axis in the rectangular coordinate system after determining the drawing area section to which the annotation information belongs;
the CAD module is used for drawing an engineering geological plan according to the vertex coordinates of each drawing area section received from the survey data processing module, the coordinates of each point in the graph of the road to be built, the labeling information of each exploration entity, the coordinates and the rotation angle of the labeling information; wherein,
the labeling information rotation angle compensation module specifically comprises:
the angular bisector determining unit is used for determining an angular bisector between bottom line segments of every two adjacent drawing region segments according to the vertex coordinates of the two adjacent drawing region segments in the drawing region;
the marking information attribution determining unit is used for determining the drawing area segment to which the marking information belongs according to the coordinates of the marking information of the exploration entity and the angular bisector determined by the angular bisector determining unit for the marking information of each exploration entity generated by the exploration data processing module; wherein, according to the coordinate of the marking information of the exploration entity and the angular bisector between the bottom line segments of every two adjacent drawing area segments in the drawing area, the drawing area segment to which the marking information belongs is determined, and the method specifically comprises the following steps: and for two angle bisectors respectively passing through the starting point and the end point of the bottom line segment of one drawing regional segment, if the coordinate of the labeling information of the exploration entity is judged to be positioned between the straight lines of the two angle bisectors, the labeling information of the exploration entity is judged to belong to the drawing regional segment.
6. The system of claim 5, wherein the rotation angle of the label information is attribute information of the label information.
7. The system of claim 5, further comprising:
the printing output module is used for printing and outputting the engineering geological plan of the printing plate; and the printed engineering geological plan is obtained by rotating and adjusting each drawing region section in the engineering geological plan drawn by the CAD module to enable the bottom/top line segment of each drawing region section to be parallel to the X axis in the rectangular coordinate system.
CN201410047316.6A 2014-02-11 2014-02-11 Drawing method and system for engineering geological plane graph Active CN103838919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410047316.6A CN103838919B (en) 2014-02-11 2014-02-11 Drawing method and system for engineering geological plane graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410047316.6A CN103838919B (en) 2014-02-11 2014-02-11 Drawing method and system for engineering geological plane graph

Publications (2)

Publication Number Publication Date
CN103838919A CN103838919A (en) 2014-06-04
CN103838919B true CN103838919B (en) 2017-01-25

Family

ID=50802410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410047316.6A Active CN103838919B (en) 2014-02-11 2014-02-11 Drawing method and system for engineering geological plane graph

Country Status (1)

Country Link
CN (1) CN103838919B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850587B (en) * 2015-04-24 2018-10-02 华能伊敏煤电有限责任公司 Method and device for marking Surpac measurement acceptance system data
CN113326597B (en) * 2021-06-24 2022-08-02 卡斯柯信号有限公司 Method and system for generating station signal equipment plane graph and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477567A (en) * 2003-07-11 2004-02-25 中国地质大学(武汉) Computer-aided geologic investigation system based on portable machine
CN101901244A (en) * 2010-01-07 2010-12-01 深圳市勘察测绘院有限公司 Geological geographic information system processing method
CN102103758A (en) * 2011-03-21 2011-06-22 四川大学 Computer graph generating method for engineering geological section map

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477567A (en) * 2003-07-11 2004-02-25 中国地质大学(武汉) Computer-aided geologic investigation system based on portable machine
CN101901244A (en) * 2010-01-07 2010-12-01 深圳市勘察测绘院有限公司 Geological geographic information system processing method
CN102103758A (en) * 2011-03-21 2011-06-22 四川大学 Computer graph generating method for engineering geological section map

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"AutoCAD 地理信息系统在煤田地质勘查中的应用";阮传明;《新疆有色金属》;20120615(第3期);第48-53页 *
"在水利工程平面制图中AutoCAD2007的运用技巧";伊大巍;《黑龙江水利科技》;20120620;第40卷(第3期);第132-134页 *
"工程地质平剖面图CAD绘图系统";徐春才;《土石坝与岩土力学技术研讨会论文集》;20011001;第321-325页 *

Also Published As

Publication number Publication date
CN103838919A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
WO2023015922A1 (en) Image recognition model training method and apparatus, device, and storage medium
CN113094770B (en) Drawing generation method and device, computer equipment and storage medium
CN104252410A (en) Method and equipment for testing control in page
CN105760536A (en) Geological map database establishing device and geological map database establishing device method based on geological database
JP5229291B2 (en) Map creation device and map creation program
WO2022252675A1 (en) Road annotation generation method and apparatus, and device and storage medium
CN103838919B (en) Drawing method and system for engineering geological plane graph
CN110826393B (en) Automatic extraction method of drilling histogram information
Burt et al. Automated and semi-automated map georeferencing
US20080284800A1 (en) Method and/or apparatus for displaying scaled design drawings permitting measurement directly from the display
US20220254169A1 (en) Road surface inspection apparatus, road surface inspection method, and program
Yue et al. Measurement of tunnel clearance convergence using mobile laser detection technology
Rauch et al. Trace Information Extraction (TIE): A new approach to extract structural information from traces in geological maps
CN101673407A (en) Drawing method for showing three-dimensional figure of underground pipelines by using plane figure
CN112417826A (en) PDF online editing method and device, electronic equipment and readable storage medium
CN104297794A (en) Seismic data mapping method and system
CN109446286B (en) Visualization method and device for highway road network map
CN103345769A (en) Full-path remote-sensing image thematic charting method
JP2017133838A (en) Facility management data extracting device, and facility management data extracting method
US20060087506A1 (en) Three-dimensional design supporting program and three dimensional design supporting apparatus
Jones et al. GroundWater Spatio-Temporal Data Analysis Tool (GWSDAT Version 2.0) User Manual
CN109033373B (en) Method and device for marking geologic body code number and storage medium thereof
Yu et al. UAS Aerial Surveying in Resurvey Process of Cadastral Maps
CN105488828B (en) A kind of electronic triangular ruler system and its working method and building block
Ying et al. Automate TNM Input Process Using Python

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant