CN107066574B - A kind of method and device of ore body reserves block mark circle matching and update - Google Patents

A kind of method and device of ore body reserves block mark circle matching and update Download PDF

Info

Publication number
CN107066574B
CN107066574B CN201710229790.4A CN201710229790A CN107066574B CN 107066574 B CN107066574 B CN 107066574B CN 201710229790 A CN201710229790 A CN 201710229790A CN 107066574 B CN107066574 B CN 107066574B
Authority
CN
China
Prior art keywords
mark
circle
data
mark circle
coordinate
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.)
Expired - Fee Related
Application number
CN201710229790.4A
Other languages
Chinese (zh)
Other versions
CN107066574A (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.)
Central South University
Original Assignee
Central South University
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 Central South University filed Critical Central South University
Priority to CN201710229790.4A priority Critical patent/CN107066574B/en
Publication of CN107066574A publication Critical patent/CN107066574A/en
Application granted granted Critical
Publication of CN107066574B publication Critical patent/CN107066574B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention provides the method and device of a kind of ore body reserves block mark circle matching and update, it include: to obtain the first file and the second file, first file includes: the first mark circle, third mark is round and the first data, second file include: that the second mark is round, the 4th mark is round and the second data;According to the information of the outsourcing rectangle of element, the element of the first mark circle and the second mark circle is obtained;Face element is generated according to the element after interrupting;The coordinate shift amount between the mark circle in two files is obtained respectively;According to the face element and coordinate shift amount, the second data in the first data and the 4th mark circle in the third mark circle are obtained;According to the coordinate and/or first data and the second data of third mark circle and the 4th mark circle, the first data in third mark circle are substituted for identical second data of corresponding position in the 4th mark circle.The present invention improves the efficiency that mark circle updates, and ensure that the correctness of update.

Description

A kind of method and device of ore body reserves block mark circle matching and update
Technical field
The present invention relates to field of information processing, mark circle matching more particularly, to a kind of ore body reserves block and update Method and device.
Background technique
With the development of information technology, information technology has been deep into every field.Wherein, the appearance of a large amount of mapping softwares, Making to draw becomes simpler, more accurately.
MapGIS software can be used for drawing mineral products block figure, and drawing in the interface of mineral products block figure has render window And legend window.Have the legend for the different characteristic for indicating mineral products block figure in legend window, figure in render window and it Legend have same pattern.When legend changes, can also occur to change accordingly using the figure of the legend.Legend window Mouthful and render window in mark circle by one round and circle in several lines form, circle is divided into several sub-boxes by line.It is right Mark circle in legend window, each sub-box have a number, and the number of the sub-box in a mark circle is not With.For the mark circle in render window, there are the related data for marking mineral products block, such as block in the sub-box Number, resource reserve type, block projected area, block average thickness etc..For using the mark circle of the same legend, it is located at phase Identical attribute is corresponded to the data in the sub-box of position.
Related data due to mineral products block needs constantly to be updated with can constantly change the case where exploitation. Currently, the major technique being updated to the related data for marking circle Mineral block is to update manually.Under normal circumstances, each The update of data in mark circle requires artificial interpretation, matching, update and inspection, updates low efficiency.When the amount of data is large, The update needs of data of mineral are taken a significant amount of time.Simultaneously as data organization, storage between initial data and new data There is larger difference with representation, when being updated manually, it is easy to generate mistake.Due to being marked to ore body reserves block The correctness that circle updates is more demanding, it then becomes necessary to correctness of more data inspection personnel to ensure update is put into, But still it cannot be guaranteed that the correctness updated.Therefore, effect ore body reserves block mark circle being updated using manual mode Rate is low and is easy to produce mistake.
Summary of the invention
For overcome it is above-mentioned using manual mode to ore body reserves block mark circle update low efficiency and be easy to produce mistake The problem of, the present invention provides the method and device of a kind of ore body reserves block mark circle matching and update.
According to an aspect of the present invention, the method for a kind of ore body reserves block mark circle matching and update is provided, comprising:
The first file and the second file are obtained, first file includes: the first mark circle, third mark circle and the first number According to second file includes: the second mark circle, the 4th mark circle and the second data, the first mark circle and the third Mark circle is located at different figure layers, and the round and described 4th mark circle of second mark is located at different figure layers, the second mark circle Positioned at a figure layer;
According to the information of the outsourcing rectangle for the first element for forming the first mark circle, the first element is obtained;Root According to the information of the outsourcing rectangle for the second element for forming the second mark circle, second element is obtained;
The line feature for extracting second element, after the line feature of second element is zoomed in and out and translated, to institute The line feature for stating the first element and second element is interrupted, by after interrupting the first element and second element Line feature generate corresponding first face element and the second face element;
According to the coordinate that first mark is round and third mark is round, obtains the first mark circle and arrive the third Mark the first coordinate shift amount of circle;According to the coordinate of the round and described 4th mark circle of second mark, described second is obtained Second coordinate shift amount of the mark circle to the 4th mark circle;
According to the information of first face element and the first coordinate shift amount, the in the third mark circle is obtained One data;According to the information of second face element and the second coordinate shift amount, the in the 4th mark circle is obtained Two data;
According to the coordinate and/or first data and described second of the round and described 4th mark circle of third mark The first data in third mark circle are substituted for the second data in the 4th mark circle by data.
Specifically, the information of the outsourcing rectangle according to the first element for forming the first mark circle, described in acquisition The first element, comprising:
Obtain the figure layer where the first mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the element circle of composition the first mark circle Outsourcing rectangle;
Obtain the element in the element circle;
Using the round element in element circle of the element as the first element.
Specifically, the information of the outsourcing rectangle according to the second element for forming the second mark circle, described in acquisition Second element, comprising:
Obtain the figure layer where the second mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the outsourcing of the point element of the second mark circle Rectangle;
Using described element as second element.
Specifically, the information of the information of first face element and second face element all includes: number, X-coordinate Minimum value, the maximum value of X-coordinate, the maximum value of the minimum value of Y-coordinate and Y-coordinate.
Specifically, further includes:
After getting first data and second data, by the coordinate of third mark circle, the 4th mark Coordinate, the first data in third mark circle and the second data in the 4th mark circle for infusing circle are stored in data word In allusion quotation.
Specifically, further includes:
Before the line feature to the first element and second element interrupts, to the first element and institute The line feature for stating the second element is respectively processed, and the processing includes: that connection of broken lines processing, line extension processing, line interrupt place One of reason and topological inspection processing are a variety of.
According to another aspect of the present invention, the device of a kind of ore body reserves block mark circle matching and update is provided, comprising:
First acquisition unit, for obtaining the first file and the second file, first file include: the first mark circle, Third mark is round and the first data, and second file includes: that the second mark circle, the 4th mark be round and the second data, and described the One mark is round and third mark circle is located at different figure layers, and the round and described 4th mark circle of second mark is located at different figures Layer, the second mark circle are located at point figure layer;
Second acquisition unit is obtained for the information according to the outsourcing rectangle for forming the round first element of first mark Take the first element;It is also used to the information of the outsourcing rectangle according to the second element for forming the second mark circle, obtains institute State the second element;
Generation unit, for extracting the line feature of second element, after second element is zoomed in and out and is translated, The line feature of the first element and second element is interrupted, by the first element and described second after interrupting The line feature of element generates corresponding first face element and the second face element;
Third acquiring unit, for according to first mark is round and the coordinate of third mark circle, obtaining described the First coordinate shift amount of the one mark circle to third mark circle;It is also used to according to round and described 4th mark of second mark The coordinate of circle is infused, round the second coordinate shift amount to the 4th mark circle of second mark is obtained;
4th acquiring unit, for obtaining the third according to first face element and the first coordinate shift amount The first data in mark circle;According to second face element and the second coordinate shift amount, the 4th mark circle is obtained The second interior data;
Updating unit, for the coordinate and/or first number according to the round and described 4th mark circle of third mark According to the second data, by the third mark circle in the first data be substituted for it is described 4th mark circle in the second data.
Specifically, the second acquisition unit is specifically used for:
Obtain the figure layer where the first mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the element circle of composition the first mark circle Outsourcing rectangle;
Obtain the element in the element circle;
Using the round element in element circle of the element as the first element.
Specifically, the second acquisition unit is specifically used for:
Obtain the figure layer where the second mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the outsourcing of the point element of the second mark circle Rectangle;
Using described element as second element.
It specifically, further include processing unit, for being carried out in the line feature to the first element and second element Before interrupting, the line feature of the first element and second element is respectively processed, the processing includes: that broken string connects Connect processing, line extension processing, line interrupt processing and one of topological inspection processing or a variety of.
Ore body reserves block provided by the invention mark circle matching and update method and device, by obtain original document and The element of legend mark circle in new file, and topological structure face is carried out to the element, according to topological structure face as a result, and drawing The coordinate shift amount of mark circle of the mark circle into corresponding legend window in figure window obtains the mark in drawing window Data in circle, the data in the mark circle in original document in render window, which are substituted in new file, has same coordinate Mark circle in data, thus complete ore body reserves block mark circle automatically update, improve mark circle update efficiency, It ensure that the correctness of update.
Detailed description of the invention
Fig. 1 is the method flow diagram that ore body reserves block provided in an embodiment of the present invention mark circle is matched and updated;
Fig. 2 is the method flow diagram that the ore body reserves block mark circle that further embodiment of this invention provides is matched and updated;
Fig. 3 is the method flow diagram that the ore body reserves block mark circle that further embodiment of this invention provides is matched and updated;
Fig. 4 is the structure drawing of device that ore body reserves block provided in an embodiment of the present invention mark circle is matched and updated.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
Firstly, being illustrated to the structure of mark circle.Mark circle in legend window and render window is by a round and circle In several lines composition, circle by line is divided into several sub-boxes.Each sub-box has a number, corresponding to block data Different attribute.It is marked by the same legend between the mark circle that circle duplication obtains, it is corresponding in the sub-box with identical number The attribute of ore body reserves block data is identical.For the mark circle in render window, have in the sub-box for marking mineral products The data of block attribute, the attribute can be block number, resource reserve type, block projected area, block average thickness etc..
Fig. 1 is the method flow diagram that ore body reserves block provided in an embodiment of the present invention mark circle is matched and updated, such as Fig. 1 It is shown, comprising: S1 obtains the first file and the second file, first file include: the first mark circle, third mark circle and First data, second file include: the second mark circle, the 4th mark circle and the second data, and described first marks round and institute It states third mark circle and is located at different figure layers, the round and described 4th mark circle of second mark is located at different figure layers, and described second Mark circle is located at point figure layer;S2, according to the information of the outsourcing rectangle for the first element for forming the first mark circle, described in acquisition The first element;According to the information of the outsourcing rectangle for the second element for forming the second mark circle, second element is obtained; S3 extracts the line feature of second element, after the line feature of second element is zoomed in and out and translated, to described first The line feature of element and second element is interrupted, and is wanted by the line of the first element and second element after interrupting Element generates corresponding first face element and the second face element;S4, according to the seat that first mark is round and third mark is round Mark obtains the first coordinate shift amount that the first mark circle arrives third mark circle;According to the second mark circle and institute The coordinate for stating the 4th mark circle obtains round the second coordinate shift amount to the 4th mark circle of second mark;S5, according to The information of first face element and the first coordinate shift amount obtain the first data in the third mark circle;According to The information of second face element and the second coordinate shift amount obtain the second data in the 4th mark circle;S6, root According to the round coordinate for marking circle with the described 4th of third mark and/or first data and the second data, by the third The first data in mark circle are substituted for the second data in the 4th mark circle.
In S1, first file is the original document of ore body reserves block data, and second file is ore body reserves The new file of block data.First file and second file have different figure layers, and the figure layer includes point figure layer, line Figure layer and face figure layer.The round and described second mark circle of first mark is the mark circle in legend window.The third mark The round and described 4th mark circle is the mark circle in render window.The third mark circle is carried out according to the first mark circle Duplication obtains, and the 4th mark circle carries out duplication acquisition according to the second mark circle.First mark is round and described Third mark circle is located at different line chart layers.The round and described 4th mark circle of second mark is located at different point figure layers.Institute The first data and the second data are stated as the value of the different attribute of ore body reserves block, are located at a point figure layer.
In S2, the element of the first mark circle includes round and line segment.When the second mark circle is located at line chart layer, institute The element for stating the second mark circle includes round and line segment.When the second mark circle is located at point figure layer, the second mark circle Element is the point that round and line segment links together.According to the coordinate of the first element of the first mark circle, described first is generated Mark the outsourcing rectangle of each element of circle.According to the coordinate of the second element of the second mark circle, second mark is generated Infuse the outsourcing rectangle of each element of circle.According to the information of the outsourcing rectangle of the first mark circle, first mark is obtained The round first element.According to the information of the outsourcing rectangle of the second mark circle, the second element of the second mark circle is obtained. The first element and second element can be stored in volatile data base.
In S3, the line feature for extracting second element includes generating the line feature being overlapped with second element, I.e. by the round line feature formed with line segment of element.When due to generating the line feature, the coordinate of the line feature of second element It can change with size, so needing that the line feature of second element is zoomed in and out and translated, make second element Line feature be overlapped with second element.The line feature of the first element and second element is interrupted, it is described The point of intersection interrupted between element is interrupted.Then the line for the first element having no progeny and second element of fighting each other is wanted Element carries out topological structure face, generates corresponding first face element and the second face element.To the first element and second element Topological structure face is carried out to refer to the line segment progress topological structure face for forming each sub-box.The second mark fenestra can be located at figure Line chart layer in layer, when the second mark circle is located at the line chart layer in figure layer, directly to the first element and described the Two elements are interrupted, then the fight each other first element having no progeny and second element progress topological structure face.Described In one mark circle, each there is a corresponding first face element by the sub-box that line segment surrounds.In the second mark circle, Each there is a corresponding second face element by the sub-box that line segment surrounds.
In S4, the round coordinate with third mark circle of first mark is obtained, and calculate the X of the first mark circle The Y-coordinate and the third of the absolute value of the difference of the X-coordinate of coordinate and third mark circle and the first mark circle The absolute value of the difference of the Y-coordinate of circle is marked, to obtain the first coordinate that the first mark circle arrives third mark circle Offset.Calculate the absolute value of the difference of the X-coordinate of the second mark circle and the X-coordinate of the 4th mark circle, Yi Jisuo The absolute value for stating the difference of the Y-coordinate of the second mark circle and the Y-coordinate of the 4th mark circle, to obtain second mark Second coordinate shift amount of the circle to the 4th mark circle.
In S5, according to the first coordinate shift amount, first face element is translated.Since first face is wanted Element is obtained according to the first element of the first mark circle, and the third mark circle is obtained by the first mark circle duplication, So first face element after translation covers the third mark circle.According to the second coordinate shift amount, to described Two face elements are translated.Since second face element is obtained according to the second element of the second mark circle, described the Four mark circles are obtained by the second mark circle duplication, so the 4th mark of second face element covering after translation Circle.The first data in the third mark circle are located in the range of the covering of first face element, in the 4th mark circle The second data be located at second face element covering in the range of.It is available to arrive according to the information of first face element First data.It is available to arrive second data according to the information of second face element.The third is marked and is justified Coordinate, the 4th mark circle coordinate, the first data in third mark circle and the in the 4th mark circle Two data are stored in data dictionary.
In S6, the first situation is coordinately transformed second file, makes the coordinate and the first file of the second file Coordinate it is identical.The coordinate of the third mark circle and the coordinate of the 4th mark circle are traversed, judges the third mark circle Coordinate and the 4th mark circle coordinate it is whether identical, if the round coordinate with the 4th mark circle of third mark It is identical, corresponding between circle corresponding first face element and the 4th mark circle corresponding second face element is marked according to third and is closed The first data in third mark circle are substituted for the second number in the identical 4th mark circle of corresponding position by system According to.Second situation traverses first data and second data, if the block number attribute in first data Value it is identical as the value of block number attribute in second data, then be substituted for described for other described first data are corresponding Two data.The correctness of data update can be improved when block numbers mistake in the first situation.Second situation is marking When round coordinate mistake, the correctness of data update can be improved.Two kinds of information summaries can also be used, further increase number According to the correctness of update.
The present embodiment carries out the element by obtaining the element of the legend mark circle in original document and new file Topological structure face, according to topological structure face as a result, and marking circle to the mark circle in corresponding legend window in drawing window Coordinate shift amount obtain drawing window in the mark circle in data, by original document in render window mark circle in Data be substituted in new file with same coordinate mark circle in data, thus complete ore body reserves block mark circle Automatically update, improve the efficiency of update, ensure that the correctness of update.
Fig. 2 is the method flow diagram that ore body reserves block provided in an embodiment of the present invention mark circle is matched and updated, such as Fig. 2 It is shown, on the basis of the above embodiments, according to the outer of the first element for forming the first mark circle described in the present embodiment The information of packet rectangle obtains the first element, comprising: S211 obtains the figure layer where the first mark circle;S212 is right Each element in the figure layer generates the outsourcing rectangle of the element;S213 is obtained if the outsourcing rectangle is square Know that the outsourcing rectangle is the outsourcing rectangle of the element circle of composition the first mark circle;S214 is obtained and is wanted in the element circle Element;S215, using the round element in element circle of the element as the first element.
Specifically, available to the first mark circle place according to the title of the type of figure layer and figure layer in S211 Figure layer.In S212, each element in the figure layer of the first mark circle place is obtained, this is wanted according to each element Coordinate generation The outsourcing rectangle of element.In S213, judge whether the outsourcing rectangle is square, it, should if the outsourcing rectangle is square Outsourcing rectangle is the outsourcing rectangle of the element circle of composition the first mark circle.In S214, according to the information of element circle, obtain Take the element in the element circle.In S215, using the round element in element circle of the element as composition described first Mark the first element of circle.
Marking the outsourcing rectangle of the element circle of circle in the present embodiment according to first in original document is square, is first found The element circle of first mark circle, then finds the other element of the first mark circle, to get the first mark according to element circle The round first element, the update for the first data in subsequent first mark circle are prepared.
Fig. 3 is the method flow diagram that ore body reserves block provided in an embodiment of the present invention mark circle is matched and updated, such as Fig. 3 It is shown, on the basis of the above embodiments, according to the outer of the second element for forming the second mark circle described in the present embodiment The information of packet rectangle obtains second element, comprising: S221 obtains the figure layer where the second mark circle;S222 for Each element in the figure layer generates the outsourcing rectangle of the element;S223 is known if the outsourcing rectangle is square The outsourcing rectangle is the outsourcing rectangle of the point element of the second mark circle;S224 is wanted described element as described second Element.
Specifically, available to the second mark circle place according to the title of the type of figure layer and figure layer in S221 Figure layer.In S222, each element in the figure layer of the second mark circle place is obtained, this is wanted according to each element Coordinate generation The outsourcing rectangle of element.In S223, judge whether the outsourcing rectangle is square, it, should if the outsourcing rectangle is square Outsourcing rectangle is the outsourcing rectangle of the point element of the second mark circle, because the second mark circle is located at point figure layer.S224 In, described element is the second element of the second mark circle.
Marking the outsourcing rectangle of the element circle of circle in the present embodiment according to second in original document is square, is first found The point element of second mark circle, to get the second element of the second mark circle, standard is done in the update for subsequent first mark circle It is standby.
On the basis of the above embodiments, the information of the first face element and second face element described in the present embodiment is all It include: the maximum value of number, the minimum value of X-coordinate, the maximum value of X-coordinate, the minimum value of Y-coordinate and Y-coordinate.
Specifically, the number can surround for the corresponding first element by the first mark circle of first face element The number for the sub-box that the number of sub-box the second element by the second mark circle corresponding with second face element surrounds.It will After first face element is deviated by the first coordinate shift amount, according to the minimum of the X-coordinate of first face element Value, the maximum value of X-coordinate, the maximum value of the minimum value of Y-coordinate and Y-coordinate, the available first face element coverage area The first interior data.After second face element is deviated by the second coordinate shift amount, wanted according to second face Minimum value, the maximum value of X-coordinate, the maximum value of the minimum value of Y-coordinate and Y-coordinate of the X-coordinate of element, available described second The second data in the element coverage area of face.
The information of first face element and second face element described in the present embodiment all includes number, the minimum of X-coordinate Value, the maximum value of X-coordinate, the maximum value of the minimum value of Y-coordinate and Y-coordinate.According to first face element and second face The information of element and available first data of the first coordinate shift amount and the second coordinate shift amount and institute State the second data.
On the basis of the above embodiments, the present embodiment further include: to the first element and second element Before line feature is interrupted, the line feature of the first element and second element is respectively processed, the processing It include: that connection of broken lines processing, line extension processing, line interrupt one of processing and topological inspection processing or a variety of.
Specifically, the first mark circle and the second mark circle are likely to occur undesirable situation, broken string, line segment such as occur Endpoint exceed the line segment tie point etc..It needs to the first element for forming the first mark circle and forms second mark The line feature for infusing the second element of circle is handled.The processing include: include: that connection of broken lines processing, line extension processing, line are beaten One of disconnected processing and topological inspection processing are a variety of.Wherein, connection of broken lines processing can connect the place of broken string, line The line segment for being not connected to endpoint can be connected to endpoint by extension processing, and line interrupts to be beaten at the node that processing is intersected online Disconnected, topology checks the case where processing checks and handles line feature itself and line feature does not meet topology rule between each other.
In the present embodiment in the non-type situation of drawing, to the first element that forms the first mark circle and described the The line feature of second element of two mark circles is handled, and the first mark circle and the line feature structure by second element are made At mark circle be converted into test pattern, thus ensure that ore body reserves block mark circle update correctness.
Fig. 4 is the structure drawing of device that ore body reserves block provided in an embodiment of the present invention mark circle is matched and updated, such as Fig. 4 It is shown, including first acquisition unit 1, second acquisition unit 2, generation unit 3, third acquiring unit 4,5 and of the 4th acquiring unit Updating unit 6, in which:
The first acquisition unit 1 includes: the first mark for the first file of acquisition and the second file, first file Circle, third mark circle and the first data, second file includes: that the second mark is round, the 4th mark is round and the second data, described First mark is round and third mark circle is located at different figure layers, and the round and described 4th mark circle of second mark is located at difference Figure layer, the second mark circle are located at point figure layer;The second acquisition unit 2 is used for according to forming the of the first mark circle The information of the outsourcing rectangle of one element, obtains the first element;It is also used to want according to form the second mark circle second The information of the outsourcing rectangle of element obtains second element;The line that the generation unit 3 is used to extract second element is wanted Element after second element is zoomed in and out and translated, is beaten the line feature of the first element and second element It is disconnected, corresponding first face element is generated by the first element after interrupting and the line feature of second element and the second face is wanted Element;The third acquiring unit 4 is used to obtain described first according to the round coordinate with third mark circle of first mark First coordinate shift amount of the mark circle to third mark circle;It is also used to according to round and described 4th mark of second mark Round coordinate obtains the second coordinate shift amount that the second mark circle marks circle to the described 4th;4th acquiring unit 5 For obtaining the first data in the third mark circle according to first face element and the first coordinate shift amount;Root According to second face element and the second coordinate shift amount, the second data in the 4th mark circle are obtained;The update Unit 6 is used for according to the round coordinate for marking circle with the described 4th of third mark and/or first data and the second number According to, by the third mark circle in the first data be substituted for it is described 4th mark circle in the second data.
The first acquisition unit 1 is for obtaining the first file and the second file.Wherein, first file is ore body storage The original document of gauge block segment data, second file are the new file of ore body reserves block data.First file and institute The second file is stated with different figure layers, the figure layer includes point figure layer, line chart layer and face figure layer.First mark is round and described Second mark circle is the mark circle in legend window.The round and described 4th mark circle of the third mark is the mark in render window Note circle.The third mark circle carries out duplication acquisition according to the first mark circle, and the 4th mark circle is according to described Second mark circle carries out duplication acquisition.First mark is round and third mark circle is located at different line chart layers.Described The round and described 4th mark circle of two marks is likely located at different point figure layers.First data and the second data are ore body reserves The value of the different attribute of block is located at point figure layer.
The element of the first mark circle includes round and line segment.When the second mark circle is located at line chart layer, described the The element of two mark circles includes round and line segment.When the second mark circle is located at point figure layer, the element of the second mark circle The point to link together for round and line segment.The coordinate for the first element that the second acquisition unit 2 marks circle according to described first, Generate the outsourcing rectangle of each element of the first mark circle.It is raw according to the coordinate of the second element of the second mark circle At the outsourcing rectangle of each element of the second mark circle.According to the information of the outsourcing rectangle of the first mark circle, obtain The first element of the first mark circle.According to the information of the outsourcing rectangle of the second mark circle, second mark is obtained The second round element.The first element and second element can be stored in volatile data base.
The line feature for second element that the generation unit 3 is extracted includes generating the line being overlapped with second element Element, i.e., by the round line feature formed with line segment of element.When due to generating the line feature, the line feature of second element Coordinate and size can change, so needing that the line feature of second element is zoomed in and out and translated, make described second The line feature of element is overlapped with second element.The line feature of the first element and second element is interrupted, It is described to interrupt the point of intersection between element and interrupted.Then it fights each other the line of the first element having no progeny and second element Element carries out topological structure face, generates corresponding first face element and the second face element.The generation unit 3 is to the first element Topological structure face is carried out with second element to refer to the line segment progress topological structure face for forming each sub-box.Second mark Fenestra can be located at the line chart layer in figure layer, when the second mark circle is located at the line chart layer in figure layer, the generation unit 3 Directly the first element and second element are interrupted, then the fight each other first element having no progeny and described second Element carries out topological structure face.In the first mark circle, each there is one corresponding first by the sub-box that line segment surrounds Face element.In the second mark circle, each there is a corresponding second face element by the sub-box that line segment surrounds.
The third acquiring unit 4 obtains the described first coordinate for marking round and third mark circle, and described in calculating The absolute value of the difference of the X-coordinate of the X-coordinate and third mark circle of first mark circle and the Y of the first mark circle The absolute value of the difference of the Y-coordinate of coordinate and third mark circle, to obtain the first mark circle to the third mark Infuse the first coordinate shift amount of circle.And calculate the difference of the X-coordinate of the second mark circle and the X-coordinate of the 4th mark circle Absolute value and it is described second mark circle Y-coordinate and it is described 4th mark circle Y-coordinate difference absolute value, thus Obtain the second mark circle second coordinate shift amount round to the 4th mark.
4th acquiring unit 5 translates first face element according to the first coordinate shift amount.Due to First face element is obtained according to the first element of the first mark circle, and the third mark circle is marked by described first Circle duplication obtains, so first face element covers the third mark circle.4th acquiring unit 5 is according to described second Coordinate shift amount translates second face element.Since second face element is according to the second mark circle Second element obtains, and the 4th mark circle is obtained by the second mark circle duplication, so second face element covers institute State the 4th mark circle.The first data in third mark circle are located in the range of first face element covers, and described the The second data in four mark circles are located in the range of the covering of second face element.4th acquiring unit 5 is according to described The information of first face element, it is available to arrive first data.It is available to arrive institute according to the information of second face element State the second data.Then by first data, the second data, the coordinate of the corresponding first mark circle of first data and institute The coordinate for stating the corresponding second mark circle of the second data is stored in data dictionary.
The first situation, the updating unit 6 are coordinately transformed second file, make the coordinate of the second file with The coordinate of first file is identical.Then the coordinate of the third mark circle and the coordinate of the 4th mark circle are traversed, judges institute Whether the coordinate of the coordinate and the 4th mark circle of stating third mark circle is identical, if third mark circle and the described 4th The coordinate for marking circle is identical, marks circle corresponding first face element and the 4th according to third and marks circle corresponding second face element Between corresponding relationship, by the third mark circle in the first data be substituted for corresponding position it is identical it is described 4th mark justify The second interior data.Second situation, the updating unit 6 traverses first data and second data, if described The value of block number attribute in first data is identical as the value of block number attribute in second data, then by other institutes It states the first data correspondence and is substituted for second data.Data update can be improved when block numbers mistake in the first situation Correctness.The correctness of data update can be improved in the coordinate mistake of mark circle in second situation.It can also be by two Kind information summary uses, and further increases the correctness of data update.
The present embodiment carries out the element by obtaining the element of the legend mark circle in original document and new file Topological structure face, according to topological structure face as a result, and marking circle to the mark circle in corresponding legend window in drawing window Coordinate shift amount obtain drawing window in the mark circle in data, by original document in render window mark circle in Data be substituted in new file with same coordinate mark circle in data, thus complete ore body reserves block mark circle Automatically update, improve the efficiency of update, ensure that the correctness of update.
On the basis of the above embodiments, second acquisition unit 2 described in the present embodiment is specifically used for: obtaining described first Figure layer where mark circle;For each element in the figure layer, the outsourcing rectangle of the element is generated;If the outsourcing rectangle It is square, then knows that the outsourcing rectangle is the outsourcing rectangle of the element circle of composition the first mark circle;Obtain the element Element in circle;Using the round element in element circle of the element as the first element.
Specifically, the second acquisition unit 2 arrives described first according to the type of figure layer and the title of figure layer are available Figure layer where mark circle.Then each element where obtaining the first mark circle in figure layer, according to each element coordinate Generate the outsourcing rectangle of the element.The second acquisition unit 2 judges whether the outsourcing rectangle is square, if the outsourcing Rectangle is square, then the outsourcing rectangle is the outsourcing rectangle of the element circle of composition the first mark circle.According to the element Round information obtains the element in the element circle.The round element in element circle of the element is composition described first Mark the first element of circle.
Marking the outsourcing rectangle of the element circle of circle in the present embodiment according to first in original document is square, is first found The element circle of first mark circle, then finds the other element of the first mark circle, to get the first mark according to element circle The round first element, the update for the first data in subsequent first mark circle are prepared.
On the basis of the above embodiments, second acquisition unit 2 described in the present embodiment is specifically used for: obtaining described second Figure layer where mark circle;For each element in the figure layer, the outsourcing rectangle of the element is generated;If the outsourcing rectangle It is square, then knows that the outsourcing rectangle is the outsourcing rectangle of the point element of the second mark circle;Using described element as Second element.
Specifically, the second acquisition unit 2 arrives described second according to the type of figure layer and the title of figure layer are available Figure layer where mark circle.Then each element where obtaining the second mark circle in figure layer, according to each element coordinate Generate the outsourcing rectangle of the element.The second acquisition unit 2 judges whether the outsourcing rectangle is square, if the outsourcing Rectangle is square, then the outsourcing rectangle is the outsourcing rectangle of the point element of composition the second mark circle, because described second Mark circle is located at point figure layer.Described element is the second element of the second mark circle.
Marking the outsourcing rectangle of the element circle of circle in the present embodiment according to second in original document is square, is first found The point element of second mark circle, to get the second element of the second mark circle, standard is done in the update for subsequent first mark circle It is standby.
It on the basis of the above embodiments, further include processing unit, for being wanted to the first element and described second Before element is interrupted, the line feature of the first element and second element is respectively processed, the processing includes: Connection of broken lines processing, line extension processing, line interrupt one of processing and topological inspection processing or a variety of.
Specifically, the first mark circle and the second mark circle are likely to occur undesirable situation, broken string, line segment such as occur Endpoint exceed the line segment tie point etc..Need processing unit to the first element and composition institute for forming the first mark circle The line feature for stating the second element of the second mark circle is handled.It is described processing include: include: connection of broken lines processing, line extend Processing, line interrupt one of processing and topological inspection processing or a variety of.Wherein, connection of broken lines processing can be by the place of broken string even It picks up and, the line segment for being not connected to endpoint can be connected to endpoint by line extension processing, and line interrupts the node that processing is intersected online Place is interrupted, and topology checks that processing checks and handles line feature itself and line feature does not meet the feelings of topology rule between each other Condition.
In the present embodiment in the non-type situation of drawing, to the first element that forms the first mark circle and described the The line feature of second element of two mark circles is handled, and the first mark circle and the line feature structure by second element are made At mark circle be converted into test pattern, thus ensure that ore body reserves block mark circle update correctness.
Finally, the present processes are only preferable embodiment, it is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (10)

1. a kind of method of ore body reserves block mark circle matching and update characterized by comprising
The first file and the second file are obtained, first file includes: that the first mark is round, third mark is round and the first data, Second file includes: the second mark circle, the 4th mark circle and the second data, the first mark circle and third mark Circle is located at different figure layers, and the round and described 4th mark circle of second mark is located at different figure layers, and the second mark circle is located at Point figure layer;
According to the information of the outsourcing rectangle for the first element for forming the first mark circle, the first element is obtained;According to group At the information of the outsourcing rectangle of the second element of the second mark circle, second element is obtained;
The line feature for extracting second element, after the line feature of second element is zoomed in and out and translated, to described The line feature of one element and second element is interrupted, by the line of the first element and second element after interrupting Element generates corresponding first face element and the second face element;
According to the coordinate that first mark is round and third mark is round, the first mark circle is obtained to third mark The first round coordinate shift amount;According to the coordinate of the round and described 4th mark circle of second mark, second mark is obtained Second coordinate shift amount of the circle to the 4th mark circle;
According to the information of first face element and the first coordinate shift amount, the first number in the third mark circle is obtained According to;According to the information of second face element and the second coordinate shift amount, the second number in the 4th mark circle is obtained According to;
According to whether the round coordinate round with the 4th mark of third mark equal and first face element with it is described Corresponding relationship and/or first data and second data between second face element, will be in third mark circle First data are substituted for the second data in the 4th mark circle;
Wherein, according to whether the round coordinate round with the 4th mark of third mark equal and first face element With the corresponding relationship between the element of second face, the first data in third mark circle are substituted for the 4th mark The step of the second data in circle, specifically includes:
Second file is coordinately transformed, keeps the coordinate of second file identical as the coordinate of first file;
If the coordinate of the 4th mark circle in the second file after coordinate conversion is identical with the coordinate of third mark circle, root Corresponding between circle corresponding first face element and the 4th mark circle corresponding second face element is marked according to the third to close The first data in third mark circle are substituted for the second number in the identical 4th mark circle of corresponding position by system According to;
According to first data and second data, the first data in third mark circle are substituted for the described 4th The step of marking the second data in circle specifically includes:
If the value of the block number attribute in first data is identical as the value of block number attribute in second data, Other values correspondence in first data in addition to the block number attribute is substituted for second data.
2. the method for ore body reserves block mark circle matching and update according to claim 1, which is characterized in that described According to the information of the outsourcing rectangle for the first element for forming the first mark circle, the first element is obtained, comprising:
Obtain the figure layer where the first mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the outsourcing of the element circle of composition the first mark circle Rectangle;
Obtain the element in the element circle;
Using the round element in element circle of the element as the first element.
3. the method for ore body reserves block mark circle matching and update according to claim 1, which is characterized in that described According to the information of the outsourcing rectangle for the second element for forming the second mark circle, second element is obtained, comprising:
Obtain the figure layer where the second mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the outsourcing square of the point element of the second mark circle Shape;
Using described element as second element.
4. the method for ore body reserves block mark circle matching and update according to claim 1 to 3, feature It is, the information of first face element and the information of second face element all include: number, the minimum value of X-coordinate, X seat The maximum value of target maximum value, the minimum value of Y-coordinate and Y-coordinate.
5. the method for ore body reserves block mark circle matching and update according to claim 1 to 3, feature It is, further includes:
After getting first data and second data, the coordinate of third mark circle, the 4th mark are justified Coordinate, the third mark circle in the first data and it is described 4th mark circle in the second data be stored in data dictionary In.
6. the method for ore body reserves block mark circle matching and update according to claim 1 to 3, feature It is, further includes:
Before the line feature to the first element and second element interrupts, to the first element and described The line feature of two elements is respectively processed, the processing include: connection of broken lines processing, line extension processing, line interrupt handle and One of topological inspection processing is a variety of.
7. a kind of device of ore body reserves block mark circle matching and update characterized by comprising
First acquisition unit, for obtaining the first file and the second file, first file includes: the first mark circle, third Mark is round and the first data, second file include: that the second mark is round, the 4th mark is round and the second data, first mark Note is round and third mark circle is located at different figure layers, and the round and described 4th mark circle of second mark is located at different figure layers, The second mark circle is located at point figure layer;
Second acquisition unit obtains institute for the information according to the outsourcing rectangle for forming the round first element of first mark State the first element;It is also used to the information of the outsourcing rectangle according to the second element for forming the second mark circle, obtains described the Two elements;
Generation unit, for extracting the line feature of second element, after second element is zoomed in and out and translated, to institute The line feature for stating the first element and second element is interrupted, by after interrupting the first element and second element Line feature generate corresponding first face element and the second face element;
Third acquiring unit, for obtaining first mark according to the coordinate that first mark is round and third mark is round First coordinate shift amount of the note circle to third mark circle;It is also used to according to the round and described 4th mark circle of second mark Coordinate, obtain it is described second mark circle to it is described 4th mark circle the second coordinate shift amount;
4th acquiring unit, for obtaining the third mark according to first face element and the first coordinate shift amount The first data in circle;According to second face element and the second coordinate shift amount, obtain in the 4th mark circle Second data;
Whether updating unit is equal and described for the coordinate according to the round and described 4th mark circle of third mark Corresponding relationship between element and second face element and/or first data and the second data on one side, by the third The first data in mark circle are substituted for the second data in the 4th mark circle;
The updating unit is specifically used for:
Second file is coordinately transformed, keeps the coordinate of second file identical as the coordinate of first file;
If the coordinate of the 4th mark circle in the second file after coordinate conversion is identical with the coordinate of third mark circle, root Corresponding between circle corresponding first face element and the 4th mark circle corresponding second face element is marked according to the third to close The first data in third mark circle are substituted for the second number in the identical 4th mark circle of corresponding position by system According to;
The updating unit specifically includes:
If the value of the block number attribute in first data is identical as the value of block number attribute in second data, Other values correspondence in first data in addition to the block number attribute is substituted for second data.
8. ore body reserves block according to claim 7 mark circle matching and the device that updates, which is characterized in that described the Two acquiring units are specifically used for:
Obtain the figure layer where the first mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the outsourcing of the element circle of composition the first mark circle Rectangle;
Obtain the element in the element circle;
Using the round element in element circle of the element as the first element.
9. ore body reserves block according to claim 7 mark circle matching and the device that updates, which is characterized in that described the Two acquiring units are specifically used for:
Obtain the figure layer where the second mark circle;
For each element in the figure layer, the outsourcing rectangle of the element is generated;
If the outsourcing rectangle is square, know that the outsourcing rectangle is the outsourcing square of the point element of the second mark circle Shape;
Using described element as second element.
10. marking the device of circle matching and update, feature according to ore body reserves block described in claim 7-9 any one It is, further includes processing unit, it is right for before the line feature to the first element and second element interrupts The first element and the line feature of second element are respectively processed, and the processing includes: that connection of broken lines is handled, line prolongs Long processing, line interrupt one of processing and topological inspection processing or a variety of.
CN201710229790.4A 2017-04-10 2017-04-10 A kind of method and device of ore body reserves block mark circle matching and update Expired - Fee Related CN107066574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710229790.4A CN107066574B (en) 2017-04-10 2017-04-10 A kind of method and device of ore body reserves block mark circle matching and update

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710229790.4A CN107066574B (en) 2017-04-10 2017-04-10 A kind of method and device of ore body reserves block mark circle matching and update

Publications (2)

Publication Number Publication Date
CN107066574A CN107066574A (en) 2017-08-18
CN107066574B true CN107066574B (en) 2019-11-22

Family

ID=59601930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710229790.4A Expired - Fee Related CN107066574B (en) 2017-04-10 2017-04-10 A kind of method and device of ore body reserves block mark circle matching and update

Country Status (1)

Country Link
CN (1) CN107066574B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967349B (en) * 2017-12-13 2020-06-16 湖南省国土资源规划院 Ore body reserve block matching method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102706352B (en) * 2012-05-21 2014-11-26 南京航空航天大学 Vector map matching navigation method for linear target in aviation
CN105160990A (en) * 2015-07-22 2015-12-16 广西冶金研究院 Mineral element relation distribution map, drafting method and application thereof
CN105760536A (en) * 2016-03-14 2016-07-13 中国地质调查局发展研究中心 Geological map database establishing device and geological map database establishing device method based on geological database

Also Published As

Publication number Publication date
CN107066574A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
Vanegas et al. Procedural generation of parcels in urban modeling
CN109360260A (en) A kind of cut-away restructing algorithm of triangle gridding threedimensional model
CN105320811A (en) Method for establishing topological connected model of urban underground electricity pipe network
CN106971040A (en) It is a kind of based on the flat three-dimensional road fast modeling method designed in length and breadth
CN106055794A (en) Method for building three-dimensional pipeline model in parametric manner
Simari et al. Multi‐objective shape segmentation and labeling
CN104050720A (en) Point cloud curve plane reconstruction method and system
CN109086495A (en) The method that BIM goes out hard-cover construction drawing
CN107066574B (en) A kind of method and device of ore body reserves block mark circle matching and update
CN111612903A (en) Geological data visualization method based on mixed data model
CN115690908A (en) Three-dimensional gesture attitude estimation method based on topology perception
CN111428811B (en) Method for recognizing and processing self-intersection pattern of single-ring polygon
CN107330907A (en) A kind of MRF image partition methods of combination deep learning shape prior
CN115757604A (en) GDP (generalized projection) space-time evolution analysis method based on noctilucent image data
CN106204723B (en) A kind of pattern stitch information automatic setting method towards three-dimensional garment simulation
CN106202768B (en) Attribute input method in house property area Calculation Plane figure
CN109389668B (en) Plant root system three-dimensional vector model construction method
CN110363848A (en) A kind of method for visualizing and device of the pore network model based on digital cores
JP2920195B2 (en) Shape conversion method and device
CN104778308B (en) The recognition methods of aircaft configuration section bar and device
Barr et al. Automated production of contour maps for electrophysiology II. Triangulation, verification, and organization of the geometric model
CN103984724B (en) Virtual interactive interface method based on space optimization tree layout
CN104462676A (en) Method and CAD system for judging part design change based on CAD platform
CN106650916B (en) A kind of mesh segmentation method based on ant group optimization
CN106529169B (en) Fuzzy set method for visualizing and its application process in terms of medical data visualization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191122

Termination date: 20200410

CF01 Termination of patent right due to non-payment of annual fee