CN103838919A - 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
CN103838919A
CN103838919A CN201410047316.6A CN201410047316A CN103838919A CN 103838919 A CN103838919 A CN 103838919A CN 201410047316 A CN201410047316 A CN 201410047316A CN 103838919 A CN103838919 A CN 103838919A
Authority
CN
China
Prior art keywords
drawing area
markup information
coordinate
entity
section
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
CN201410047316.6A
Other languages
Chinese (zh)
Other versions
CN103838919B (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

Images

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

The method for drafting of geological map and system
Technical field
The present invention relates to engineering geology field of information processing, relate in particular to a kind of method for drafting and system of geological map.
Background technology
Along with the development of China's infrastructure construction, a large amount of roads is waited to build.Before road construction, the designing unit of road for example, explores on the predetermined construction ground of road (railway, highway) conventionally, be depicted as after geological map according to the result of exploration by computer software, the geological map that prints papery is submitted to relevant department and is assessed and examine.
The geological map that computer software is drawn according to the result of exploration, as shown in Fig. 1 a or Fig. 1 b, generally includes and represents figure, the level line of road to be built, the markup information of exploration entity.Markup information can comprise explores the mark of entity and the word annotation information of exploration entity.For example, the mark that adds the D word of capitalization in open circles represents that the mark that adds the J word of capitalization in moving inspecting hole, open circles represents that the mark of quiet inspecting hole, filled circles represents boring etc.The word annotation information of exploration entity can represent the specifying information of this exploration entity; What for example, JT-218 represented quiet inspecting hole is numbered 218.
Geological map is conventionally by engineering geological investigation Software on Drawing printout; The internal module block diagram of existing engineering geological investigation software, as shown in Figure 2, comprising: prospecting data processing module 201 and CAD(Computer Aided Design, computer-aided design (CAD)) module 202.
Technician by the position data of road to be built, this road place and near the position data of exploration entity, and the relevant information of exploration entity is entered in engineering geological investigation software.
Prospecting data processing module 201 in engineering geological investigation software, according to the position data of the road to be built of typing, is determined the drawing area in rectangular coordinate system, and the coordinate of each point in the figure of road to be built in definite drawing area; Wherein, the drawing area of determining is to be joined and form successively by several drawing area sections; Each drawing area section is generally quadrilateral, and its coboundary (being top line section) and lower boundary (being bottom line section) are parallel to each other, and distance between the upper and lower border of each drawing area section is setting value.
Prospecting data processing module 201, also according to this road place of typing and near the position data of exploration entity thereof, generates the markup information of the each exploration entity in rectangular coordinate system, and the coordinate of markup information.
For example, prospecting data processing module 201 can be respectively using the longitudinal axis in Beijing 54 Coordinate System and transverse axis respectively after the X-axis of rectangular coordinate system, Y-axis, according to the engineer's scale of setting, the coordinate of the markup information that the coordinate conversion by the exploration entity of typing in Beijing 54 Coordinate System becomes this exploration entity in rectangular coordinate system.
Prospecting data processing module 201 by the coordinate of each point in the figure of the apex coordinate of each drawing area section of drawing area in rectangular coordinate system, road to be built, respectively explore the markup information of entity, and the coordinate of markup information sends to CAD module 202.
Afterwards, CAD module 202 is carried out the drafting of geological map according to the data that receive:
CAD module 202, according to the apex coordinate of the each drawing area section in rectangular coordinate system, is drawn and is shown each drawing area section;
CAD module 202 shows according to the drafting of the coordinate of each point in the figure of road to be built road to be built;
For each exploration entity, CAD module 202 is drawn the mark that shows this exploration entity near the word annotation information of drawing the markup information that shows this exploration entity the mark of this exploration entity according to the coordinate of the markup information of this exploration entity in rectangular coordinate system, in geological map corresponding position.Wherein, the character arranging direction that CAD module 202 is drawn the word annotation information showing parallels with the X-axis in rectangular coordinate system conventionally.
In the geological map (as shown in Figure 1a) of drawing out according to the data that receive in CAD module 202, the figure of road to be built is often broken line shape, and correspondingly, drawing area is also broken line shape; That is to say, the coboundary (or lower boundary) of each drawing area section is not parallel to X-axis conventionally, and each other also might not be parallel.
Draw out after geological map according to the data that receive in CAD module 202, technician need to print geological map conventionally, and normally rectangle of the paper of printing, therefore before printing, technician need to adjust geological map accordingly by CAD module 202, for example, so that printout is to printer paper:, for geological map as shown in Figure 1a, can (being the boundary line segment between every two adjacent drawing area sections) be split into two drawing area sections from its bending place, and be rotated splitting two drawing area sections that obtain, make the base of the paper to be printed of the bottom line Duan Junyu preview of two drawing area sections parallel (paralleling with X-axis), obtain the geological map of printing edition as shown in Figure 1 b, for printout.
But, the geological map adjustment of drafting being become in the process of geological map of printing edition, markup information in drawing area section will rotate with drawing area section, cause the character arranging direction of the word annotation information of rotating the markup information in rear drawing area section to be no longer parallel to X-axis, and the character arranging direction of the word annotation information in different drawing area sections may be pointed to different, thereby affect the watching property of planimetric map; For this reason, technician, before printout geological map, also can adopt manual mode by CAD module 202, adjusts one by one the character arranging direction of word annotation information; For example, rotation markup information, makes the character arranging direction of the word annotation information of markup information be parallel to the X-axis in rectangular coordinate system.In actual applications, often large (for example hundreds of) of the number of markup information in geological map, adopt existing method to adjust printout geological map after the character arranging direction of word annotation information of markup information, large, the consuming time length of workload, inefficiency.
Therefore, adopt existing geological map method for drafting, by the process of geological map printout, technician will manually adjust the character arranging direction of each word annotation information one by one, causes that workload is large, inefficiency; Therefore be necessary to provide a kind of method for drafting of geological map, make technician by the process of geological map printout, the character arranging direction that needn't manually adjust one by one each word annotation information, reduces workload, increases work efficiency.
Summary of the invention
The defect existing for above-mentioned prior art, the invention provides a kind of method for drafting and system of geological map, make technician in the process of geological map printout, needn't manually adjust one by one the character arranging direction of each word annotation information, reduce workload, increase work efficiency.
Technical scheme of the present invention is according to an aspect, a kind of method for drafting of geological map is provided, comprise: according to the position data of the road to be built of typing and position data and the relevant information of respectively exploring entity, generate the apex coordinate of each drawing area section of drawing area in rectangular coordinate system, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity and the coordinate of markup information; Also comprise:
For the markup information of each exploration entity, according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determine after its affiliated drawing area section, according to the angle between the X-axis positive axis in the end/top line section of drawing area section under it and described rectangular coordinate system, determine the anglec of rotation of the markup information of this exploration entity;
According to the apex coordinate of each drawing area section, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity, and the coordinate of markup information and the anglec of rotation are drawn geological map.
Preferably, described according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determine its affiliated drawing area section, specifically comprise:
According to the angular bisector between the bottom line section of every two adjacent drawing area sections in the coordinate of the markup information of this exploration entity and described drawing area, determine the affiliated drawing area section of this markup information;
Wherein, between the bottom line section of described two adjacent drawing area sections, angular bisector is to pre-determine out according to the apex coordinate of described two adjacent drawing area sections.
Preferably, described according to the angular bisector between the bottom line section of every two adjacent drawing area sections in the coordinate of the markup information of this exploration entity and described drawing area, at the bottom of determining the affiliated drawing area section of this markup information, specifically comprise:
For the starting point through the bottom line section of a drawing area section, two angular bisectors of terminal respectively, if judge the coordinate of markup information of this exploration entity between these two angular bisector place straight lines, the markup information that determines this exploration entity belongs to this drawing area section.
Preferably, described in judge this exploration entity the coordinate of markup information between these two angular bisector place straight lines, specifically comprise:
For i drawing area section in each drawing area section of joining successively in described drawing area, for passing through respectively the starting point of its bottom line section, the angular bisector of terminal, according to the equation of these two angular bisector place straight lines, determine respectively the discriminant of these two angular bisector place straight lines, respectively as shown in expression formula 7,8:
Y-K xi(X-X i)-Y i(expression formula 7)
Y-K xi+1(X-X i+1)-Y i+1(expression formula 8)
In described expression formula 7, (X i, Y i) represent the coordinate of the starting point of the bottom line section of described i drawing area section, K xirepresent the slope of the angular bisector of the starting point of the bottom line section of described i the drawing area section of process; In described expression formula 8, (X i+1, Y i+1) represent the coordinate of the terminal of the bottom line section of described i drawing area section, K xi+1represent the slope of the angular bisector of the terminal of the bottom line section of described i the drawing area section of process;
By the coordinate (X of the markup information of this exploration entity s, Y s) expression formula 7,8 described in substitution respectively, obtain respectively the first discriminant value P shown in following formula 9 s1with the second discriminant value P shown in following formula 10 s2:
P s1=Y s-K xi(X s-X i)-Y i(formula 9)
P s2=Y s-K xi+1(X s-X i+1)-Y i+1(formula 10)
If judge P s1with P s2symbol difference, determine coordinate (X s, Y s) passing through respectively between the angular bisector place straight line of the bottom line section starting point of described i drawing area section, terminal.
Preferably, the attribute information that the anglec of rotation of described markup information is described markup information.
Further, after described drafting geological map, also comprise:
The each drawing area section in described geological map is rotated to adjustment, the end/top line section of each drawing area section is paralleled with the X-axis in described rectangular coordinate system, obtain, after the geological map of printing edition, the geological map of described printing edition being printed to output.
Technical scheme of the present invention, according to another aspect, also provides a kind of drawing system of geological map, comprising:
Prospecting data processing module, for according to the position data of the road to be built of typing and position data and the relevant information of respectively exploring entity, generate the apex coordinate of each drawing area section in rectangular coordinate system, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity and the coordinate of markup information;
Markup information anglec of rotation compensating module, for the markup information of the each exploration entity for described prospecting data processing module generation, according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determine after its affiliated drawing area section, according to the angle between the X-axis positive axis in the end/top line section of this drawing area section and described rectangular coordinate system, determine the anglec of rotation of the markup information of this exploration entity;
CAD module, the apex coordinate of the each drawing area section receiving from described prospecting data processing module for basis, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity, and the coordinate of markup information and the anglec of rotation, draw geological map.
Preferably, described markup information anglec of rotation compensating module specifically comprises:
Angular bisector determining unit, for according to the apex coordinate of every two the adjacent drawing area sections of described drawing area, determines angular bisector between the bottom line section of these two adjacent drawing area sections;
Markup information ownership determining unit, for the markup information of the each exploration entity for described prospecting data processing module generation, the angular bisector of determining according to the coordinate of the markup information of this exploration entity and described angular bisector determining unit, determines the drawing area section under this markup information.
Preferably, the attribute information that the anglec of rotation of described markup information is described markup information.
Further, the drawing system of described geological map, also comprises:
Printout module, for printing output by the geological map of printing edition; Wherein, the geological map of described printing edition is that the each drawing area section in the geological map that described CAD module is drawn out is rotated adjustment, obtains after the end/top line section of each drawing area section is paralleled with the X-axis in described rectangular coordinate system.
In technical scheme of the present invention, determine the anglec of rotation of the markup information of exploration entity, draw geological map according to the anglec of rotation of determining, make the markup information showing in figure be parallel to the end/top line section of its affiliated drawing area section; When the geological map of drawing out is adjusted into after the geological map of printing edition, the markup information showing in figure is still parallel to the end/top line section of its affiliated drawing area section, is parallel to X-axis.Thereby no longer need manually to adjust one by one the angle of markup information, greatly reduced technician's workload, improved work efficiency.
Brief description of the drawings
Fig. 1 a is the schematic diagram of the geological map of drawing out of prior art;
Fig. 1 b is the schematic diagram of the geological map of the printing edition adjusting of prior art;
Fig. 2 is the internal module block diagram of the drawing system of the geological map of prior art;
Fig. 3 is the internal module block diagram of the drawing system of the geological map of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the method for drafting of the geological map of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the geological map of drawing out of the embodiment of the present invention;
Fig. 6 is the schematic diagram of the geological map of the printing edition adjusting of the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of the method for the angular bisector between the end/top line section of every two the adjacent drawing area sections of determining of the embodiment of the present invention;
Fig. 8 a~8d is the schematic diagram of the angle between the end/top line section and the X-axis positive axis of drawing area section of the embodiment of the present invention;
Fig. 9 is the schematic diagram of position relationship between the coordinate of markup information of the embodiment of the present invention and two angular bisector place straight lines;
Figure 10 is the internal module block diagram of markup information anglec of rotation compensating module in the drawing system of geological map of the embodiment of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, referring to accompanying drawing and enumerate preferred embodiment, the present invention is described in more detail.But, it should be noted that, many details of listing in instructions are only used to make reader to have a thorough understanding to one or more aspects of the present invention, even if do not have these specific details also can realize these aspects of the present invention.
The terms such as " module " used in this application, " system " are intended to comprise the entity relevant to computing machine, such as but not limited to hardware, firmware, combination thereof, software or executory software.For example, module can be, but be not limited in: thread, program and/or the computing machine of the process moved on processor, processor, object, executable program, execution.For instance, the application program of moving on computing equipment and this computing equipment can be modules.One or more modules can be positioned at an executory process and/or thread, and module also can and/or be distributed on a computing machine between two or more computing machines.
The present inventor's discovery, the CAD module in existing engineering geological investigation software adopts acquiescence mode to show markup information conventionally: color, font, the anglec of rotation with default setting show markup information; Conventionally, the anglec of rotation of acquiescence is 0 degree, and the markup information showing parallels with the X-axis in rectangular coordinate system, thereby the character arranging direction of the word annotation information of markup information is to be parallel to X-axis in rectangular coordinate system.
Thus, the present inventor considers, can, when to CAD module input coordinate information, also input the attribute information of the anglec of rotation of markup information; Make CAD module according to the information receiving, to draw out the markup information with certain anglec of rotation; In the time that the geological map of drawing out is adjusted into the geological map of printing edition, originally there is the markup information of certain anglec of rotation after rotating with drawing area section, just make the character arranging direction of the word annotation information of markup information be parallel to the X-axis in rectangular coordinate system, reach the effect of anglec of rotation compensation, no longer need manually to adjust one by one, the workload that has greatly reduced technician, has improved work efficiency.
Describe technical scheme of the present invention in detail below in conjunction with accompanying drawing.
The embodiment of the present invention provides a kind of drawing system (being engineering geological investigation software of the present invention) of geological map, the internal module block diagram of this system, as shown in Figure 3, comprising: prospecting data processing module 301, markup information anglec of rotation compensating module 302, CAD module 303 and printout module 304.
The method for drafting of the geological map of the embodiment of the present invention, flow process as shown in Figure 4, comprises the steps:
S401: technician is entered into the data of the data of road to be built, exploration entity in the drawing system of geological map.
Particularly, technician by road to be built, the coordinate in Beijing 54 Coordinate System is entered into and reconnoitres data processing module 301 in the drawing system of geological map; Coordinate by each exploration entity such as be arranged in road place to be built or near quiet inspecting hole, moving inspecting hole, hole and test pits at Beijing 54 Coordinate System, and the relevant information such as title, annotation information of respectively exploring entity is entered into the prospecting data processing module 301 of the drawing system of geological map.
S402: the drawing system of geological map is processed the data of typing, obtain each point in the figure of the apex coordinate of each drawing area section in rectangular coordinate system, road to be built coordinate, respectively explore the markup information of entity and the coordinate of markup information.
Particularly, prospecting data processing module 301 in the drawing system of geological map is the coordinate in Beijing 54 Coordinate System according to the road to be built of typing, generates the coordinate of each point in the figure of the apex coordinate of each drawing area section in rectangular coordinate system, road to be built; According to the relevant information of each exploration entity of typing, generate the markup information that represents exploration entity; And according to each exploration entity of typing the coordinate in Beijing 54 Coordinate System, generate after the coordinate of markup information in rectangular coordinate system, send angle compensation notice.
S403: the drawing system of geological map is for the markup information of each exploration entity, according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determines drawing area section under it.
Particularly, markup information anglec of rotation compensating module 302 in the drawing system of geological map receives after angle compensation notice, for the markup information of each exploration entity, according to the coordinate of the markup information of the apex coordinate of each drawing area section of determining of prospecting data processing module 301, this exploration entity, determine the drawing area section under the markup information of this exploration entity; Wherein, determine that the concrete grammar of drawing area section will describe in detail follow-up under markup information.
S404: the drawing system of geological map is for the markup information of each exploration entity, according to the angle between the X-axis positive axis in the end/top line section of the drawing area section under this markup information and rectangular coordinate system, determine the anglec of rotation of the markup information of this exploration entity.
Particularly, markup information anglec of rotation compensating module 302 markup informations for each exploration entity in the drawing system of geological map, for the drawing area section under the markup information of this exploration entity, determine the angle between bottom line section (or top line section) and the X-axis positive axis of this drawing area section, the anglec of rotation using the angle of this angle as the markup information of this exploration entity.Markup information anglec of rotation compensating module 302 is determined after the anglec of rotation of standard information of each exploration entity, returns to angle compensation end notification to prospecting data processing module 301.For each exploration entity, the anglec of rotation of the markup information of this exploration entity is the attribute information of the markup information of this exploration entity.
Because an anglec of rotation of exploring the acquiescence of the markup information of entity is 0 degree, the font orientation acquiescence of the annotation Word message of the markup information of this exploration entity parallels with X-axis; The anglec of rotation of the markup information of this exploration entity that therefore anglec of rotation compensating module 302 is determined, equals the angle between the drawing area section bottom line section (or top line section) under the font orientation of annotation Word message of the markup information of this exploration entity and the markup information of this exploration entity.
S405: the drawing system of geological map is according to the apex coordinate of each drawing area section, and in the figure of road to be built each point coordinate, respectively explore the markup information of entity, and the coordinate of markup information and the anglec of rotation are drawn geological map.
In this step, prospecting data processing module 301 receives after angle compensation end notification, by the coordinate of each point in the figure of the apex coordinate of each drawing area section in rectangular coordinate system, road to be built, respectively explore the markup information of entity, the coordinate of markup information, and the anglec of rotation of the markup information of each exploration entity of calculating of anglec of rotation compensating module 302, output to the CAD module 303 in the drawing system of geological map.CAD module 303, according to the data that receive, is drawn out geological map as shown in Figure 5.
CAD module 303 is according to the apex coordinate of each drawing area section in rectangular coordinate system, the coordinate of each point in the figure of road to be built, the markup information of each exploration entity, the coordinate of markup information and the anglec of rotation are drawn in the process of geological map, can be according to the anglec of rotation in the attribute information of markup information, markup information is carried out to angle rotation, in rotary course, the word annotation information of markup information is rotation thereupon also, thereby the word annotation information of the postrotational markup information of angle showing is no longer parallel with the X-axis in rectangular coordinate system, but with markup information under the bottom line section (or top line section) of drawing area section parallel.
CAD module 303 is drawn out after geological map, technician can be adjusted to the geological map of drawing out by CAD module 303 geological map of printing edition as shown in Figure 6: in the process of geological map of making printing edition, the geological map of drawing out for CAD module 303, from the intersection section (boundary line segment) between every two adjacent drawing area sections wherein, the geological map of drawing out is split into each drawing area section; Be rotated respectively adjustment to splitting the each drawing area section obtaining, make the bottom line section (or top line section) of this drawing area section parallel (paralleling with the X-axis of rectangular coordinate system) with the base of the paper to be printed of preview, obtain the geological map of printing edition.That is to say, each drawing area section in the geological map that CAD module 303 is drawn out is rotated adjustment, after the bottom line section (or top line section) of each drawing area section is paralleled with the X-axis in described rectangular coordinate system, can obtain the geological map of printing edition.
The each markup information showing in the geological map of printing edition, because this markup information is parallel to the bottom line section (or top line section) of drawing area section under it, therefore this markup information is parallel to X-axis, thereby the character arranging direction of the word annotation information of this markup information is parallel to X-axis.Thereby no longer need manually to adjust one by one the angle of markup information, greatly reduced technician's workload, improved work efficiency.
Afterwards, by the geological map of printout module 304 printout printing editions.
In above-mentioned steps S403, the drawing system of geological map is before drawing area section under definite each markup information, can be according to the apex coordinate of each drawing area section, pre-determine out the angular bisector between the bottom line section (or top line section) of every two adjacent drawing area sections in drawing area, concrete grammar flow process as shown in Figure 7, comprises the steps:
S701: the drawing system of geological map is according to the apex coordinate of each drawing area section, determines the angle between bottom line section (or top line section) and the X-axis positive axis of rectangular coordinate system of each drawing area section.
In this step, the markup information anglec of rotation compensating module 302 in the drawing system of geological map, from the apex coordinate of each drawing area section, extracts bottom line section (or the top line section) starting point of each drawing area section, the coordinate of terminal.
For example, if drawing area is joined and forms successively by n-1 drawing area section, n is greater than 2 natural number; Markup information anglec of rotation compensating module 302 is from the apex coordinate of n-1 drawing area section, extracts bottom line section (or the top line section) starting point of i drawing area section, the coordinate of terminal is respectively (X i, Y i), (X i+1, Y i+1), i is 1~natural number (n-1).In fact, (X 1, Y 1) and (X n, Y n) represent respectively starting point and the terminal of the lower boundary of drawing area.
Markup information anglec of rotation compensating module 302 is for the bottom line section (or top line section) of each drawing area section, according to the starting point of the bottom line section of this drawing area section (or top line section) and the coordinate of terminal, determine the angle between bottom line section (or top line section) place straight line and the X-axis positive axis of this drawing area section.
For example, for the bottom line section (or top line section) of i drawing area section, can calculate the angle theta between bottom line section (or top line section) place straight line and the X-axis positive axis of this drawing area section according to following formula 1 i:
θ i = arctan ( Y i + 1 - Y i X i + 1 - X i ) (formula 1)
In formula 1, θ iat-pi/2 between pi/2.
Markup information anglec of rotation compensating module 302 is for each drawing area section bottom line section (or top line section), according to the angle between the bottom line section of this drawing area section (or top line section) place straight line and X-axis positive axis, determine the angle between bottom line section (or top line section) and the X-axis positive axis of this drawing area section.
For example, markup information anglec of rotation compensating module 302 is for the bottom line section (or top line section) of i drawing area section, after the bottom line section (or top line section) of this drawing area section of translation makes its starting point overlap with the initial point of rectangular coordinate system, as shown in Fig. 8 a, 8d, if judge X i+1be more than or equal to X i, determine the angle α between bottom line section (or top line section) and the X-axis positive axis of this drawing area section iequal θ i.
If judge X i+1be less than X iand Y i+1be greater than Y i, as shown in Figure 8 b, can calculate the angle α between bottom line section (or top line section) and the X-axis positive axis of this drawing area section according to following formula 2 i:
α ii+ π (formula 2)
If judge X i+1be less than X iand Y i+1be less than Y i, as shown in Figure 8 c, can calculate the angle α between bottom line section (or top line section) and the X-axis positive axis of this drawing area section according to following formula 3 i:
α ii-π (formula 3)
S702: the drawing system of geological map is determined the angular bisector between the bottom line section (or top line section) of every two adjacent drawing area sections in drawing area.
In this step, markup information anglec of rotation compensating module 302 is for every two adjacent drawing area sections in drawing area, according to the angle between the bottom line section (or top line section) of the each drawing area section in these two adjacent drawing area sections and X-axis positive axis, determine after the angular bisector between the bottom line section (or top line section) of these two adjacent drawing area sections and the angle between X-axis positive axis, thereby determine the slope of this angular bisector.According to the coordinate of intersection point between the bottom line section (or top line section) of the slope of this angular bisector and these two adjacent drawing area sections (i.e. this angular bisector the coordinate points of process), determine this angular bisector place straight line.
For example, as shown in Figure 9, markup information anglec of rotation compensating module 302 is for i-1 drawing area section and i drawing area section, according to the angle between the bottom line section of i-1, i drawing area section (or top line section) and X-axis positive axis, can calculate angular bisector between bottom line section (or top line section) and the bottom line section (or top line section) of i drawing area section of i-1 drawing area section by following formula 4, through the angle α between angular bisector and the X-axis positive axis of the starting point of the bottom line section (or top line section) of i drawing area section xi:
α Xi = π - ( α i - α i - 1 ) 2 + α i (formula 4)
The α calculating according to formula 4 xi, can be calculated by following formula 5 slope K of this angular bisector xi:
K xi=tan α xi(formula 5)
The K calculating according to formula 5 xiand intersecting point coordinate (X between the bottom line section of i-1 drawing area section (or top line section) and the bottom line section (or top line section) of i drawing area section i, Y i), can be calculated by following formula 6 equation of this angular bisector place straight line:
Y=K xi(X-X i)+Y i(formula 6)
In above-mentioned steps S403, the drawing system of geological map is determined the concrete grammar of the affiliated drawing area section of markup information, comprising:
Markup information anglec of rotation compensating module 302 in the drawing system of geological map, for the starting point of the bottom line section through a drawing area section (or top line section) respectively, two angular bisectors of terminal, for the markup information of each exploration entity, if judge the coordinate of markup information of this exploration entity between these two angular bisector place straight lines, the markup information that determines this exploration entity belongs to this drawing area section; Otherwise the markup information that determines this exploration entity does not belong to this drawing area section, continue to use the method for this step to judge whether this markup information belongs to another drawing area section.
Markup information anglec of rotation compensating module 302 is for the starting point of the bottom line section through a drawing area section (or top line section) respectively, two angular bisectors of terminal, for the markup information of each exploration entity, judge the whether method between these two angular bisector place straight lines of coordinate of the markup information of this exploration entity, specifically can comprise: markup information anglec of rotation compensating module 302 can be according to the equation shown in above-mentioned formula 6, through the equation of the angular bisector place straight line of the starting point of the bottom line section (or top line section) of i drawing area section, can determine the discriminant of this angular bisector place straight line, this discriminant can be represented by following expression 7:
Y-K xi(X-X i)-Y i(expression formula 7)
Markup information anglec of rotation compensating module 302, for the angular bisector of the terminal of the bottom line section through i drawing area section (or top line section), can be determined the discriminant of this angular bisector place straight line, and this discriminant can be represented by following expression 8:
Y-K xi+1(X-X i+1)-Y i+1(expression formula 8)
Wherein, K in expression formula 8 xi+1represent the slope of the angular bisector between bottom line section (or top line section) and the bottom line section (or top line section) of i+1 drawing area section of i drawing area section, through the slope of the angular bisector of the terminal of the bottom line section (or top line section) of i drawing area section.
Markup information anglec of rotation compensating module 302 is for the markup information of an exploration entity, by the coordinate (X of this exploration entity s, Y s) difference substitution expression formula 7 and expression formula 8, obtain respectively the first discriminant value P shown in following formula 9 s1with the second discriminant value P shown in following formula 10 s2:
P s1=Y s-K xi(X s-X i)-Y i(formula 9)
P s2=Y s-K xi+1(X s-X i+1)-Y i+1(formula 10)
If markup information anglec of rotation compensating module 302 is judged P s1with P s2symbol difference, determine coordinate (X s, Y s) be positioned between the angular bisector place straight line of the bottom line section through i drawing area section (or top line section) starting point, terminal respectively, and then to determine coordinate be (X s, Y s) markup information belong to i drawing area section; Otherwise, determine coordinate (X s, Y s) be not positioned between the angular bisector place straight line of the bottom line section through i drawing area section (or top line section) starting point, terminal respectively, and then to determine coordinate be (X s, Y s) markup information do not belong to i drawing area section, continue to adopt the method in this step to judge that coordinate is as (X s, Y s) markup information whether belong to other drawing area section.
In addition, the inside structure block diagram of above-mentioned markup information anglec of rotation compensating module 302, as shown in figure 10, specifically comprises: angular bisector determining unit 1001, markup information ownership determining unit 1002.
Angular bisector determining unit 1001, for according to the apex coordinate of every two the adjacent drawing area sections of drawing area, determines angular bisector between the bottom line section of these two adjacent drawing area sections.
Markup information ownership determining unit 1002, be used for the markup information of the each exploration entity generating for prospecting data processing module 301, the angular bisector of determining according to the coordinate of the markup information of this exploration entity and angular bisector determining unit 1001, determines the drawing area section under this markup information.
The concrete methods of realizing of the function of above-mentioned angular bisector determining unit 1001, markup information ownership determining unit 1002, can be with reference to after above-mentioned steps S702, the drawing system of geological map is determined the particular content of the concrete grammar of the affiliated drawing area section of markup information, repeats no more herein.
In technical scheme of the present invention, determine the anglec of rotation of the markup information of exploration entity, draw geological map according to the anglec of rotation of determining, make the markup information showing in figure be parallel to the end/top line section of its affiliated drawing area section; When the geological map of drawing out is adjusted into after the geological map of printing edition, the markup information showing in figure is still parallel to the end/top line section of its affiliated drawing area section, is parallel to X-axis.Thereby no longer need manually to adjust one by one the angle of markup information, greatly reduced technician's workload, improved work efficiency.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. the method for drafting of a geological map, comprise: according to the position data of the road to be built of typing and position data and the relevant information of respectively exploring entity, generate the apex coordinate of each drawing area section of drawing area in rectangular coordinate system, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity and the coordinate of markup information; It is characterized in that, also comprise:
For the markup information of each exploration entity, according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determine after its affiliated drawing area section, according to the angle between the X-axis positive axis in the end/top line section of drawing area section under it and described rectangular coordinate system, determine the anglec of rotation of the markup information of this exploration entity;
According to the apex coordinate of each drawing area section, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity, and the coordinate of markup information and the anglec of rotation are drawn geological map.
2. the method for claim 1, is characterized in that, described according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determines its affiliated drawing area section, specifically comprises:
According to the angular bisector between the bottom line section of every two adjacent drawing area sections in the coordinate of the markup information of this exploration entity and described drawing area, determine the affiliated drawing area section of this markup information;
Wherein, between the bottom line section of described two adjacent drawing area sections, angular bisector is to pre-determine out according to the apex coordinate of described two adjacent drawing area sections.
3. method as claimed in claim 2, it is characterized in that, described according to the angular bisector between the bottom line section of every two adjacent drawing area sections in the coordinate of the markup information of this exploration entity and described drawing area, at the bottom of determining the affiliated drawing area section of this markup information, specifically comprise:
For the starting point through the bottom line section of a drawing area section, two angular bisectors of terminal respectively, if judge the coordinate of markup information of this exploration entity between these two angular bisector place straight lines, the markup information that determines this exploration entity belongs to this drawing area section.
4. method as claimed in claim 3, is characterized in that, described in judge this exploration entity the coordinate of markup information between these two angular bisector place straight lines, specifically comprise:
For i drawing area section in each drawing area section of joining successively in described drawing area, for passing through respectively the starting point of its bottom line section, the angular bisector of terminal, according to the equation of these two angular bisector place straight lines, determine respectively the discriminant of these two angular bisector place straight lines, respectively as shown in expression formula 7,8:
Y-K xi(X-X i)-Y i(expression formula 7)
Y-K xi+1(X-X i+1)-Y i+1(expression formula 8)
In described expression formula 7, (X i, Y i) represent the coordinate of the starting point of the bottom line section of described i drawing area section, K xirepresent the slope of the angular bisector of the starting point of the bottom line section of described i the drawing area section of process; In described expression formula 8, (X i+1, Y i+1) represent the coordinate of the terminal of the bottom line section of described i drawing area section, K xi+1represent the slope of the angular bisector of the terminal of the bottom line section of described i the drawing area section of process;
By the coordinate (X of the markup information of this exploration entity s, Y s) expression formula 7,8 described in substitution respectively, obtain respectively the first discriminant value P shown in following formula 9 s1with the second discriminant value P shown in following formula 10 s2:
P s1=Y s-K xi(X s-X i)-Y i(formula 9)
P s2=Y s-K xi+1(X s-X i+1)-Y i+1(formula 10)
If judge P s1with P s2symbol difference, determine coordinate (X s, Y s) passing through respectively between the angular bisector place straight line of the bottom line section starting point of described i drawing area section, terminal.
5. the method as described in as arbitrary in claim 1-4, is characterized in that the attribute information that the anglec of rotation of described markup information is described markup information.
6. the method as described in as arbitrary in claim 1-4, is characterized in that, after described drafting geological map, also comprises:
The each drawing area section in described geological map is rotated to adjustment, the end/top line section of each drawing area section is paralleled with the X-axis in described rectangular coordinate system, obtain, after the geological map of printing edition, the geological map of described printing edition being printed to output.
7. a drawing system for geological map, is characterized in that, comprising:
Prospecting data processing module, for according to the position data of the road to be built of typing and position data and the relevant information of respectively exploring entity, generate the apex coordinate of each drawing area section in rectangular coordinate system, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity and the coordinate of markup information;
Markup information anglec of rotation compensating module, for the markup information of the each exploration entity for described prospecting data processing module generation, according to the coordinate of the markup information of this exploration entity, and the apex coordinate of each drawing area section, determine after its affiliated drawing area section, according to the angle between the X-axis positive axis in the end/top line section of this drawing area section and described rectangular coordinate system, determine the anglec of rotation of the markup information of this exploration entity;
CAD module, the apex coordinate of the each drawing area section receiving from described prospecting data processing module for basis, and described in the figure of road to be built each point coordinate, respectively explore the markup information of entity, and the coordinate of markup information and the anglec of rotation, draw geological map.
8. system as claimed in claim 7, is characterized in that, described markup information anglec of rotation compensating module specifically comprises:
Angular bisector determining unit, for according to the apex coordinate of every two the adjacent drawing area sections of described drawing area, determines angular bisector between the bottom line section of these two adjacent drawing area sections;
Markup information ownership determining unit, for the markup information of the each exploration entity for described prospecting data processing module generation, the angular bisector of determining according to the coordinate of the markup information of this exploration entity and described angular bisector determining unit, determines the drawing area section under this markup information.
9. system as claimed in claim 7 or 8, is characterized in that the attribute information that the anglec of rotation of described markup information is described markup information.
10. system as claimed in claim 7 or 8, is characterized in that, also comprises:
Printout module, for printing output by the geological map of printing edition; Wherein, the geological map of described printing edition is that the each drawing area section in the geological map that described CAD module is drawn out is rotated adjustment, obtains after the end/top line section of each drawing area section is paralleled with the X-axis in described 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 true CN103838919A (en) 2014-06-04
CN103838919B 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)

Cited By (2)

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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252625C (en) * 2003-07-11 2006-04-19 中国地质大学(武汉) Computer-aided geologic investigation system based on portable machine
CN101901244B (en) * 2010-01-07 2013-07-17 深圳市勘察测绘院有限公司 Geological geographic information system processing method
CN102103758B (en) * 2011-03-21 2012-12-26 四川大学 Computer graph generating method for engineering geological section map

Cited By (3)

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

Also Published As

Publication number Publication date
CN103838919B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
US10754598B2 (en) Print controller, non-transitory computer-readable recording medium storing print control program and print control method
JP2015215889A (en) Reflow type electronic book creation method and web site system
US8467952B2 (en) Map generating device, and memory medium storing map generating program
CN105302507A (en) Certificate printing control method and certificate template setting method and system
JP2016092533A (en) Image processing system, management system, image processing device, calibrated original generation method, and program
CN112241739A (en) Method, device, equipment and computer readable medium for identifying text errors
CN103838919A (en) Drawing method and system for engineering geological plane graph
CN1987869A (en) Automatic marking system and method for size number
CN112417826B (en) PDF online editing method and device, electronic equipment and readable storage medium
CN102566812B (en) Method and device for implementation of handwriting notepad
US6154208A (en) Proxy mechanism for non-native GDI formats
CN116108804B (en) Point code file generation method, content review method and content review system
CN101673407A (en) Drawing method for showing three-dimensional figure of underground pipelines by using plane figure
KR101209565B1 (en) Apparatus and method of electrically recording of maintaining and operating procedures in instrumentation and control systems of nuclear power plants
CN116579302A (en) Visual signature bit configuration method and system based on PDF file
JP2009087270A (en) Image processing device and program
CN109409362A (en) The detection of picture sensitive word and localization method and device based on tesseract engine
CN105512100A (en) Layout analysis method and device
JP4795820B2 (en) Map data creation device, map data creation method, map data check program
JP7047962B2 (en) program
US8976378B2 (en) Pre-flight system for PDF/VT
JP5746651B2 (en) Numerical calculation device
US20230079441A1 (en) Apparatus and Method of Re-Ordering Drawing Blocks on a Slide of a User Interface Canvas
JP2013016049A (en) Image processing system, image forming device and program
JPH05135151A (en) Map generation system

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