Beruflich Dokumente
Kultur Dokumente
Database Tutorial
For Minex 6.0
April 2010
www.gemcomsoftware.com
Table of Contents
About This Document ......................................................................................................... 4
Introduction to Borehole database .................................................................................... 8
File Requirements ............................................................................................................. 10
Preparing the Collar Data File .......................................................................................... 11
Setting up a new borehole database ............................................................................... 12
Task: Set up a new borehole database ......................................................................................... 12
Summary ........................................................................................................................... 45
References ........................................................................................................................ 46
Requirements
Requirements
Before proceeding with this tutorial, you should ensure you have the following items:
1. Gemcom Minex 6.0 or higher version, and the tutorial data provided on the installation disc,
installed on your computer. This is installed from a CD.
2. A Minex license token and sentinel/dongle correctly installed.
3. Place the sentinel or dongle in an appropriate USB port.
Scheduling Tutorial
Page 4 of 46
Document Conventions
Document Conventions
Typographical Conventions
Some text in this manual has been specifically formatted to assist you identify it as a particular element of
information. The following list describes the different formats and their meanings:
Text Format
Meaning
<Bold Italic>
Text or data that varies with each input is shown in italic font and enclosed in angle brackets.
Some examples are installation directories, dates, names and passwords. When you substitute
the text for the variable, do not include the brackets. For example: <password> requires you
to substitute a password in place of <password>.
Italics
A words or phrase to which the author wants to give emphasis. For example, the new text is in
memory; the old text is deleted.
Bold
UPPER CASE
When a keystroke is described, the key is shown in this font. For more information on
keystroke conventions, see below.
Keyboard Conventions
Key Combination
Meaning
<KEYy>+<KEY>
Press and hold down the first key, then press the second key. For example: CTRL+O
means hold the CTRL key down, then press O.
Menu Conventions
When you click, or move the pointer over, some menu commands, a subordinate menu appears. To
indicate that you should select a command on a subordinate menu, this documentation uses a greater
than (>) sign to separate the main menu command from the subordinate menu command. For example,
File > Project > Project Manager means choose the File menu, move the mouse pointer over the
Project command, and then select Project Manager on the secondary menu.
Mouse Conventions
The mouse is the pointing device you use to select objects and choose menu items, and to click the
buttons that you see on your display monitor. Use the left mouse button if a particular mouse button is not
specified. When a different mouse button is to be used, this will be specified in the text. You can rotate or
press the wheel button on the mouse. In this manual, the following terms are used to describe actions
with the mouse.
Scheduling Tutorial
Page 5 of 46
Action
Description
Click
Press and release the left mouse button without moving the mouse.
Right-click
Press and release the right mouse button without moving the mouse.
Double-click
Without moving the mouse, click the left button twice rapidly.
With the pointer over the object, press and hold down the left mouse button to select
the object. Move the mouse until the pointer is in the position you want and then
release the mouse button.
Drag
Press and hold down the left mouse button. Then move the mouse in the direction that
the text specifies.
Right-drag
Press and hold down the right mouse button. Then move the mouse in the direction
that the text specifies.
Rotate
Use your finger to make the wheel button roll. Move it forward, that is in a clockwise
direction, or backward, that is in a counter clockwise direction.
Description
Check box
Button
Drop-down
arrow
Drop-down
list
Group box
Scheduling Tutorial
Example
Page 6 of 46
Icon
Label
Table
Menu
Option
button
Spin box
Tab
Text box
Title
Tree
Scheduling Tutorial
Page 7 of 46
Requirements
This tutorial assumes that you have a basic knowledge of Minex.
You will also need to have:
Local Origin
1.
2.
Choose Tools > Options > Application Settings > General > Local Origin
Enter the coordinates X: 257,000 and Y: 6,170,000, and click Close.
creating_a_new_borehole_database.doc
Page 8 of 46
Workflow
Legend:
Set Local
Directory
= Decision
= Process
Prepare Collar
Data File
Set up a New
Borehole
Database
Validate Collar
Data
Load Survey
Data
Display
Boreholes in 3D
Plot Boreholes
creating_a_new_borehole_database.doc
Page 9 of 46
File Requirements
File Requirements
The following files are required for this tutorial:
ASHES_COLLARS.csv comma delimited file containing borehole collar data.
ASHES_BORE_HEADER_TEMPLATE.DAT template for borehole header data.
ASHES_BORE_HEADER_DATA.DAT formatted borehole header data file.
ASHES_SURVEY.csv downhole survey data.
THEDON.GM3 geometry file containing a plan mount.
Description
Format
Binary
Binary
Binary
.B34
Binary
Borehole collar data is the first essential component of the borehole database and no other data can
be loaded until collar data has been loaded. The collar data provides the borehole identity, easting,
northing, collar elevation, the end depth of the hole, the azimuth and dip of the hole, and borehole
type. Once imported into Minex this information forms the basis of the .B31 file which is the index to
the rest of the borehole database.
All other data that is subsequently loaded into a borehole database such as lithology and geophysical
data is information relative to the collar data. Without knowing the position of a borehole and its
attitude, information such as rock type and coal quality cannot be validated, displayed, modeled or
interpreted.
creating_a_new_borehole_database.doc
Page 10 of 46
AZIMUTH
The azimuth of the borehole at the collar. This value is in degrees and decimal degrees
(not minutes and seconds).
DIP
The dip at the collar of the borehole. Negative values are given to downholes, where dip
angles are depressed from the horizontal plane, e.g. -90 degrees is vertically down.
TYPE
A one to four character code (e.g. DDH) used to represent the type of boreholes e.g.
diamond, percussion, reverse circulation, etc, or any other information you need to
store/sort by when selecting Boreholes.
Collar data can be imported from various sources, and in various formats from text delimited fixed
width text files, CSV (comma delimited text), Microsoft Access database (mdb file), ODBC compliant
data sources such (e.g. SQL Server, Oracle) to drillhole data management systems such as acQuire.
For the purposes of this tutorial, importing data from a comma delimited text file will be covered.
Comma delimited text files are commonly used in the industry for this type of data, and are easily
created from products such as Microsoft Excel. However, care should be taken with borehole names
which have a leading zero eg. 00256, as MS Excel may delete the leading zeros when the file is
saved. For this reason it is normal to begin borehole names with alpha characters eg. BH00256.
creating_a_new_borehole_database.doc
Page 11 of 46
4. Click Next.
5. Browse to the target location.
Note: As you would like to save your new Borehole Database (by default your project directory) and highlight it.
6. Name your new borehole database ASHES. The software automatically assigns the extension
.B31.
creating_a_new_borehole_database.doc
Page 12 of 46
7. Click Next.
The Import attributes option can be selected if you want to import attributes from an existing
borehole database (its Properties, Data Types and Variables). For this tutorial you will be creating a
completely new borehole database with new attributes, so leave this option clear.
8. Click Finish.
You have now created a new borehole database.
9. Choose BoreholeDB > Files > Open Borehole DB (B31)
10. Browse the folders and select the file Ashes.B31.
The new borehole database should now appear in the Minex Explorer Window with a black tick next
to it as per the screen shot below.
creating_a_new_borehole_database.doc
Page 13 of 46
12. In the Properties window, change the Read Only setting to False.
Collars and Sample data can be loaded if the Data Types and variable already exist in the database.
Editing Borehole Database properties (eg. Percentage of seam to be sampled and seam sampling
tolerance) and Adding/Editing Borehole Database Data Types, variables and seam names is not
available without setting the Borehole database to Read Only FALSE.
creating_a_new_borehole_database.doc
Page 14 of 46
2.
Note: This option is also available using the Right Hand Mouse after highlighting the Borehole Database file name.
Minex now needs to be told which fields in the selected data file relate to the required/default fields in
the Minex borehole database. For example, column 1 in the data file may be the hole ID so Minex
needs to know that column 1 relates to the collars BOREID variable. This process is called import
mapping, and is a concept used throughout the Collar and Sample data import for all of the supported
import data formats.
Minex uses a Format File to describe this information, which can then be recycled to be used for
importing other data files that have the same format. The format file has a file suffix of *.sff and
usually has a file prefix the same as the input data file it loads.
3.
creating_a_new_borehole_database.doc
Page 15 of 46
4.
You are presented with a the Load Collar Data dialog that will be used to define the format details of
the file to be imported, and create the *.sff to load the file. This dialog is used for all text formats, with
all kinds of delimiters.
In this case, Minex can determine that the file is a comma delimited file, so sets the options in the
Format Specification section appropriately.
It also creates a preview table of how the data will look if that formatting is applied. The raw data is
present also in a preview window so that you can check if the raw data items match the formatted
preview below it.
creating_a_new_borehole_database.doc
Page 16 of 46
Now that the format of the file has been determined, it is now necessary to tell Minex how the data
columns in the raw file, map to the collar variables in Minex.
4.
Click the Variable setup tab to view the variable mapping process.
If the original data file has column headings, Minex tries to match them to Minex variables
automatically. This is the case with the Collars.csv file. However, if for some reason there are no
column headings or your column headings dont match the Minex variable names, click in the Minex
Variable column in the Variable Setup table.
This will show you a list of all the default Minex Collar variables you can map this column to. If there
is a column that is not required, then clear the checkbox in the Include column for that variable.
5.
Click Ok.
Minex will prompt you to save the format information as a file. Note that this file can be reused for
future imports of the same raw data file, or others that are formatted in exactly the same way.
Minex will automatically give you a default filename which is made up of the filename prefix of the
input data file, plus an extension of .sff.
At this point, we have only selected our input data Collar file, and specified how that data maps to the
Minex collar variables.
You are returned to the Load Collar Data dialog. You will see that the file just created is now entered
into the Format file input field.
creating_a_new_borehole_database.doc
Page 17 of 46
6.
Click Ok.
A report of the process will be displayed in the output window recording all the boreholes that have
been added/updated.
If there are duplicate holes the report will output updated rather than added.
If you loaded the collar data again for instance the Collar Load Report will output
updated for all boreholes.
creating_a_new_borehole_database.doc
Page 18 of 46
creating_a_new_borehole_database.doc
Page 19 of 46
The output window will display a Borehole Collar Report as shown below.
Check that all information from the Collars.csv file is included in the report. If not, or if there are some
errors, you will have to go back and check the input data, and that the formatting options specified in
the Create Format Specification dialog were correct.
Typical errors might be that columns have not been mapped correctly, or that data items in the raw file
are misaligned.
creating_a_new_borehole_database.doc
Page 20 of 46
TOSURVEY
AZIMUTH
DIP
BNBYC99
-90
BNBYC99
15.09
0.75
-89
BNBYC99
25.23
2.63
-88
BNBYC99
38.19
5.82
-85.6
BNBYC99
51
7.35
-82.7
BNBYC99
62.78
6.96
-81.7
BNBYC99
73.2
5.45
-78.3
Above is a table showing the survey data as presented by Excel. This example only provides survey
data for a single hole, BNBYC99.
Survey data is a Minex Sample data type, and as such is loaded via the Load the Sample Data. To
view this data:-
creating_a_new_borehole_database.doc
Page 21 of 46
2.
As with loading collar data, you need to tell Minex how to handle the input data. For sample data
types we need to do 3 things:
This process is carried out by creating a Format File that encapsulates the above items.
2.
The ASHES_SURVEY.csv file has been populated in the dialog, and Minex attempts to determine
what kind of file has been loaded.
creating_a_new_borehole_database.doc
Page 22 of 46
In this case it has determined that the file is a CSV with the column headings in the first row. The
table at the bottom of the dialog previews how Minex thinks it should format the raw data shown in the
preview above the table. The next item to determine is the data type.
3.
.
Once the data type is selected, the individual columns of the data in the input file need to be mapped
to the Minex variables for the selected data type.
creating_a_new_borehole_database.doc
Page 23 of 46
4.
You will see the variable mapping table appear. Each row in the table represents one of the columns
of input data. The concept is to tell Minex which column should map to which Minex variable.
This file happens to have column headings that match the Minex variable names. However, if this is
not the case you can select the Minex variable you wish to map to a particular column by selecting a
cell in the Minex Variable column of the variable panel. This presents a list of all available variables
for the data type (Survey). Once the mapping is complete,
5.
6.
Click Ok to exit.
Choose Save.
This is useful so that the format can be reused for input files with exactly the same type of formatting,
and also it can be edited later. Once saved, you are returned to the Load Sample Data dialog.
This dialog now has the format definition file populated. There are various load options in this dialog
to control how data is actually loaded into the borehole database. The default setting are adequate
for this tutorial, however the options available mean you can validate a load (try before committing to
the database to catch errors), force an Add/Overwrite of existing data if present, exclude any holes
where there are problems etc.
creating_a_new_borehole_database.doc
Page 24 of 46
8.
Click Ok to proceed.
This particular file only contains a single hole, and the report to output window details how many
records were loaded into the hole.
To see the effect of the survey data we will do a Sample Data Report on SURVEY data, do a 3D plot
to see the deviated hole trace.
Next, we will select the deviated hole this will make it easier to see the information we need, as
survey data is only present for hole BNBYC99.
The Select Boreholes dialog is redisplayed. The image below shows the borehole BNBYC99
borehole is selected
Now that the single hole of interest is selected, we will check to see what the data looks like. To do
this we are going to do a Sample Data Report.
4. Click Ok.
creating_a_new_borehole_database.doc
Page 25 of 46
creating_a_new_borehole_database.doc
Page 26 of 46
2.
Select SURVEY and click the Select Variable button to begin choosing variables.
creating_a_new_borehole_database.doc
Page 27 of 46
The Report Sample Data dialog is redisplayed with the selected variables populated.
creating_a_new_borehole_database.doc
Page 28 of 46
To see the data in the 3D window use the following sequence to activate the Borehole Display dialog
creating_a_new_borehole_database.doc
Page 29 of 46
icon and drag the mouse around in the viewing area to see how the hole is
Now you need to reset the borehole selection we made earlier so that you are free to view all
boreholes.
creating_a_new_borehole_database.doc
Page 30 of 46
creating_a_new_borehole_database.doc
Page 31 of 46
TEMPLATE file
Header data file
BOREHOLE NUMBER
<BID>
EASTING
<EASTING>
|
|
|
NORTHING
<NORTHING>
Accuracy
: <A>
|
|
SURFACE ELEVATION :
<SURFELEV>
Datum
TOTAL DEPTH
<TDEPTH>
|
GEOPHYSICAL LOGS
<GEOYN>
|
|
COMPANY
<GEOCO>
|
|
|
DATE COMMENCED
<START>
|
|
|
|
: <DA>
|
|
|
|
|
|
|
DATE COMPLETED
<FINISH>
COMMENTS : <COMM>
+----------------------------------------------------------------------------+
The actual layout of the file also determines the way the header data will be displayed in the English
language log report.
creating_a_new_borehole_database.doc
Page 32 of 46
;BID
;EASTING
10
;NORTHING
21
10
;SURFELEV
32
;TDEPTH
40
;GEOYN
46
10
;START
56
;FINISH
64
;GT
71
;A
82
;DA
88
;GEOCO
96
19
111
40
;COMM
;;
11
10
12
;;3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789
BNBY001 263058.27 6181599.3
WATER TABLE AT 5.47M
682.34
173.09
150297
160297 AMG
0.001 AGD
FAST DRILL
BNBY002
263195.04
6182059.9
672.90
219.66
170297
170297 AMG
0.001 AGD
FAST DRILL
BNBY003
262611.21
6181837.2
694.70
198.36
170297
170297 AMG
0.001 AGD
FAST DRILL
BNBY004
262678.80
6182342.6
682.95
247.15
170297
190297 AMG
0.001 AGD
FAST DRILL
BNBY005
262005.52
6182383.2
684.50
221.80
200297
220297 AMG
0.001 AGD
FAST DRILL
creating_a_new_borehole_database.doc
Page 33 of 46
2.
3.
4.
Select both the Template and Header data files ASHES_BORE_HEADER_DATA.DAT and
ASHES_BORE_HEADER_TEMPLATE.DAT
Click Ok to load.
Click OK to proceed.
The template and header data will be loaded into the database and a report of the process will be
sent to the output window.
5.
Click Save.
2.
Click the
3.
If lithology data had been loaded at this stage, the lithology codes would have been translated into
text and reported as well as the Header data.
creating_a_new_borehole_database.doc
Page 34 of 46
Displaying Boreholes in 3D
Displaying Boreholes in 3D
To check the borehole data visually display the borehole traces in the 3D window:
Make sure the 3D drafting window is open.
creating_a_new_borehole_database.doc
Page 35 of 46
Displaying Boreholes in 3D
Experiment with the Collar Symbols (eg. 2DSYMB10) and then rotate the view to see the trace of
each hole in 3D.
creating_a_new_borehole_database.doc
Page 36 of 46
Displaying Boreholes in 3D
Continue to dip and rotate the collars to make sure there are no obvious problems in the data. Things
to look out for in this display include extra long holes and holes in the wrong location/direction
(indicating a typo error in the X Y or Z coordinates and Final Depth, Dips and Azimuth).
creating_a_new_borehole_database.doc
Page 37 of 46
Task: Display the collar data on the plan mount in the 2D window
creating_a_new_borehole_database.doc
Page 38 of 46
Task: Display the collar data on the plan mount in the 2D window
creating_a_new_borehole_database.doc
Page 39 of 46
3.
Task: Display the collar data on the plan mount in the 2D window
Select the Single Seam option and press the Select Variables button.
creating_a_new_borehole_database.doc
Page 40 of 46
Task: Display the collar data on the plan mount in the 2D window
7. Under the Plotting Params tab enter the information as shown and click Ok.
creating_a_new_borehole_database.doc
Page 41 of 46
creating_a_new_borehole_database.doc
Page 42 of 46
creating_a_new_borehole_database.doc
Page 43 of 46
creating_a_new_borehole_database.doc
Page 44 of 46
Summary
Summary
You should now be familiar with the concepts of the setting up a borehole database and formatting,
loading, validating and displaying basic borehole collar, trace and header data.
Please review this chapter or consult the online reference manual if unclear about the definitions used
so far.
Where to Next?
To reinforce the concepts learned so far, substitute some raw data of your own and step through the
exercise below. You are now equipped to move on to the next tutorials.
creating_a_new_borehole_database.doc
Page 45 of 46
References
References
For further information on this topic and related articles, log onto Gemcoms Knowledge Base at
www.gemcomsupport.com
creating_a_new_borehole_database.doc
Page 46 of 46