CN101813789B - Legend vectorization method and device of geological map - Google Patents

Legend vectorization method and device of geological map Download PDF

Info

Publication number
CN101813789B
CN101813789B CN2010101070465A CN201010107046A CN101813789B CN 101813789 B CN101813789 B CN 101813789B CN 2010101070465 A CN2010101070465 A CN 2010101070465A CN 201010107046 A CN201010107046 A CN 201010107046A CN 101813789 B CN101813789 B CN 101813789B
Authority
CN
China
Prior art keywords
legend
data
geologic
vector quantization
vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2010101070465A
Other languages
Chinese (zh)
Other versions
CN101813789A (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 Petroleum and Natural Gas Co Ltd
Original Assignee
徐胜利
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 徐胜利 filed Critical 徐胜利
Priority to CN2010101070465A priority Critical patent/CN101813789B/en
Publication of CN101813789A publication Critical patent/CN101813789A/en
Application granted granted Critical
Publication of CN101813789B publication Critical patent/CN101813789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a legend vectorization method and a device in a geological map, which can define various legends in a geological map by using a vectorization method, apply the vectorization legends to the drawing of the geological map and generate a vectorization geological map. By using the legend vectorization method and the device in the geological map, the requirements of the exploration, the development and the application of petroleum can be fully met.

Description

A kind of legend vectorization method and device of geological map
Technical field
The present invention relates to the geophysical exploration development field, be geophysical survey data processing and recognition methods, wherein relate to legend vectorization method and device in a kind of geological map, but especially a kind of legend with static images form that can not vector quantization in the geological map converts the method and the device of EXPANDING DISPLAY AREA identification data form vector quantization legend to.
Background technology
At present, the legend kind is many in the employed geological map in the petroleum exploration and development specialty, comprise geographical legend, structure legend, oil gas legend, well location legend, stratum legend, mineral legend, paleontological fossil legend, sedimentary structure legend and rock legend etc., their shape structure more complicated.The professional geology software that we use at present is when becoming figure, and legend wherein mainly adopts static images form such as JPG to represent, because static images forms such as JGP can not change by vector, causes following defective:
(1), in map transformation of scale drawing process, is easy to generate the Ma Saike phenomenon.
(2), when drawing the legend in a certain given shape zone, the drafting shape of legend will can't use the picture format legend to draw along with the change of shape of drawing area.As when pressing the well track and drawing the long horizontal traverse well section; legend symbol such as oil-gas-water layer, lithology will change with the well track; static images can not satisfy this requirement, becomes figure to bring very big inconvenience to vector, thereby influences the effect of geological research personnel qualitative and quantitative analysis in oil-gas exploration research.
(3), the legend in the present oil geology map has unified industry standard, but and imperfection, to replenish according to demand in the practical application, in computer aided drawing, because of the unified legend data management mechanism of neither one, legend does not have the category storage, and the operations such as establishment, modification and use of legend are made troubles.
Summary of the invention
In order to solve the defective that exists in the legend vector quantization in the geological map, the invention provides legend vectorization method and device in a kind of geological map.
According to a first aspect of the present invention, a kind of legend vectorization method of the geological map based on the lithologic character stratum data is provided, it may further comprise the steps:
Use the routine techniques means, gather the lithologic character stratum data on stratum;
The lithologic character stratum data that collect are handled, obtained and be directed to needed geologic data in the oilfield prospecting developing;
At the geologic data that produces in the oilfield prospecting developing, under area of computer aided, obtain the geological map of lithologic character stratum data, in this process, utilize the graphical symbol of the method for drafting, demonstration and the storage mode that comprise legend, realize the vector quantization of legend; According to the result of the vector quantization of desiring to make money or profit, discern actual conditions with the inverting stratum;
Wherein, vector quantization legend application process is, original geologic data information according to input, whether the geologic legend that detects in the original geologic data information defines in vector legend storehouse, if geologic legend defines in vector legend storehouse, in vector legend storehouse, extract the legend data according to information such as the type of geologic legend and titles, legend data character string is resolved to one or more element figures to be drawn in geological map, form the vector geological map of ultimate demand, be used for geological analysis research;
Vector quantization geologic legend define method is, uses various pixels in the element figure data representation legend of self-defined syntactic definition, makes up legend of complete representation with one or more pels;
Vector quantization geologic legend creation method is, the instrument that uses the graphical interaction device to provide, legend is drawn, and the graphical analysis that the user is drawn in the graphical interaction system becomes the string assemble of element figure form to deposit in the legend field in the database table, sets up vector quantization legend storehouse;
Further, according to the definition of XML (extensible Markup Language) grammer, for the conversion regime of the positive and negative both direction of legend data and element figure object be: event driven mode;
Further, according to the XML (extensible Markup Language) grammer legend is carried out analysis mode and be: resolve to the form of expression of element figure data with whole legend, it is consistent to draw the complete vector quantization of realization in medium in storage and the geological map;
Further, the structure of vector quantization legend data is expressed according to OO mode, a legend has certain attribute, these attributes comprise that whether the width of height, width, background color, lines is with basic characteristics such as displaying ratio variations, legend also comprises the set of a pel, the set of this pel comprises one or more pels, and pel is distinguished with key word, use between the pel "; " cut apart, each pel is represented a fundamental figure, and whether pel includes the fundamental characteristics of graphics shape, line style, live width, color are arranged, fill, attribute such as Fill Color, coordinate position.
According to a second aspect of the present invention, a kind of legend vector quantization device of the geological map based on the lithologic character stratum data is provided, it comprises:
The geologic data reading device is used to read original geologic data information;
Pick-up unit judges whether the geologic legend in the original geologic data information exists in the legend memory storage;
The graphical interaction device is used to provide the user to draw the employed vector figure data collector of various legends;
Syntax analyzer on the one hand, is used for becoming single primitive data to export to graphical interpreter the legend data parsing from the legend management.On the other hand, to legitimacy and identifiability,, otherwise just the legend data are exported to the legend manager if illegally maybe can not discern with regard to output error message from the data verification data of graphical interpreter;
XML (extensible Markup Language) data definition unit is connected with described syntax analyzer, is used for the formal definition graphics primitive object identification data with the XML (extensible Markup Language) grammer, for legend vector quantization device provides correctly recognition data format standard;
Data converter is used for the Data Format Transform between syntax analyzer and the graphical interpreter;
Graphical interpreter is finished positive and negative two kinds of functions, promptly is used for pel character string forward conversion is become the vector legend, vector legend reverse transformation is become the pel character string;
The graphic plotting device reads geologic data information by the geologic data reading device, is connected with described graphical interpreter, and the geologic data information according to input reads the vector quantization legend that is complementary with geologic data information from the legend memory storage.By property parameters in the geologic data information and drawing area feature the vector quantization legend is plotted in the geological map, is used for geological analysis research;
The legend manager is used for preserving and extract the legend of using in the various geological maps at the legend memory storage;
Legend database storing structure is connected with described legend manager, is used for the storage mode of the different classes of legend of geological map is carried out the structuring definition, is convenient to management, maintenance and the retrieval of legend;
The legend memory storage is used for persistence and preserves vector quantization legend data.
Further, use the vector legend that is complementary with geological information to draw the various geological maps that form, be used for discerning the formation lithology of oil field prospecting exploitation research and production, the geological property of hydrocarbon zone according to original geologic data information.
Use above-mentioned technical scheme, legend vectorization method and device in the geological map, the enough vectorization methods of energy define the various legends in the geological map, and this vector quantization legend is applied in the geological map drafting, generate the vector quantization geological map, satisfy the petroleum exploration and development application demand.And utilize the vector quantization approach and the realization means of legend in the geological map of the present invention, remedied the defective of using static images form legend to cause in the existing map, distortion phenomenon, legend administrative mechanism imperfection, legend management maintenance difficulty to occur big as drawing legend when the transformation of scale, is difficult for problems such as modification.
Description of drawings
Fig. 1 is according to legend vector quantization schematic representation of apparatus of the present invention;
Fig. 2 implements structural representation according to the vector legend object of legend vector quantization device of the present invention;
Fig. 3 is the implementing procedure figure of vector quantization geologic legend creation method of the present invention;
Fig. 4 is the implementing procedure figure for vector quantization geologic legend application process of the present invention;
Fig. 5 is that vector quantization legend of the present invention can be expanded semantic process of analysis figure.
Fig. 6 is the list structure of well location symbol legend data;
Fig. 7 is the list structure of well logging legend standard;
Fig. 8 is the list structure of well logging legend classification;
Fig. 9 is the list structure of well logging legend data;
Figure 10 is a list structure of explaining conclusion legend data;
Figure 11 is geographical and the list structure of structure legend data.
Embodiment
The present invention adopt a kind of extendible legend vectorization method and device resolve with the above-mentioned geological map of classification and storage in all kinds of legends, in drawing, adopts map the drawable vector legend object after resolving then, element figure in this vector legend all is digitized and objectification, this graphics primitive object can carry out various mathematic(al) manipulations (as amplifying by actual needs, dwindle, operations such as local rotation), and this conversion also is simple, legend through conversion keeps the essential characteristic of original legend constant on the whole, this vectorization method and device can thoroughly address the aforementioned drawbacks, and can reach quick, high precision becomes the purpose of figure, full and accurate foundation is provided for geological research personnel qualitative and quantitative analysis geologic feature, also be easy to carry out the legend definition, reach purpose unified and that can change mutually according to industry standard and actual demand.
The Object-Oriented Design technology is to determine process related between the operation of required class, class and the class according to demand; The database design technology is that lot of data in the infosystem is organized by certain model, and the function of storage, maintenance, retrieve data is provided, and makes infosystem can make things convenient for, obtain in time, exactly required information from database; The GDI graphics plotting is the middle layer between application program and different hardware, by application program is isolated with different output device characteristics, make window application can have no obstacle ground and move on any graphical output device that Windows supports, it provides abundant API to draw function.The present invention is that the vector quantization of realizing static images form legend in the geological map on above-mentioned technical foundation is represented, structured storage and objectification are drawn function.
The present invention is primarily aimed at all kinds of geologic datas that produce in the oilfield prospecting developing research process, a kind of improvement that drafting, demonstration and the storage means of graphical symbol are carried out in the various geological map processes of Computer Aided Drawing.The legend vector quantization that has mainly solved in three kinds of geological maps is represented:
(1) planimetric map, it is to draw with the science optical projection system according to a certain percentage, expresses the map that the petroleum geology information plane changes.
(2) sectional view, it is along on the plane of structure of an incision of earth surface, expresses the map of subsurface geology information change, and structural section, hydrocarbon-bearing pool sectional view, sedimentary section, panel map etc. are arranged.
(3) histogram, stratum, structure, rock lithology, show of oil and gas and deposition that it is expressed in the vertical stratigraphic section of the vertical direction of strata equate the map of information with change in depth.
This method is to express by the element figure form that the legend in the above-mentioned map is resolved to vector quantization drafting separately and combination in any, represents the geological meaning that it is actual; Element figure comprises 18 kinds in drawing border, live width zoom mark-up, point, broken line, polygon, right-angle triangle, circular arc, arc, fan-shaped, SPL, circle, pentagram, ellipse, isosceles triangle, hexagon, rectangle, round rectangle and text etc., by their the just legend in the various geological maps of definable of combination, this legend expression way can be accomplished the complete vector quantization of legend, be drawn and the legend customization fast.
The legend vectorization method and the device that the purpose of this invention is to provide a kind of geological map make full use of the advantage of database in the data structure storage and the advantage of XML (extensible Markup Language) grammer, realize complete vector quantization of legend and objectification.So-called objectification just is meant that object has certain attribute and method, can realize some functions, as operations such as drafting and conversion.To achieve these goals, the invention provides the vectorization method of legend in a kind of geological map, comprising:
Vector quantization geologic legend define method is, uses various pixels in the element figure data representation legend of self-defined syntactic definition, makes up legend of complete representation with one or more pels;
Vector quantization geologic legend creation method is, the instrument that uses the graphical interaction device to provide, legend is drawn, the graphical analysis that the user is drawn in the graphical interaction system becomes the string assemble of element figure form to deposit in the legend field in the database table, set up vector quantization legend storehouse, the method is by the user pixel in the original geologic legend to be split into element figure to represent, only by once drawing, but just implementation structure storage vector quantization legend and reuse the vector quantization legend;
Vector quantization legend application process is, original geologic data information according to input, whether the geologic legend that detects in the original geologic data information defines in vector legend storehouse, if geologic legend defines in vector legend storehouse, in vector legend storehouse, extract the legend data according to information such as the type of geologic legend and titles, legend data character string is resolved to one or more element figures in geological map, draw, form the vector geological map of ultimate demand.
The present invention also provides the device of legend vector quantization in a kind of geological map, comprising:
The geologic data reading device is used to read original geologic data information;
Pick-up unit judges whether the geologic legend in the original geologic data information exists in the legend memory storage;
The graphical interaction device, be used to provide the user to draw the employed vector figure data collector of various legends, this device provides the realization means for generating vector quantization legend data, be convenient in vector legend storehouse, increase or revise legend, reach the purpose of improving vector legend storehouse, the figure of its drafting all is a graphical interpreter energy vectorized process;
Syntax analyzer on the one hand, is used for becoming single primitive data to export to graphical interpreter the legend data parsing from the legend management.On the other hand, to legitimacy and identifiability,, otherwise just the legend data are exported to the legend manager if illegally maybe can not discern with regard to output error message from the data verification data of graphical interpreter;
XML (extensible Markup Language) data definition unit is connected with described syntax analyzer, is used for the formal definition graphics primitive object identification data with the XML (extensible Markup Language) grammer, for legend vector quantization device provides correctly recognition data format standard;
Data converter is used for the Data Format Transform between syntax analyzer and the graphical interpreter;
Graphical interpreter is finished positive and negative two kinds of functions, promptly is used for pel character string forward conversion is become the vector legend, vector legend reverse transformation is become the pel character string;
The graphic plotting device reads geologic data information by the geologic data reading device, is connected with described graphical interpreter, and the geologic data information according to input reads the vector quantization legend that is complementary with geologic data information from the legend memory storage.By property parameters in the geologic data information and drawing area feature the vector quantization legend is plotted in the geological map, is used for geological analysis research;
The legend manager is used for carrying out providing the function of asking for or preserving the legend data alternately with database, for vector quantization legend data persistence and repeated use provide support;
The legend memory storage is used for persistence and preserves vector quantization legend data.
The present invention also provides a kind of vector quantization legend database storing structure: vector quantization legend database storing structure of the present invention is according to various legends application scenario difference, and the legend category storage of using in the geological map, sorting technique is as follows:
We are according to the specialty of the research of the petroleum exploration and development under the legend, the oil and gas industry standard definition of legend, legend has been carried out more careful classification, accomplish to satisfy two aspect demands of professional application and data storage, be classified as follows and state shown in a series of database table structure:
(1), wherein Fig. 6 is the list structure of well location symbol legend data, " the well another name claims " field is the title of legend just, " the other icon of well " field store be the legend vector quantization data of character string forms.
(2), wherein Fig. 7-Fig. 9 is the list structure that lithology, oiliness, the fossil used in the well log contain thing, mineral, sedimentary structure, oil bloom bubble legend, because there is diversity in the standard of well logging legend, distinguished so defined well logging legend standard at Fig. 7; Fig. 8 has defined the classification of legend, and it contains classifications such as thing, oil bloom bubble and is divided by lithology, oiliness, fossil; Fig. 9 is the list structure of legend vector data storage, " master gauge typical value code " field store be the title of legend, " icon " field store be the legend vector quantization data of character string forms, this list structure is also supported the mutual conversion between the different well logging legend standards.
(3), wherein Figure 10 is a list structure of explaining conclusion legend data, legends such as oil-gas-water layer, sand body in the map that uses when it mainly comprises tectonic structure research, " explain conclusion title " be the title of legend just, " explaining the conclusion icon " field store be the legend vector quantization data of character string forms.
(4), wherein Figure 11 is geographical and the list structure of structure legend data, geographical and structure class legend in the map that uses when it mainly comprises tectonic structure research, as legends such as tomography, boundary line, tectonic lines, " geographical and structure title " be the title of legend just, " geographical and structure icon " field store be the legend vector quantization data of character string forms.
In order to illustrate in greater detail design philosophy of the present invention,, technical scheme of the present invention is described in further detail below in conjunction with drawings and Examples.
One, implementation method of the present invention
Vector quantization geologic legend define method is, uses various pixels in the element figure data representation legend of self-defined syntactic definition, makes up legend of complete representation with one or more pels;
Vector quantization geologic legend creation method is, the instrument that uses the graphical interaction device to provide, legend is drawn, and the graphical analysis that the user is drawn in the graphical interaction system becomes the string assemble of element figure form to deposit in the legend field in the database table, sets up vector quantization legend storehouse;
Vector quantization legend application process is, original geologic data information according to input, whether the geologic legend that detects in the original geologic data information defines in vector legend storehouse, if geologic legend defines in vector legend storehouse, in vector legend storehouse, extract the legend data according to information such as the type of geologic legend and titles, legend data character string is resolved to one or more element figures in geological map, draw, form the vector geological map of ultimate demand.
Two, device of the present invention is implemented structure
As shown in Figure 1, its vector quantization device for legend of the present invention is implemented the detailed structure synoptic diagram, comprising:
Geologic data reading device 7 comprises read module and data interface module; Be used to read original geologic data information;
Pick-up unit 8 comprises geologic legend information extraction module and vector legend data query module; Vector legend enquiry module is retrieved vector legend data according to the information that abstraction module obtains in the legend access device; Be to judge according to Back ground Informations such as the type of legend in the geologic data information that reads and titles whether geologic legend exists in the legend memory storage specifically.
Graphical interaction device 1 comprises interactive interface module and drawing tool module; Be used to provide the user to draw the employed vector figure data collector of various legends, this device provides the realization means for generating vector quantization legend data, also be convenient in vector legend storehouse, increase or revise legend, further improve vector quantization legend database, it provides point, line, polygon, fan-shaped, oval, element figure drawing tools such as SPL, the user need be resolved into legend simple one by one pixel, by using various graphical tool users only need draw legend once, resolve to the primitive data form of XML (extensible Markup Language) then by graphical interpreter, just can in computer aided drawing, draw out satisfactory vector quantization legend.
Graphical interpreter 2 comprises forward graphic rendition module and reverse graphic rendition module; Finish positive and negative two kinds of functions, promptly be used for pel character string forward conversion is become the vector legend, vector legend reverse transformation is become the pel character string, the legend data are made up of one or more element figure data, need to resolve and can be used by the graphic plotting device through graphical interpreter.
Data converter 3 comprises forward data format converting module and reverse Data Format Transform module; Be used for the Data Format Transform between syntax analyzer and the graphical interpreter.
Syntax analyzer 4 comprises data legitimacy inspection module and resolves the legend data module; On the one hand, be used for becoming single primitive data to export to graphical interpreter legend data parsing from the legend management.On the other hand, to legitimacy and identifiability,, otherwise just the legend data are exported to the legend manager if illegally maybe can not discern with regard to output error message from the data verification data of graphical interpreter.Analysis mode is to analyze according to the key word in the syntactic definition, the result of syntax analyzer can be converted to the primitive data set of XML (extensible Markup Language) grammer through data converter, this process adopts event driven mode (promptly to resolve in the legend data procedures at syntax analyzer and test, in checkout procedure, can be unit with the output primitive data, if discovery mistake, just stop immediately, the output error result), guaranteeing to provide the data of enough graphical interpreters all is can vector quantization to draw and correct recognition data.
XML (extensible Markup Language) data definition unit 10 is used for the formal definition graphics primitive object identification data with the XML (extensible Markup Language) grammer, for legend vector quantization device provides the vector quantization that can correctly discern data standard.
Legend manager 5 comprises and preserves the legend data module and extract the legend data module; Be used for preserving and extract the legend of using in the various geological maps at the legend memory storage.Be used for the data interaction between managing graphic interpreter and the legend memory storage, set up the physical arrangement of storage by category in the legend memory storage, use occasion, the maintenance and the retrieval of legend also is convenient in this rational structure storage, it provides mutual interface, realized the persistence of legend data, can be various application scenarios vector quantization legend data source is provided.
The graphic plotting device reads geologic data information by the geologic data reading device, and is connected with described graphical interpreter, and the geologic data information according to input reads the vector quantization legend data that are complementary with geologic data information from the legend memory storage.By property parameters in the geologic data information and drawing area feature the vector quantization legend is plotted in the geological map, is used for geological analysis research.
Data converter 3 is used for the Data Format Transform between syntax analyzer and the graphical interpreter.In this sense, in fact data converter has shielded the difference of data between the two.
Legend database storing structure 11, the database storing structure of legend data such as top Fig. 6-Figure 11 describe, these list structures are classified according to GEOLOGICAL APPLICATION occasion and geologic legend classification, comprise that well is other, explain conclusion, lithology, oiliness, contain classifications such as thing, oil bloom bubble.
Legend memory storage 6 is used for persistence and preserves vector quantization legend data.
Three, vector legend object is implemented structure
The structure of vector quantization legend data is expressed according to OO mode, a legend has certain attribute, these attributes comprise that whether the width of height, width, background color, lines is with basic characteristics such as displaying ratio variations, legend also comprises the set of a pel, the set of this pel comprises one or more pels, pel is distinguished with key word, use between the pel "; " cut apart, each pel is represented a fundamental figure, and whether pel includes the fundamental characteristics of graphics shape, line style, live width, color are arranged, fill, attribute such as Fill Color, coordinate position.
As shown in Figure 2, its vector legend object for the vector quantization device of legend of the present invention is implemented structural representation, and it is on the basis of implementing structural representation one, comprising:
Legend object entity 12, it is that the entity object of a legend is represented, this object comprises the attribute that some are basic, as height, width, background color and the line thickness of the legend mark of convergent-divergent whether, also comprise certain method: display packing is carried out the drafting on terminal, storage means is to convert entity to database receptible data layout promptly according to the form that can expand the sign syntactic definition, and convergent-divergent and distortion are to draw the mathematic(al) manipulation that environment is done for adapting to.
Graphics primitive object set 13, it is made up of one or more pel entities, describes legend object entity by it, finally shows the true geological meaning of legend.
Graphics primitive object 14, it is the hypostazation of element figure, and each pel is represented the some basic pixel in the legend, and it is according to the standard strict difinition of XML (extensible Markup Language) grammer, and can be accurately identified.Following description content is the definition of the XML (extensible Markup Language) grammer of legend vector quantization of the present invention, the data definition form of element figure just, it is used to describe the attribute or the correlation properties of element figure, for XML (extensible Markup Language) data definition unit provides the pel format standard, the legend in all geological maps all will resolve to the set form of this pel definition.The definition of element figure is that the form with a series of character strings provides as follows, and each character string all has key word, and a kind of element figure or some legend general-purpose attributes represented in key word, is defined as follows:
(1), drawing border (form: basewidth: width value; Baseheight: height value; Basecolor: background color value; ), it has defined the size and the background color of legend, and wherein " basewidth ", " baseheight " and " basecolor " they are key words.
(2), live width zoom mark-up (form: linewidthzoomflag:1 or 0; ), 1 convergent-divergent wherein, 0 does not change, and whether it has defined the line thickness of the graphic element in the legend along with displaying ratio changes, and wherein " linewidthzoomflag " is key word.
(3), polygon (form: polygon: the n that counts, x1, y1 ..., xn, yn, line style, live width, the line look, whether Fill Color is transparent; ), wherein whether transparent value is that 1 or 0,1 expression is transparent, and 0 expression is transparent, and it has defined one n the end to end filled polygon of point, and wherein " polygon " is key word.
(4), right-angle triangle (form: rgtangle: horizontal ordinate x1, right angle electrical x2, right angle electrical y2, ordinate y3, line style, live width, the line look, Fill Color, whether transparent; ), it defined by (x2, y2), (x1, y2) and (wherein " rgtangle " is key word for x2, y3) 3 right-angle triangles that are linked to be.
(5), circular arc (form: arc: center of circle x0, center of circle y0, starting point x1, starting point y1, end point x2, end point y2, line style, live width, line look; ), it has defined one so that (x0 y0) is the center of circle, with (x1, y1) arrive (x0, distance y0) is a radius, with (x1, y1) with (x0, y0) the anticlockwise angle that forms with X-axis of line is as start angle, with (x2, y2) with (x0, y0) the anticlockwise angle that forms with X-axis of line is as angle at the end, formed one section circular arc, and wherein " arc " is key word.
(6), arc (form: bow: center of circle x0, center of circle y0, starting point x1, starting point y1, end point x2, end point y2, line style, live width, the line look, Fill Color, whether transparent; ), it has defined the arc of a similar circular arc order, and wherein " bow " is key word.
(7), fan-shaped (form: sector: center of circle x0, center of circle y0, starting point x1, starting point y1, end point x2, end point y2, line style, live width, the line look, Fill Color, whether transparent; ), it has defined the fan-shaped of a similar circular arc order, and wherein " sector " is key word.
(8), SPL (form: spline: the n that counts, the some x1, the some y2 ..., the some xn, the some yn, line style, live width, line look; ), it has defined a smooth quadratic spline curve, and this batten cancellation is by n top reference mark, and wherein " spline " is key word.
(9), circular (form: circle: center of circle x0, center of circle y0, radius r, line style, live width, the line look, Fill Color, whether transparent; ), it has defined one so that (x0 is the center of circle y0), is the filling circle of radius with r, and wherein " circle " is key word.
(10), the pentagram order (form: pentacle: upper left angle point x, upper left angle point y, upper right angle point x, upper right angle point y, the some x1, the some y1 .., the some x5, the some y5, start angle, line style, live width, the line look, Fill Color, whether transparent; ), it has defined each distance on one side of horizontal and vertical distance with upper left corner coordinate and lower right corner coordinate is radius, according to start angle is the filling pentagram of the direction drafting at first angle, (x1, y1)~(x5, y5) be the coordinate of 5 points of the pentagram that calculated, can directly draw out pentagram by line, wherein " pentacle " is key word.
(11), oval (form: ellipse: upper left corner x, upper left corner y, lower right corner x, lower right corner y, the anglec of rotation, line style, live width, the line look, Fill Color, whether transparent; ), it has defined a rectangular region that forms with upper left angle point and bottom right angle point is the ellipse on border, is the anglec of rotation that the center counterclockwise rotates to appointment with the center of circle with ellipse then, wherein " ellipse " is key word.
(12), isosceles triangle (form: eqangle: upper left angle point x, upper left angle point y, upper right angle point x, upper right angle point y, the some x1, the some y1, the some x2, the some y2, the some x3, the some y3, start angle, line style, live width, the line look, Fill Color, whether transparent; ), it has defined each distance on one side of horizontal and vertical distance with upper left corner coordinate and lower right corner coordinate is radius, according to start angle is the isosceles triangle of the direction drafting at first angle, (x1, y1)~(x3, y3) be the coordinate that has calculated 3 summits, can directly draw that wherein " eqangle " is key word by line.
(13), hexagon (form: hexagon: upper left angle point x, upper left angle point y, upper right angle point x, upper right angle point y, the some x1, the some y1 ..., the some x6, the some y6, start angle, line style, live width, the line look, Fill Color, whether transparent; ), it has defined each distance on one side of horizontal and vertical distance with upper left corner coordinate and lower right corner coordinate is radius, according to start angle is the hexagonal area of the direction drafting at first angle, (x1, y1)~(x6, y6) be the coordinate on 6 summits having calculated, can directly draw that wherein " hexagon " is key word by line.
(14), point (form: point: some x0, some y0, Fill Color; ), it defined one with (x0 y0) is the center of circle, the point of radii fixus, wherein " point " is key word.
(15), broken line (form: polyline: the n that counts, the some x1, the some y1 ..., the some xn, the some yn, line style, live width, line look; ), broken line that is formed by connecting by n point of its definition, wherein " polyline " is key word.
(16), rectangle (rect: upper left corner x, upper left corner y, lower right corner x, lower right corner y, the anglec of rotation, line style, live width, the line look, Fill Color, whether transparent; ), it has defined one is that diagonal line is drawn rectangle with 2 lines in the upper left corner and the lower right corner, serves as the anglec of rotation that axle counterclockwise rotates to appointment with this rectangle with two diagonal line intersection points then, wherein " rect " is key word.
(17), round rectangle (form: rrect: upper left corner x, upper left corner y, lower right corner x, lower right corner y, the anglec of rotation, x bearing circle angular radius people r0, y bearing circle angular radius r1, line style, live width, the line look, Fill Color, whether transparent; ), it has defined one is diagonal line with 2 lines in the upper left corner and the lower right corner, with r0 and r1 is the round rectangle that the radius of fillet X, Y direction is drawn, and serves as the anglec of rotation that axle counterclockwise rotates to appointment with this rectangle with two diagonal line intersection points then, and wherein " rrect " is key word.
(18), text (form: text: upper left corner x, upper left corner y, lower right corner x, lower right corner y, whether character string has frame, border color, the anglec of rotation, line style, live width, font color, Fill Color, whether transparent, the anglec of rotation, font size, font; ), it has defined one is being with specific font rendering text piece placed in the middle in cornerwise rectangular area with 2 lines in the upper left corner and the lower right corner, and then serve as the anglec of rotation that axle counterclockwise rotates to appointment with two diagonal line intersection points of rectangle, wherein " font size " specified the size of font, with the pound is unit, comprised other attribute of the font except that size in " font ", wherein " text " is key word.
Four, vector quantization geologic legend creation method implementing procedure
As shown in Figure 3, it is for the implementing procedure figure of vector quantization geologic legend creation method of the present invention, it is the process that non-vector quantization geologic legend is defined as the vector quantization geologic legend, purpose is that the actual legend in the geological map is processed into the discernible vector quantization legend of system, create vector quantization legend storehouse, comprise the following steps:
Step S101, user are with reference to original geologic legend, features such as the lines of analysis geologic legend, zone, be split into the pixel of oversimplifying one by one, the various graphic plotting instrument performance pixels that use the graphical interaction system to provide, and then draw out legend, the figure of all draftings all is a graphical interpreter energy vectorized process;
Step S102, by graphical interpreter the legend entity of drawing in the graphical interaction system is resolved to the set of single graphics primitive object;
Step S103, the graphics primitive object data are carried out format conversion, translate into the data of character string forms, submit to syntax analyzer by data converter;
Step S104, by the semantic rules of syntax analyzer according to XML (extensible Markup Language) data definition unit, whether verification is legal legend data, if legal and just can be identified it is formed final vector quantization legend data, forward step S106 to, if the illegal step S105 that forwards to;
Step S105, for illegal legend data, output error message;
Step S106, by the legend manager according to Back ground Informations such as the classification of legend and titles, the vector quantization legend data after the translation are saved in the legend memory storage, realize the legend persistence, create vector quantization legend storehouse;
Step S107, process ends.
Five, vector quantization geologic legend application process implementing procedure
As shown in Figure 4, it is the implementing procedure figure of vector quantization geologic legend application process of the present invention, and it is the drawing process of vector quantization legend data to the vector quantization figure, comprising:
Step S201, use geologic data reading device read geologic data information;
Whether the geologic data information that step S202, basis read is used pick-up unit to detect geologic legend and is existed in vector quantization legend storehouse, forwards step S203 to if exist, and if there is no forwards step S208 to;
Step S203, use legend manager extract vector quantization legend data according to the type and the title of legend from the legend memory storage;
Step S204, analyze each key word in the legend data,, be split into single primitive data if discernible by syntax analyzer;
Step S205, pel is carried out format conversion, translate into the data layout that the graphic plotting function can use, transformation result is submitted to graphical interpreter by data converter;
Step S206, use graphical interpreter are created graphics primitive object according to primitive data, form vector quantization legend object;
The application mode of appointment and the regional environment of demonstration are carried out suitable convergent-divergent or distortion to each graphics primitive object in the legend entity in step S207, the geologic data information that reads according to step S201, use the graphic plotting device to draw out the vector quantization legend figure that meets user demand.
Step S208, geologic legend do not have vector quantization, forward vector nursing constructive process to;
Step S209, process ends.
Six, the vector quantization legend can be expanded the semantic implementing procedure of resolving
As shown in Figure 5, it can expand semantic process of analysis figure for vector quantization legend of the present invention, and it has been described with the expanded semantic analysis process of vector quantization legend data to vector quantization legend figure, comprising:
Be the vector quantization legend data of the character string forms of a reality below, immediately following one ": ", cut apart with ", " between the attribute after the key word of each fundamental figure pel, at last with "; " represent the end of this graph primitive definition.
Step S301, according to the type and the title of current legend of drawing, generate SQL statement and also in the legend memory storage, search the legend data;
Step S302, set up a vector quantization legend object entity according to the type and the title of legend, this legend object entity includes the set of depositing graphics primitive object, and the element figure object entity that parses later joined in the set of described graphics primitive object, use as a complete legend entity;
Step S303, use character string method for splitting split out pairing fundamental figure pel according to the key word in the syntactic definition;
Step S304, judge that the key word split out is whether wrong and maybe can be identified;
Maybe can not be identified if step S305 key word is wrong, with regard to output error message;
Step S306, judge whether key word is fundamental figure pel such as circle (circle), spline (SPL) etc.;
If step S307 key word is linewidthzoomflag (live width ratio change flag), basewidth (legend original width), baseheight (legend original height) and basecolor (legend background color), just its value is composed the corresponding primary attribute of giving the legend object;
Step S308 joins this graphics primitive object entity in the legend object at last if the fundamental figure pel carries out assignment just according to the corresponding graphics primitive object of key word establishment, and according to the graph primitive property value of definition to the graphics primitive object entity attribute;
Step S309, judge whether to also have the key word that does not split, if also have key word just to forward step S303 to; Otherwise just forward step S310 to;
Step S310, the occasion of using according to legend and the environment of current demonstration carry out convergent-divergent or subsection deformation according to the type of pel, thereby reach demands of applications;
Step S311, the data of pel are carried out suitable conversion, offer API and draw function and draw;
But step S312, obtain final vector quantization figure.
Use technique scheme, the present invention has following beneficial effect: the legend of the JPG static format by can not vector quantization resolves to the element figure form of XML (extensible Markup Language) grammer, and above-mentioned element figure can carry out the ratio variation or carry out deformation operation, this convergent-divergent and distortion application demand problem with regard to fundamentally having solved legend, realized the vector quantization of geologic legend, the easier geological map that obtains complete vector quantization, convenient and exactly tectonic structure is analyzed when the researchist is used; The legend data of character string forms are kept in the legend memory storage, solved the persistence problem of vector quantization legend, realized once creating reusing, can further set up perfect vector quantization legend storehouse, also can be other application scenario reliable legend Data Source is provided; Undistorted convergent-divergent and change of shape that the legend that realizes by this method can be accomplished arbitrary proportion; When forming shape library, adopt industry standard to carry out legend and build the storehouse, can realize that the standard of legend is unified; Because legend has adopted extendible element figure form, has realized the extensibility of legend, also can well express for some complicated especially legends.Can improve the precision of geological research for the oil geology researchist provides geological map accurately and reliably.
As above-mentioned, clear legend vectorization method and the device that has described the geological map of the present invention's proposition in detail, and the technique effect of application technical solution of the present invention.But this area those skilled in the art are appreciated that under the situation of the spirit and scope of the present invention that do not deviate from the claims definition, can make multiple modification in form and details.

Claims (3)

1. legend vectorization method based on the geological map of lithologic character stratum data, it may further comprise the steps:
Use the routine techniques means, utilize prospecting instrument equipment to gather the lithologic character stratum data on stratum;
The lithologic character stratum data that collect are handled, obtained and be directed to needed geologic data in the oilfield prospecting developing;
At the geologic data that produces in the oilfield prospecting developing, under area of computer aided, obtain the geological map of lithologic character stratum data, in this process, utilize the technical finesse means of the method for drafting, demonstration and the storage mode that comprise legend, realize the vector quantization of legend; According to the result of the vector quantization of desiring to make money or profit, discern actual conditions with the inverting stratum;
It is characterized in that:
Vector quantization legend application process is, original geologic data information according to input, whether the geologic legend that detects in the original geologic data information defines in vector legend storehouse, if geologic legend defines in vector legend storehouse, type and name information according to geologic legend are extracted the legend data in vector legend storehouse, legend data character string is resolved to one or more element figures in geological map, draw, form the vector geological map of ultimate demand, be used for the geologic data analysis and research;
Vector quantization geologic legend define method is, uses various pixels in the element figure data representation legend of self-defined syntactic definition, makes up legend of complete representation with one or more pels;
Vector quantization geologic legend creation method is, the instrument that uses the graphical interaction device to provide, legend is drawn, and the graphical analysis that the user is drawn in the graphical interaction system becomes the string assemble of element figure form to deposit in the legend field in the database table, sets up vector quantization legend storehouse;
Wherein, described definition according to the XML (extensible Markup Language) grammer for the conversion regime of the positive and negative both direction of legend data and element figure object is: event driven mode; Describedly according to the XML (extensible Markup Language) grammer legend is carried out analysis mode and be: resolve to the form of expression of element figure data with whole legend, it is consistent to draw the complete vector quantization of realization in medium in storage and the geological map.
2. the legend vectorization method of geological map according to claim 1 is characterized in that:
The structure of vector quantization legend data is expressed according to OO mode, a legend has certain attribute, these attributes comprise whether the width of height, width, background color, lines changes basic characteristic with displaying ratio, legend also comprises the set of a pel, the set of this pel comprises one or more pels, pel is distinguished with key word, use between the pel "; " cut apart, each pel is represented a fundamental figure, and whether pel includes the fundamental characteristics of graphics shape, line style, live width, color are arranged, fill, Fill Color, coordinate position attribute.
3. legend vector quantization device based on the geological map of lithologic character stratum data, it comprises:
The geologic data reading device is used to read original geologic data information;
Pick-up unit judges whether the geologic legend in the original geologic data information exists in the legend memory storage;
The graphical interaction device is used to provide the user to draw the employed vector figure data collector of various legends;
Syntax analyzer on the one hand, is used for becoming single primitive data to export to graphical interpreter the legend data parsing from the legend management; On the other hand, to legitimacy and identifiability,, otherwise just the legend data are exported to the legend manager if illegally maybe can not discern with regard to output error message from the data verification data of graphical interpreter;
XML (extensible Markup Language) data definition unit is connected with described syntax analyzer, is used for the formal definition graphics primitive object identification data with the XML (extensible Markup Language) grammer, for legend vector quantization device provides correctly recognition data format standard;
Data converter is used for the Data Format Transform between syntax analyzer and the graphical interpreter;
Graphical interpreter is finished positive and negative two kinds of functions, promptly is used for pel character string forward conversion is become the vector legend, vector legend reverse transformation is become the pel character string;
The graphic plotting device reads geologic data information by the geologic data reading device, is connected with described graphical interpreter, and the geologic data information according to input reads the vector quantization legend that is complementary with geologic data information from the legend memory storage; By property parameters in the geologic data information and drawing area feature the vector quantization legend is plotted in the geological map, is used for geological analysis research;
The legend manager is used for preserving and extract the legend of using in the various geological maps at the legend memory storage;
Legend database storing structure is connected with described legend manager, is used for the storage mode of the different classes of legend of geological map is carried out the structuring definition, is convenient to management, maintenance and the retrieval of legend;
The legend memory storage is used for persistence and preserves vector quantization legend data;
Wherein, use the vector legend that is complementary with geological information to draw the various geological maps that form, be used for discerning formation lithology, the hydrocarbon zone geological property of oil field prospecting exploitation research and production according to original geologic data information.
CN2010101070465A 2010-02-09 2010-02-09 Legend vectorization method and device of geological map Active CN101813789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101070465A CN101813789B (en) 2010-02-09 2010-02-09 Legend vectorization method and device of geological map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101070465A CN101813789B (en) 2010-02-09 2010-02-09 Legend vectorization method and device of geological map

Publications (2)

Publication Number Publication Date
CN101813789A CN101813789A (en) 2010-08-25
CN101813789B true CN101813789B (en) 2011-12-14

Family

ID=42621091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101070465A Active CN101813789B (en) 2010-02-09 2010-02-09 Legend vectorization method and device of geological map

Country Status (1)

Country Link
CN (1) CN101813789B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102759755B (en) 2011-04-29 2016-08-03 黄桂芝 Rotation TIN net and non-profile method is used directly to make flat, the geologic prospect method of elevation
CN102360404B (en) * 2011-11-01 2013-04-10 中国水电顾问集团华东勘测设计研究院 Method for compiling geological display map of chamber
CN103065343B (en) * 2013-01-06 2015-09-23 中国科学院水利部成都山地灾害与环境研究所 A kind of vector map standard conversion method based on Spatial Data Model
CN103455336A (en) * 2013-09-12 2013-12-18 北京网秦天下科技有限公司 Equipment and method for generating/ analyzing installation document
CN103971210A (en) * 2014-05-27 2014-08-06 重庆大学 Information decision quick response system based on precision vector graph and design method thereof
CN106294525A (en) * 2015-06-25 2017-01-04 中国石油化工股份有限公司 A kind of well logging columnar section information extracting method and system
CN105760536A (en) * 2016-03-14 2016-07-13 中国地质调查局发展研究中心 Geological map database establishing device and geological map database establishing device method based on geological database
CN111177448B (en) * 2019-12-30 2023-05-12 湖南特能博世科技有限公司 Discrete graph combination method and device and electronic equipment
CN111402361A (en) * 2020-03-13 2020-07-10 广州轨道交通建设监理有限公司 Geological data processing method, system, device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1229706A1 (en) * 1984-03-13 1986-05-07 Свердловский Ордена Трудового Красного Знамени Горный Институт Им.В.В.Вахрушева Method of rock mapping

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1229706A1 (en) * 1984-03-13 1986-05-07 Свердловский Ордена Трудового Красного Знамени Горный Институт Им.В.В.Вахрушева Method of rock mapping

Also Published As

Publication number Publication date
CN101813789A (en) 2010-08-25

Similar Documents

Publication Publication Date Title
CN101813789B (en) Legend vectorization method and device of geological map
Blenkinsop Visualizing structural geology: from Excel to Google Earth
CN103345540B (en) Method for stimulating and displaying geological drilling information on digital earth software platform
US20130100127A1 (en) Method for geographically displaying oil and gas related information
US11269110B2 (en) Computing system assessment of geological similarity of wells employing well-log data
King et al. Reservoir modeling: From rescue to resqml
CN106461805A (en) Method of creating and interpreting animated mosaics of multiple seismic surveys
CN201637861U (en) Lithostratigraphic data based legend vectorizing device of geological map
Lawley et al. Applications of natural language processing to geoscience text data and prospectivity modeling
Zuo et al. Google Earth-aided visualization and interpretation of geochemical survey data
Carrell Tools and techniques for 3D geologic mapping in Arc Scene: Boreholes, cross sections, and block diagrams
CN111966732B (en) Full-intelligent geological mapping method, device, equipment and readable storage medium
Lageson et al. Applications of Google Earth Pro to fracture and fault studies of Laramide anticlines in the Rocky Mountain foreland
Durand et al. Intra-site level cultural heritage documentation: Combination of survey, modeling and imagery data in a web information system
Westra Python geospatial development
US11280922B2 (en) Structural volume segmentation
Basili et al. DISS3 tutorial series: Guidelines for compiling records of the Database of Individual Seismogenic Sources, version 3
US9354340B2 (en) Strike and dip tooltip for seismic sections
US20230306679A1 (en) Length scale dimension in spatial coordinate systems
Noardo Spatial ontologies for architectural heritage.
Setijadji et al. Towards the digital data model for geothermal databases: Technology trends, fundamental concepts, Case study of Java Island, and preliminary data model
El Hammichi et al. Spatial Database Modeling for Speleological Inventory of the Moroccan Atlas Mountains
Egorov et al. Introduction to special section: Geographic information systems in geoscience data interpretation and analytics
Hartwell et al. Sediment Thickness—Point Sur to Point Arguello, California
Albert et al. Visualisation of Geological Observations on Web 2.0 Based Maps

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Xu Shengli

Inventor after: Shi Jin

Inventor after: Liu Qicheng

Inventor after: Jiang Ming

Inventor after: Tang Liren

Inventor after: Wu Yi

Inventor after: Zhao Lijuan

Inventor after: Zhang Chaohuan

Inventor after: Jin Xiangxiang

Inventor after: Zhao Fanxi

Inventor after: Chi Songte

Inventor before: Xu Shengli

Inventor before: Jiang Ming

Inventor before: Tang Liren

Inventor before: Wu Yi

Inventor before: Zhao Lijuan

Inventor before: Zhang Chaohuan

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: XU SHENGLI JIANG MING TANG LIREN WU YI ZHAO LIJUAN ZHANG CHAOHUAN TO: XU SHENGLI JIANG MING TANG LIREN WU YI ZHAO LIJUAN ZHANG CHAOHUAN JIN XIANGXIANG ZHAO FANXI CHI SONGTE SHI JIN LIU QICHENG

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: CHINA PETROLEUM +. NATURAL GAS CO., LTD.

Free format text: FORMER OWNER: XU SHENGLI

Effective date: 20120427

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 124010 PANJIN, LIAONING PROVINCE TO: 100007 DONGCHENG, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20120427

Address after: 100007 Beijing, Dongzhimen, North Street, No. 9, No.

Patentee after: China Petroleum & Natural Gas Co., Ltd.

Address before: 124010 No. 95, oil street, Xinglongtai District, Liaoning, Panjin

Patentee before: Xu Shengli