GEMS62 Foundation PDF
GEMS62 Foundation PDF
GEMS62 Foundation PDF
Version 6.2
January 2009
Introduction............................................................................................................................... 14
Data Objects ........................................................................................................................................... 14
Data Display Operations......................................................................................................................... 15
Viewing Data in GEMS ........................................................................................................................... 15
3D Projections...................................................................................................................................... 17
2D View Planes ................................................................................................................................... 18
Spatial Filtering in 3D........................................................................................................................... 19
Page 3 of 257
Table of Contents
Page 4 of 257
Table of Contents
Page 5 of 257
Table of Contents
Page 6 of 257
Table of Contents
Page 7 of 257
Table of Contents
Page 8 of 257
Table of Contents
Page 9 of 257
Course Overview
The Gemcom GEMS Foundation course is a comprehensive three-day course designed for new users. It
covers basic database management concepts; data entry and editing; drillhole, point, polyline, and
triangulation display; report generation; and data manipulation, filtering, and validation techniques. In
addition to plot generation on plans and sections, other common tasks encountered in an exploration or
mining environment, such as data analysis and surface creation, will also be briefly covered. GEMS
courses are designed to provide theory through lecture-style classes, augmented by hands-on exercises.
Course Prerequisites
Before taking this course, you require the following:
Expected Outcomes
Upon completion of this course, you will be able to accomplish the following:
Page 10 of 257
Course Overview Course Structure Flow
Day 1
Morning
General Procedures for Getting Started Opening a project
Opening/saving/closing data into the graphical work
area
Using the view position toolbar
Viewing data properties
Creating a new project in GEMS
Break
GEMS Workspace Basics What is a workspace?
Creating workspaces for drillholes
Importing drillhole data into a workspace
Manually entering data into the workspace
Adjusting the format of the data editor
Validating the drillhole data
Afternoon
Working with Drillholes Creating Sections and Planviews
Defining colour profiles and drillhole display profiles
Opening Drillhole data into the graphical area
Viewing data on section and planview
Break
Working with point data Creating a point area workspace
Importing points into a point area workspace
Defining the point display profile
Opening points the graphical area
Working with polyline data Creating a polyline workspace
Importing polylines from DXF or ASCII Files into a
polyline workspace
Defining the polyline display profile
Opening polylines into the graphical area
Page 11 of 257
Course Overview Course Structure Flow
Concepts Topics
Day 2
Morning
Review
Compositing Drillholes Compositing methods
Modifying the workspace to accommodate composite
results
Calculating the composite
Performing a thickness calculation
Displaying drillholes with the calculated composites
Break
Filtering Data Working with GEMS Filters
Working with SQL filters
Manipulating data Defining manipulations for 8 different methods, some of
which include simple manipulation, conditional
manipulation, cross table transfer and de-surveying a
table
Afternoon
Reporting data Creating a workspace structure report
Generating a quick report
Preparing a user defined report
Break
Analysis Data Extraction from the workspace
Univariate Statistics
Multivariate Statistics
Surface Modeling Creating a workspace for the surface
Selecting the drillhole intersects for the surface
Preparing the surface from active data
Preparing the surface using Laplace gridding
Page 12 of 257
Course Overview Course Structure Flow
Concepts Topics
Day 3
Morning
Review
Plotting Data Creating drillhole plots from displayed data
Creating symbol plots from displayed data
Creating a grid and contour plot
Create a structure plot
Batch plotting
Break
Plotmaker Defining Plotstyles
Creating extra viewports
Creating title blocks and graphical images
Saving images into catalogues
Defining grid transformations
Afternoon
Solid Modeling What are the basic polyline types and uses
Digitizing new polylines
Making polyline modifications
Defining 3D rings on section or plan
Break
Solid Modeling (cont’d) Using tie lines to connect 3D rings
Basics rules for the creations of rings and tie lines
Grooming the 3D rings
Creating the solid from rings and tie lines
Plotting the solid on section
Updating the drillhole workspace with the solid
intersections
Page 13 of 257
Introduction
GEMS is an integrated software system for data management and analysis, solids modelling, and mine
production planning. It lets you to manage, manipulate, and view data from all phases of the mineral
exploration and mining process.
Using GEMS, you can store, manage, report, display, and analyse, both statistically and geostatistically,
any type of spatial data combined with any qualitative or quantitative data. GEMS provides extensive
graphical editing facilities and other practical tools to make all aspects of geological and ore reserve
modelling, and open pit and underground mine planning and design, fast, flexible, and easy to
understand.
GEMS is available in several configurations. Licencees with extended performance packages will have
access to additional utilities and/or specialised tools.
Common to all GEMS installations is a 2D (two-dimensional) and 3D (three-dimensional) graphical
environment where you can display, edit, and model data from a variety of sources. The powerful viewing
capabilities of GEMS provide an ideal environment for looking at your data in overview or in detail.
This chapter covers the following topics:
• Data objects
• Data Display Operations
• Viewing Data in GEMS
Data Objects
In GEMS, you can view several types of 2D and 3D data objects. Among other functions, GEMS lets you:
• Display drillholes and use downhole intersections to interactively create geological interpretations
and surfaces.
• Display block-model data in several different forms.
• Display and use points from point workspaces or extraction files.
• Display, create, edit, and manipulate polyline data. Polylines can be used to define surface or sub-
surface contour lines, feature lines, or rock code boundaries that can be used for surface
triangulation or solids modelling.
• Create a surface using a triangulated irregular network (TIN) from combinations of drillhole
intersects, points, and polylines.
• Perform surface-to-surface and surface-to-polyline intersections.
• Contour surfaces, smooth contours.
• Create solid models using three-dimensional triangulation. Sophisticated tie line technology allows
complex solids to be created.
• Perform solid-to-solid and solid-to-surface intersections.
• Contour solids.
• Update block models from solids, polygons, or points.
• View drillholes, block models, points, polylines, surfaces, and solids in three dimensions using
either a wire-frame mode, or colour-rendered mode with hidden line and surface removal.
• Quickly switch between 3D viewing and 2D vertical and inclined sections, and plan views.
• Use powerful data-selection tools to select items by virtually any attribute.
• Produce colour-rendered hard-copy output direct to raster plotters using HPGL/2 or Postscript.
Page 14 of 257
Introduction Data Display Operations
Process Description
Opening and Closing Data When you open data, GEMS brings the data from the workspace (or other
source) into the current work session. This is the environment in which the
project data you selected and wish to study resides, along with all the particular
settings you have chosen to best view the data.
Some opening operations leave the data inactive or hidden; others activate or
display it immediately. You can usually close all data or all active data at any
time, and there are many options for filtering the data you wish to open, or
specifying particular classes of data you wish to close.
Activating and Deactivating You can only manipulate or use active data for most operations. To activate an
Data inactive data object or deactivate an active one, you use a select command.
Sometimes, you choose a deselect command to deactivate an object. Other
times, you can apply a select operation to an object that is currently active.
Inactive points and polylines, when visible, are often drawn in a fainter colour
than active data. Surfaces and solids are never visible unless active.
Displaying and Hiding Data You can choose to display or hide most kinds of active or inactive loaded data.
Hiding does not unload or deactivate the data, GEMS simply makes it invisible.
Conversely, visible data is not necessarily active or available for certain
operations.
Page 15 of 257
Introduction Viewing Data in GEMS
Solid Rendered (Z-buffer) This mode is most commonly used for data display and hard copy purposes. All data
mode is shown using full hidden line and hidden surface removal. All triangulated surfaces
(surface models and solids models) are rendered in full colour in 2D and 3D using
configurable light sources at user-definable locations. Rendering is conducted by the
software and is extremely fast.
In both cases, view directions are assigned using the concept of a camera position, which is the
viewpoint, and a target position, which is used as the centre of the view. The field of view is defined using
a focal length for an imaginary lens that you are looking through. You can interactively modify all the view
Page 16 of 257
Introduction Viewing Data in GEMS
parameters by spinning the view around with the mouse, by picking camera and target positions with the
mouse, or by explicitly defining view parameters.
3D Projections
In 3D-viewing mode, you can use one of two standard data projections:
Perspective view In this mode, vertical and horizontal lines tend towards vanishing points on the
horizon. The amount of perspective distortion that is applied to the projection is
dependent on the view position and the focal length that you have defined. Closer
objects appear larger.
Page 17 of 257
Introduction Viewing Data in GEMS
The default viewing mode for GEMS is a perspective view using a wire-frame mode. Data projection can
be set in Window > Set Display Area Options > Camera tab.
2D View Planes
GEMS allows you to use 2D view planes as an added method of looking at your data. Two-dimensional
view planes consist of vertical sections, inclined sections, or plan views. You can quickly toggle between
a 3D view and a 2D view with a single keystroke.
You can use view planes for data management and modelling, as all polylines and contours are tagged
with an associated view plane as an attribute. Therefore, you can select data for modelling on the basis of
the view plane as well as other attributes.
Selecting the 2D view planes is a simple and quick process, with a variety of selection methods available
for each type of plane.
Vertical Sections
• Interactively use a “slider” to locate the section plane, looking towards the north, south, east, or
west.
• Use section definitions from other GEMS projects.
Inclined Sections
Page 18 of 257
Introduction Viewing Data in GEMS
Plan Views
Spatial Filtering in 3D
You can perform sophisticated spatial filtering on your data while in 3D viewing mode. The spatial filters
that you can apply use the definitions of the view planes that are defined in the previous section.
In addition to the parameters used to define the location and extent of the plane in space, each view
plane definition has a “towards” and an “away” projection distance that is used to define a spatial filter on
each side of the plane. These spatial filters permit only data falling within the projection distances to be
displayed.
Page 19 of 257
Getting Started
This chapter covers the following topics:
• System Requirements
• Window Layout
• Shortcuts
• 3D Graphics Interface
• Appendix: Toolbar Buttons
System Requirements
In order to use GEMS to its full potential, you should have the recommended hardware and software, as
well as some optional peripherals for graphical input and output:
Page 20 of 257
Getting Started Window Layout
Window Layout
The GEMS window is divided into the following areas:
Area Description
Title Bar The Title Bar at the top of the window contains the name and version of the application and
the name of the project. The Minimise, Maximise, and Close command buttons are located
at the far right.
Menu Bar The Menu Bar lists the available pull-down menus enabled in your GEMS configuration. You
can choose menus and menu commands with the mouse or keyboard. Choosing a
command usually triggers an action or displays a dialog box.
Custom Menu Bar Custom menus are expanded menus or submenus that enable you to access a set of
commands by descending through fewer levels than using the main Menu Bar. They also
group commands from various menus in a way that fits your needs.
You can drag a floating Custom Menu Bar to a screen location where it will not interfere with
your data or with existing menus. Custom Menu Bars behave like the regular Menu Bar in all
other ways. Choose Options > Toolbar > Custom Menu to select from a list of Custom
Menu Bars.
Page 21 of 257
Getting Started Window Layout
Area Description
Toolbar This row of buttons underneath the menus provides a convenient way to access some of the
most common operations. In general, each button corresponds to an existing menu
command.
A toolbar button can be quickly selected with the mouse. Each button is identified by a
symbol; you can also hover your mouse pointer over the button to display the button name.
Graphical Work This area displays your data and the current session. Initially, this area surrounds the extent
Area of the data, but you can also cover other areas by panning this window or you can cover
areas in more detail by zooming the window. A minimal set of co-ordinate grid lines is often
displayed so you can see the location and extent of the work area.
You can graphically select most data objects one at a time by clicking on the object you
want. You can also deselect the selected object by clicking a second time.
Note: You cannot select drillhole data objects in the graphical work area.
Project View Area This area contains an Objects tab and a Profiles tab that you use to view the structure of
your project (in folder trees) and quickly review all of your GEMS profiles. Use the Project
View Area button on the toolbar (or choose Window > Show Project View Area) to hide or
show the Project View Area.
Status Bar The status bar displays user prompts and messages, and information about the current
operation and your data.
The Menu Bar, Toolbar, Project View Area, and Status Bar are covered in more detail in the following
sections.
Menu Bar
GEMS menus are organised in a pull-down style that appears across the top of the window. To select a
menu and its command, click the menu name or use single key or key combination shortcuts.
Menu Conventions
The following symbols may appear beside commands on the pull-down menus:
• A checkmark (9) next to a command name means that the command is toggled on. When you
reselect the command to toggle off the command, the checkmark will vanish.
• A triangle arrow (4) next to a command name indicates that choosing the command will open a
submenu listing additional commands.
• A dimmed menu command is not available in the current mode.
Page 22 of 257
Getting Started Window Layout
Toolbar
The toolbar is located directly below the menu bar and consists of buttons that you can use to perform
some of the more common menu functions.
To see what a particular button does without activating it, allow the mouse cursor to hover briefly over the
button. After a couple of seconds, a small box showing the name of the function will appear directly under
the mouse cursor.
Note: There are other customisable buttons that can be shown/hidden on the toolbar. These can be found by choosing
Options > Toolbar.
For a list of many of the toolbar buttons, see the Appendix: Toolbar Buttons.
Objects Tab
A folder tree for your current project appears on this tab. Data object
types are identified by unique icons (Drillholes, Blocks, etc.).
Folder Tree
In the folder tree, click any icon containing a plus sign [+] to expand the
associated project or folder, revealing its contents. Clicking a box
containing a minus sign [-] will collapse the associated item.
An “eye” alongside an object workspace, indicates that some or all of the
data in the workspace is open and displayed in the work area. A “greyed
eye” alongside an object workspace, indicates that some or all of the data
in the workspace is open, but hidden (not visible) from the work area.
If the object workspace name is shown in red*, this indicates that changes have been made to the data in
memory only, and have not yet been saved back to the workspace.
You can perform the following actions using the folder tree:
Page 23 of 257
Getting Started Shortcuts
Profiles Tab
This section of the project view lists all available profile groups.
GEMS indicates the default profile group with a checkmark.
Expanding the default profile group shows a list of all available
profile types as folder icons. Expanding the folders shows the
profiles available in that profile type.
To review a profile:
Status Bar
The status bar displays user prompts and messages, and information about the current operation and
your data.
Prompts/Messages Description
User Prompt Prompts and messages appear at the left of the status bar.
Operation Status The current operation appears at the centre of the status bar.
Data Identification GEMS identifies whether you are in 2D or 3D mode and the name of the current plane.
World Co-ordinates The world co-ordinates of the current cursor location within the graphical work area
appear at the right of the status bar. The co-ordinates change as you change the
position of the cursor. If you are in 2D, the values are the local 2D co-ordinates and in
3D, they are the true 3D co-ordinates.
After selecting a menu command, refer to the status bar for information on what action you need to
perform. For example, if you select a command to draw a polyline, the status bar will provide a user
prompt on what action you need to do and how to finish your action.
Shortcuts
GEMS provides many mouse and keyboard and keyboard-only shortcuts to accomplish various
commands.
Page 24 of 257
Getting Started Shortcuts
• Use the SPACEBAR to bring up a list of active solids/surfaces for selection during solid/surface
operations.
• Right-click the mouse button anywhere in the graphical work area to bring up the Express Menu
(command recall) of your 10 (or more) most recent commands
• Right-click the mouse button anywhere in the graphical work area and select View Settings
command or select the menu View > View Settings for the same option. This command allows
you to change show/hide toggles for data display.
Page 25 of 257
Getting Started 3D Graphics Interface
3D Graphics Interface
This section describes GEMS’ behaviour in the 3D graphics interface and customizations you can make .
Customisation Description
3D Reference Axis When you are viewing data in 3D, you can display 3D reference axes so that you
can spatially reference your data. These reference axes show the northing,
easting, and elevation directions, as well as a bounding box that surrounds the
extents of your data. Commands for axis display are found on the Window
menu.
Graphics Cursor
By default in 3D mode, the graphics cursor appears as a cross with
circular arrows in the lower right corner for rotating the view. In 2D, the
cursor appears as an arrow. When a command is prompting for
graphical input the graphics cursor appears as a crosshair.
Choose Options > Set Snapping Parameters > Set Pixel Tolerance
for Snapping to define the pixel tolerance of the cursor. This command
indicates the “snapping” tolerance when you pick points. The cursor is
moved by the mouse and is used for all graphical operations such as
digitising points, picking points, picking surfaces, picking solids, etc.
When the cursor moves off the graphics area onto the Menu Bar or onto a
pull-down menu, its shape changes to an arrow. When the arrow cursor is
displayed, it can only be used for selecting menu commands.
Snapping
To aid in making lines connect precisely, the graphics cursor offers a
"snapping" function. Click the mouse anywhere within the snapping
radius of an existing data point to move the cursor exactly to the
co-ordinates of that point. You can adjust this radius using a command
from the Options menu. The snap function works in any viewing mode.
Page 26 of 257
Getting Started 3D Graphics Interface
Customisation Description
Moving the Graphics Cursor
in 2D Mode When you move the graphics cursor around the screen, the location of
the cursor appears in local 2D coordinates at the bottom of the screen.
Page 27 of 257
Getting Started Lab Exercise: Opening Data in GEMS
6. After you have looked at the data in class, close the data. In the Project View Area, right-click the
workspace and select Close.
Time to complete: 15 minutes
Page 28 of 257
Getting Started Lab Exercise: Viewing Data in GEMS
Page 29 of 257
Getting Started Review
Review
Use this review to test your knowledge on what you just learned.
1. From what area of the GEMS’ GUI (graphical user interface), can you open, close, and save all of
your data objects?
2. Which zoom button will allow you to see ALL of the data open in the work area?
3. How can you zoom into data from ONE particular workspace?
4. What is the meaning of “wireframe” and “solid rendered” mode? How are they different?
Page 30 of 257
Getting Started Appendix: Toolbar Buttons
Standard toolbar
Project View Area Window Shows or hides the Project View Area
Page 31 of 257
Getting Started Appendix: Toolbar Buttons
2D Move All Polyline > Vertex Moves all vertexes in 2D view mode
Delete inside clipbox Polyline > Vertex Deletes all vertexes inside a clipping
boundary
Insert Polyline > Vertex Inserts a vertex in the middle of the selected
segment
Append Polyline > Vertex Appends an existing polyline to a new vertex
View/Edit Real Coordinates Polyline > Vertex Enables you to view and edit the real co-
ordinates of any vertex
Delete Segment Polyline > Line Deletes a line segment within a polyline
Subdivide Segment Polyline > Line Subdivides a line segment within a polyline
Morph Polyline > Line Morphs the selected polyline to create a new
polyline
Expand Between Polyline > Line Expands a portion of any polyline to create a new
Points polyline
Expand Between Polyline > Line Expands between a point on a polyline and a
Points and Distance segment indicating direction to create a new
polyline
Page 32 of 257
Getting Started Appendix: Toolbar Buttons
Paste From Scrap Polyline > Line Pastes the clipboard to the graphic area
Move Polyline > Line Moves the selected line to another location
Show Line Information Polyline > Line Opens a dialog box that displays information for the
selected line
Digitise Clipping Edit > Clip Enables you to create a clipping boundary in the
Boundary graphics area
Delete All Polyline > Multiline Deletes all lines in the selected data
Delete inside clip box Polyline > Multiline Deletes all lines that lie inside or intersect a
2D clip box
Move Active Lines Polyline > Multiline Moves all active lines a specified distance
Press Onto Surface Polyline > Multiline Interpolates elevations for one or more
polylines by “pressing” them onto a surface
triangulation
Drillhole toolbar
Page 33 of 257
Getting Started Appendix: Toolbar Buttons
Write Workspace PCBC > User Tools > Displays all workspace details in Excel
Summary to Excel Other
Set Dates PCBC > CMS > Set Up Opens the CMS dates dialog box where you
set dates
Register Bucket Data PCBC > Buckets Registers the buckets into a List Workspace
Block-Caving Display PCBC > Display Opens the Block-Caving Display dialog box
Profile where you create profiles
Draw Point Display PCBC > Display Enables you to select or activate the display
OPtions profile and change information to display in
draw point or column format
Run Production PCBC > Planning Runs Production Scheduler
Scheduler
Sample Trend Applications > LSQ Runs LSQ
Estimation for LSQ
Edit Last Generated Tools > Other Utilities Opens the last report generated, for
Report File example a Production Scheduler report
Page 34 of 257
Getting Started Appendix: Toolbar Buttons
Compute Block PCBC > Slice File Computes the block fractions
Fractions
Transfer Blocks to PCBC > Slice File Opens information from the block models,
Slice File combined with the block fractions, and
stores it in a slice file
Pre-Compute Vertical PCBC > Slice File > Pre-computes pre-vertical mixing
Mixing Mixing
Write Selected Slice PCBC > Slice File > Slice Creates a report and displays in Excel
File Info to Excel File Utilities
Current To Save PCBC > Slice File > Slice Save the slice file currently being worked on
File Utilities to PCBCSAVE
Save To Current PCBC > Slice File > Slice Restores slice file from PCBCSAVE to
File Utilities PCBCCURR
Assign New Slice File PCBC > Slice File > Slice Restores specific slice file to PCBCCURR
as Current File Utilities
Find the Best HOD PCBC > Planning Calculates Best HOD
Best HOD with Haircut PCBC > Planning > Calculates Best HOD by trimming or
Planning Utilities smoothing best HOD values
Page 35 of 257
Getting Started Appendix: Toolbar Buttons
Zoom Out View > Position Zooms out from the graphic image
Pan Left View > Position Moves your graphic image left
Pan Right View > Position Moves your graphic image right
Pan Down View > Position Moves your graphic image down
Resize View > Position Enables you to resize and zoom in on you
image
Previous view View > Position Returns to the previous view
Zoom to Extents View > Position Zooms the image to fit the graphics area
Target position Window > Target/Camera Enables you to select a new target
Position Option position that acts as the centre
Camera/Target position Window > Target/Camera Enables you to select a new target
Position Option position that acts as the centre
Page 36 of 257
Getting Started Appendix: Toolbar Buttons
Tunnel toolbar
Create Feature Tunnel > Feature Enables you to create a tunnel feature
Edit Feature Tunnel > Feature Enables you to edit a tunnel feature
Move Feature Tunnel > Feature Enables you to move a tunnel feature
Delete Feature Tunnel > Feature Enables you to delete a tunnel feature
Draw All Intersections Tunnel Draw all tunnel intersections to calculate the
intersection geometry
Display Overrides Tunnel Control the display of a tunnel
Page 37 of 257
Project Data Management
You need to perform several steps at the beginning of every GEMS project. After starting GEMS, you will
want to assign a name and description to your project, plus you should define many of the profiles you
will need to be able to view, display, and plot the data in a clear and informative manner.
This chapter describes how to create a new project and get a GEMS session up and running.
• Starting GEMS
• Project Databases
• Creating a New Project
• Backing Up Data
Starting GEMS
When you start GEMS, there are two different strategies for setting up and maintaining project
information:
• Start GEMS from within the Windows Start menu or by using the GEMS desktop icon. GEMS will
automatically default to the last project used.
• Start GEMS from within a GEMS project directory (commonly under the /GemcomProjects
directory), by double-clicking the GEMS Project file (*.GPR).
The decision is one of personal preference. If you are working on different projects on an ongoing basis,
you may prefer the second method.
Project Databases
Each project is stored on a hard drive in its own root directory that contains the project databases (in the
case of GEMS Desktop) and other files associated with the project. This root directory is also sub-divided
into a collection of multi-level sub-directories that are generally used to store files exported from GEMS.
GEMS creates 3 databases for each project. They are:
GS_YourProjectName which refers to the site
GP_YourProjectName which refers to the project
GD_YourProjectName which refers to the data
The bulk of your project data is stored in the datagroup database (GD_YourProjectName), where it is
divided into workspaces based on user requirements and the data type. The data stored in the
workspaces of the datagroup database is then used to generate the working data that you will create and
use during your exploration and solids modelling procedures.
In the case of GEMS (SQL), your database is stored on the SQL server.
Page 38 of 257
Project Data Management Creating a New Project
Page 39 of 257
Project Data Management Creating a New Project
Page 40 of 257
Project Data Management Backing Up Data
Backing Up Data
To minimize the consequences of a disk failure or an inadvertent removal of data, you should take
frequent advantage of back-up facilities in Windows to save your projects to floppy disks or a network
drive. See your Windows documentation for instructions.
For optimal security, back up the entire project folder on a daily, weekly, and monthly basis. This will offer
you the most flexible role-back options.
For GEMS (SQL) users, your database administrator will have a database maintenance plan in place, as
part of the GEMS (SQL) implementation.
Page 41 of 257
Project Data Management Lab Exercise: Creating and Opening GEMS Projects
Grade Decimals
AU 3
CU 3
Page 42 of 257
Project Data Management Review
Review
Use this review to test your knowledge on what you just learned.
Using Windows Explorer, what file can you double-click to execute GEMS, with a specific project as the
default project?
Of the three databases that GEMS creates for each project, which one stores the bulk of your data?
If starting GEMS from the Start menu, which project will GEMS default to?
Page 43 of 257
Workspace Concepts
A GEMS workspace is a set of data within a project that is grouped together on the basis of its general
type. Typical types of data are point data, drillhole data, polyline data, polygon data, and triangulation
data (solids and surfaces). Workspace types are identified by unique icons that are visible in the Project
View.
Because of this logical data organisation, the workspace (and not the entire project database) is the main
working unit within GEMS.
This chapter will cover the following topics:
• Workspace Tables
• Workspace Records
• Workspace Fields
• Workspace Structure
• Workspace Limits
• Data Types
• Special Values for Fields and Records
Workspace Tables
GEMS workspaces are organised into tables containing data within the database. Each workspace must
have at least one or two tables depending on the type of workspace, and can have an unlimited number
of tables.
Each table can be viewed as a grid consisting of rows and columns, in which the rows are called records
and the columns are called fields. Within each table, every field has its own field name and set of
attributes. Data is entered at the intersection of a row (record) and column (field). GEMS (Desktop)
workspaces can contain a maximum of 30 tables. GEMS (SQL) has no limit on the number of workspace
tables.
Workspace Records
Each row in a workspace table is
called a record. Each record consists
of a number of fields.
Workspace records do not have any
special attributes, while workspace
fields have a few attributes. Records
are created when you add data to the
workspace using any of the
workspace management tools for
entering data. Records can be added
to or deleted from the workspace at
any time.
Page 44 of 257
Workspace Concepts Inside a GEMS Workspace
Workspace Fields
Each column in the workspace is called a field. Each workspace table can contain a maximum of 255
fields. Data is entered into the workspace at the intersection of each record and field. Each field exists in
every record in the table, even if data has not been entered into the record or field. Fields are given a set
of attributes that define the type and range of data that can be entered into the field.
Data values for all the records in a table for a particular field must fit all the attributes that have been
defined for that field:
Workspace Structure
Workspaces consist of one or more
tables. In workspaces with more than
one table, the tables are related to
one another.
The relationship is restricted to a
one-to-many relationship in a simple
hierarchical or tree structure. The
tree structure is limited to one table
(called the header table or primary
table) that acts as the trunk of the
tree and subtables that act as the
branches (called secondary tables).
This means that there is a single
controlling table, called a header
table or key table, with many records
in it. Each record in this table is
linked to many records in other One-to-many workspace hierarchy
tables:
GEMS uses primary and secondary keys to determine how records in secondary tables relate to records
in the header table. Each record in the header table has a unique identifying field called the primary key.
The primary key is a field with a string data type and a specific name: drillhole workspace key fields are
usually called HOLE-ID; point workspace key fields are POINTS-ID; polygon workspace key fields
POLYGON-ID; and traverse workspace key fields TRAVERSE. Although key fields can have any name,
using the suggested default will avoid compatibility problems with other applications.
Page 45 of 257
Workspace Concepts Inside a GEMS Workspace
All secondary table records also have a primary key. This is the field that will be used to link secondary
table records with the header record that “owns” them. Thus, while no two records in the header table can
have the same primary key, any number of secondary table records can be assigned the same primary
key, as long as they all relate to the associated header table record.
Each secondary table record also has a unique identifying field called the secondary key. No two records
within the same secondary table can have the same secondary key. Again, GEMS provides
recommended names for secondary keys; in most cases, they will be called FROM, DISTANCE, or
PCX_SEQ_NO, depending on the type of table.
Workspace Limits
There are very few restrictions on workspace size, provided you organise your data in an effective
manner and have adequate space on your hard drive. For example, you can handle unlimited numbers of
geochemical sample points, drillholes, samples, and assays. Tables can be linked together to give data
storage and management capabilities for even the largest and most complex exploration projects.
Data Types
GEMS can accommodate the following data types in workspace fields:
Page 46 of 257
Workspace Concepts Inside a GEMS Workspace
Page 47 of 257
Workspace Concepts Inside a GEMS Workspace
Page 48 of 257
Workspace Concepts Selecting a Workspace
Selecting a Workspace
When working with many of the profiles available in GEMS, you must select a workspace in order to
create the profile. All applicable workspaces will be available in a drop-down within the profile dialog box.
See the following Drillhole Plot example:
To select a workspace when creating a drillhole plot profile, follow these steps.
1. Choose Format > Plot > Drillhole Plot.
2. Select the desired workspace from the list of available workspaces.
3. Modify other settings as needed.
4. Click Apply.
5. Repeat steps 2 to 4 to create other profiles.
6. Click OK.
GEMS keeps track of the active workspace in your profile; thus, when the profile is used the parameters
will be applied to the correct workspace.
Page 49 of 257
Creating and Modifying Workspaces
Before entering data into a GEMS project, you must first create a workspace. You can change the
structure of the workspace any time after you have created and entered data into it. Creating a
workspace involves the following steps:
1. Selecting the workspace type: This depends on the type of data that you want to enter and the
format that you use to collect the data.
2. Designing the workspace structure: This must be done according to the way the data was
collected and organised, as well as the type of workspace selected. When you design the
workspace structure using the Workspace Wizard, the minimum workspace structure requirements
are already set up for you.
3. Defining the workspace structure: This can be done from scratch by defining the tables, fields,
and field attributes; by loading and then modifying a workspace template; by copying and modifying
an existing workspace; or by using the Workspace Wizard, which will guide you through the
process of creating a workspace.
4. Entering data: This can be done using any of the workspace management tools provided in
GEMS. These include the Data Editor, digitising facilities, and file import and merge tools.
This chapter covers the following topics:
Page 50 of 257
Creating and Modifying Workspaces The Workspace Structure Editor
The following screen image shows the Structure Editor’s main areas.
Area Description
Title bar The title bar displays the name of the program (Structure Editor). It also
contains the Minimise, Restore (or Maximise), and Close buttons.
Menu bar This area contains the menus you use to manipulate and edit the workspace
structure. The menu bar is explained in more detail later in the following
section.
Toolbar This area contains the buttons you use to manipulate and edit the workspace
structure. The toolbar is explained in more detail the following section.
Workspace modification pane This area shows the tables that make up the workspace. To edit a workspace,
you can add a new table or delete an existing table.
Note: The currently selected table is marked by a triangular arrow in the small
box to the left of the table name.
Table modification pane This area shows the fields contained in the table highlighted in the workspace
modification pane. To edit a table, you can add a field or delete an existing
field.
Note: The primary key field is marked with a key icon and the currently
selected field is marked with a triangular arrow in the small box to the
left of the table name.
Field modification pane This area displays the properties of the field highlighted in the table
modification pane. To edit a field, you can modify the properties of that field.
Status bar The status bar displays the current status of the Structure Editor. If one of the
toolbar buttons or menu commands is selected, or if the mouse cursor is
placed on one of the toolbar buttons, the function of that button or command
will be displayed in the status bar.
Menu Description
Workspace The commands in this menu allow you to create a new workspace, open an existing workspace
structure, save and print the current workspace structure, and exit the Structure Editor to return to
the GEMS graphical work area.
Page 51 of 257
Creating and Modifying Workspaces The Workspace Structure Editor
Menu Description
Edit The commands in this menu allow you to perform various editing functions on the structure of the
loaded workspace.
Insert The command in this menu allows you to insert rows in the grids displayed in the workspace and
table modification panes.
View The commands in this menu allow you to define whether or not the toolbar and status bar are
displayed, and to move the cursor location from pane to pane.
Help The commands in this menu allow you to access the GEMS Help either through the table of
contents or the search function. Also, you can access About Structure Editor.
Toolbar
The Structure Editor has the following buttons:
Cut Edit > Cut Cuts the row in which you have placed the mouse
cursor from the modification pane and puts it on the
clipboard.
Copy Edit > Copy Copies the row in which you have placed the
mouse cursor, and puts it on the clipboard.
Paste Edit > Paste Pastes content from the clipboard below the
selected row in which you have placed the mouse
cursor in the modification pane.
Insert Rows Insert > Rows Inserts a row above the highlighted row in the
modification pane.
Delete Row Edit > Delete Rows Deletes the highlighted row(s).
About About > About Opens a dialog box with information on Structure
Structure Editor Editor.
Page 52 of 257
Creating and Modifying Workspaces Creating a New Workspace
If you choose to create a single workspace, you have the option to create a standard workspace,
and add tables and fields to it manually; to copy an existing workspace structure, or to create a
new workspace structure based on a pre-defined template.
9. Edit the fields as needed, and click Next when you have completed each page of the wizard.
10. When you arrive at the last page, click Finish.
The following sections describe creating a new workspace using the following methods:
Page 53 of 257
Creating and Modifying Workspaces Creating a New Workspace
♦ Name the workspace: Enter a name (maximum 12 characters) for the workspace. No
spaces or special characters.
♦ Describe the workspace: Enter a workspace description (maximum 24 characters) if
desired.
♦ Restrict user access: Select one of three options to allow full access to all users at all
times, allow full access to one user at a time, or allow published data only.
Note: This option is only available in GEMS (SQL) version.
2. Click Next.
3. On the next page, enter the following
parameters:
♦ What do you want to use as
the primary key for the
workspace? Enter the name of
the field from the header table
that will be used as the primary
key field for all the tables in the
workspace. The suggested
default name for the type of
workspace you are creating is
already entered for you.
♦ How many characters do you want to save in your primary key? Enter the number of
characters to allow for the primary key field. All primary key fields must be string (character)
fields. The default number of characters key is already entered for you, and in some cases,
is not editable. Do not enter a number lower than this suggested default.
♦ What type of surveys will the workspace be using? (drillhole workspaces only):
− Intervals: If you select this option, the Survey table will contain numeric double fields
named FROM and TO for survey data entry.
− Distance: If you select this option, the Survey table will contain a numeric double field
named DISTANCE for survey data entry.
− Points: If you select this option, the Survey table will contain a 3D co-ordinate field
named LOCATION and numeric integer field named PCX_SEQ_NO for survey data
entry.
♦ What type of traverses will this workspace be using? (traverse workspaces only):
− Length: If you select this option, the Header table will contain a 3D co-ordinate field
named LOCATION and two numeric double fields named LENGTH and AZIMUTH.
− Length and Dip: If you select this option, the Header table will contain a 3D
co-ordinate field named LOCATION and three numeric double fields named LENGTH,
AZIMUTH and DIP.
− Location: If you select this option, the Header table will contain two 3D co-ordinate
fields named LOCATION-1 and LOCATION-2.
♦ Do you want to create any other tables in this workspace? Choose Yes or No. If you choose
No, click Next and go to the last step.
Page 54 of 257
Creating and Modifying Workspaces Creating a New Workspace
− Table type: Select one of the following options to determine the minimum structure for
your table:
Interval Data: Select this option to create a table with the primary key field as
well as numeric double fields named FROM and TO as the
minimum structure.
Distance Data: Select this option to set up a table containing the primary key field
as well as a numeric double field named DISTANCE as the
minimum structure.
Point Data: Select this option to set up a table with the primary key field as
well as a 3D coordinate field named LOCATION as the minimum
structure.
User Data: Select this option to set up a table containing only the primary key
field as the minimum structure.
You can manually add other fields to any of these tables once the Workspace Wizard has
finished creating the workspace.
c. Highlight a table, and choose Edit to edit any of the tables you added.
d. Highlight a table, and choose Delete to delete any of the tables you added.
Note: GEMS does not allow you to edit or delete the default tables it added.
5. When you have finished adding, editing or deleting tables, click Next.
6. Click Finish.
7. Save
Page 55 of 257
Creating and Modifying Workspaces Creating a New Workspace
Page 56 of 257
Creating and Modifying Workspaces Modifying an Existing Workspace
• To modify a workspace, you can either add a new table or delete an existing table in the
workspace modification window.
• To modify a table, you can either add a field or delete an existing field in the table modification
window.
• To modify a field, you can edit the properties of that field in the field modification window.
To open a workspace, follow these steps.
3. Choose Workspace > Create or Modify Workspace to open the Structure Editor.
4. Choose Workspace > Open to open the Select Workspace dialog box.
5. Click the workspace you want to edit, and click Select. The workspace will load in the Structure
Editor.
Workspace Level
At the workspace level, you can modify a workspace by adding a new table or deleting an existing table.
Adding a Table
Follow these steps to add a new table to the selected workspace.
1. Click the cell in the last row and column of the workspace modification pane and press ENTER or
TAB to add a new row to the grid.
2. Enter the following parameters for the table you wish to create:
♦ Table Name: Enter a name for the table. You can enter your own name, or you can select
from among the default names in the list provided. The table names available on the list will
depend on the type of workspace you are modifying.
♦ Table Type: Select one of the types listed. The table types available will depend on the type
of workspace being modified.
♦ Description: Enter a brief description for the table, if desired.
3. The key field will have automatically been added to the table modification pane. If you selected
either the Point or User table type, a PCX_SEQ_NO field will also have been added to facilitate
record sorting.
4. Save the workspace.
Deleting a Table
To delete a table, follow these steps.
1. In the workspace modification pane, select the table that you wish to delete by clicking to the left of
the table name in the grid. The row will be highlighted, and a triangular arrow will appear to the left
of the selection.
2. Click Delete Row.
3. Save the workspace.
Caution: If you delete a table, all associated fields, along with any data entered into them, will also
be deleted. Once you have deleted a table and saved the workspace structure, you will not
be able to recover this data.
Page 57 of 257
Creating and Modifying Workspaces Deleting a Workspace
Table Level
At the table level, you can modify a table by adding a new field or deleting an existing field.
Adding a Field
To add a new field, follow these steps.
1. In the workspace modification pane, select the table to which you wish to add a field by clicking to
the left of the table name in the grid. The row will be highlighted, and a triangular arrow will appear
to the left of the selection.
2. Click in the cell in the last row and column in the table modification pane and press ENTER or TAB
to add a new row to the grid.
3. Enter the following parameters for the field you wish to create:
♦ Field Name: Enter a name for the new field. For many GEMS functions, specific field names
must be assigned in specific tables. You can enter your own name or select a name from the
default names on the list provided. The names available will depend both on the type of
workspace and the type of table you are modifying.
♦ Field Type: Select the type of field you wish to create from the drop-down list.
♦ Description: Enter a description for the field, if desired.
4. In the field modification pane, define the properties for the field.
5. Save the workspace.
Deleting a Field
To delete a field, follow these steps.
4. In the table modification pane, select the field that you wish to delete by clicking to the left of the
field name. The row will be highlighted, and a triangular arrow will appear to the left of the selected
row.
5. Click Delete Row.
6. Save the workspace.
Caution: If you delete a field, any data that has been entered into the field will also be deleted.
Once you have deleted a field and saved the workspace structure, you will not be able to
recover this data.
Field Level
To modify a workspace at the field level, you can edit the properties of a selected field.
1. In the table modification pane, select the field whose properties you wish to edit. The properties of
that field will appear in the field modification pane.
2. Make any desired changes to the field property parameters. The parameters available for field
properties will depend on the type of field selected.
3. Save the workspace.
Deleting a Workspace
You can delete an entire workspace from your active GEMS project.
Caution: Use this command with extreme caution! If you delete a workspace, all associated tables
and fields, along with any data entered into them, will be lost. You will not be able to undelete
this workspace!
Page 58 of 257
Creating and Modifying Workspaces Deleting a Workspace
3. Select the workspace that you wish to delete, and click Delete.
Page 59 of 257
Creating and Modifying Workspaces Lab Exercise: Creating and Modifying Workspaces
Page 60 of 257
Creating and Modifying Workspaces Lab Exercise: Creating and Modifying Workspaces
Page 61 of 257
Creating and Modifying Workspaces Review
Review
Use this review to test your knowledge on what you just learned.
2. Which menu option must you select to create a new workspace, or make changes to the structure
of an existing one?
1. What field-type must a field type be in order to store values such as 100.67, 234.83, and 22.0?
What about “DDH-02” or “Test”?
2. What table-type must a table be in order to store FROM-TO information (e.g. for drillhole assay
information).
3. What are the meanings of the special characters, NE and NS? How are they different?
Page 62 of 257
Profiles and Profile Groups
This chapter will cover the following topics:
Object Profile
Page 63 of 257
Profiles and Profile Groups What are Profiles?
Add a Profile
To add a profile, follow these steps.
3. In the Profile Editor dialog box, click New Profile.
4. Enter a profile name, and click OK. You will be placed in the first field.
5. Edit the fields as needed.
6. Click Apply to save the changes.
7. Repeat steps 1 to 4 to add more profiles.
8. When you are finished, click OK.
Copy a Profile
To make a copy of the current profile, follow these steps.
2. In the Profile Editor dialog box, click a profile name to highlight it.
3. Click Save Profile As.
4. Give the profile a new name, and click OK.
Page 64 of 257
Profiles and Profile Groups What are Profiles?
Delete a Profile
To delete a profile follow these steps.
1. In the Profile Editor dialog box, click a profile name to highlight it.
2. Click Delete.
3. From the list of profiles, select the profiles you want, and click Add>>.
4. When you are finished copying profiles, click OK to return to the Profile Editor dialog box.
Page 65 of 257
Profiles and Profile Groups What are Profile Groups?
• If you share profiles with other users, you may want to decide who can create, modify, and delete
your profiles. For example, at Mine-X the junior staff members (engineering students) can view and
use the volumetrics profiles, but they cannot modify those profiles. Mine-X's profile security
ensures that only senior engineers can modify the volumetrics profiles.
To do this, the GEMS database administrator at Mine-X creates a separate database table and
sets the permissions so only senior engineers can create and modify information in the table. Then,
a senior engineer moves the volumetrics profiles into the separate database table.
• In a multi-user environment at Mine-X, surveyors and engineers may want to use colour profiles
that have the same names (so they can share data without re-formatting), but have different colour
settings (so the same lines are formatted differently on the screen for different workers).
To do this, Mine-X sets up several profile groups of colour profiles, such as COLOUR-SURVEY
and COLOUR-PLANNING. In each group, the profiles have the same names, but they are different
profiles—with different settings. When the surveyors use GEMS, they make COLOUR-SURVEY
the default. When the engineers use GEMS, they make COLOUR-PLANNING the default.
Page 66 of 257
Profiles and Profile Groups What are Profile Groups?
Method Description
Profile groups In each profile type, you can organise your profiles in groups. You decide which profiles
GEMS uses by setting and switching the default profile groups for each type of profile.
GEMS saves all these defaults in one profile-group setting.
Profile-group For added flexibility, you can make several copies of the profile group settings, and
settings customise them. When you switch the current profile group setting, in one step GEMS
(potentially) switches the default profile group for each profile type.
This is the preferred method.
Page 67 of 257
Profiles and Profile Groups What are Profile Groups?
Page 68 of 257
Profiles and Profile Groups Lab Exercise: Defining Colour Profiles
10. Define another New Profile, named LITH_STR, with the following criteria:
Text
Text Colour
0* Black
1* Blue
2* Light Blue
3* Cyan
4* Red
5* Light Red
6* Magenta
7* Light Magenta
8* Brown
9* Yellow
Page 69 of 257
Profiles and Profile Groups Lab Exercise: Defining Colour Profiles
Page 70 of 257
Profiles and Profile Groups Lab Exercise: Defining Point Area Display Profiles
Page 71 of 257
Profiles and Profile Groups Lab Exercise: Defining Line Display and Status Line Profiles
Page 72 of 257
Profiles and Profile Groups Lab Exercise: Defining Rock Code Profiles
Colour Red
Page 73 of 257
Profiles and Profile Groups Lab Exercise: Defining and Modifying Profile Groups
Page 74 of 257
Profiles and Profile Groups Review
Review
Use this review to test your knowledge on what you just learned.
From what menu option can most GEMS system-wide profiles be defined?
Which profile must you define to control the way drillholes are displayed in the Graphical Work Area?
What about points?
You don’t see a particular profile in the Profile tab of the Project View Area. List three possible reasons
why this could be.
Page 75 of 257
Editing Data
The GEMS Workspace Editor is a very versatile utility that allows you to enter data into the workspace or
to view and edit data that is already in the workspace. The data is displayed in two spreadsheets: the top
spreadsheet always contains data from the header table, and the bottom spreadsheet shows data from
any of the other tables in the current workspace.
To enter the Workspace Editor window from the main GEMS window, choose Workspace > Start Data
Editor, or press E on your keyboard to open the active workspace in the Workspace Editor window.
This chapter covers the following topics:
Page 76 of 257
Editing Data Selecting and Editing Data
There are three main areas in this window that are unique (or have commands that are unique) to the
Workspace Editor: menu bar, header table spreadsheet, and secondary table spreadsheet.
Area Description
Menu bar The menus in this area enable you to manipulate the Workspace Editor data and
control how the data is displayed. See The Menu section for more detail.
Header Table Spreadsheet This area displays the data from the header table of the current project in
spreadsheet format. Scroll bars will appear at the right and may appear along the
bottom of this area, allowing you to scroll through the data both vertically and
horizontally.
Secondary Table This area displays the data from a selected secondary table of the current project
Spreadsheet in spreadsheet format. At the right of this area is a scroll bar allowing you to scroll
through the data vertically.
Along the bottom of the area on the left-hand side are a series of tabs showing the
names of the available secondary tables. To display the data from any of these
tables, simply click the corresponding tab. If the tab for the table you wish to view
is not visible, you can click the right and left arrow buttons to the left of the tabs to
display additional tabs.
Caution: Be careful when you select or edit data not to overwrite data you want to keep. If you
change data in a cell by accident, do not move the cursor from that cell. Press ESC
immediately to revert to the old entry.
As soon as you move the cursor out of a cell, any changes you made to that cell are
automatically saved to the workspace. There is no way to undo your changes or recover your
old data once it has been modified and saved.
Page 77 of 257
Editing Data Rearranging and Sorting Data
Fields with numeric data types (integer, real, double, co-ordinate, time, date, and angle) are sorted on the
basis of data values in each record. Fields with character (string) data types will be sorted
alphanumerically (for example, A comes before B in an ascending sort; B11 comes before B2, etc.).
When you sort a workspace table, the actual order of values in the workspace will be updated to reflect
the results of the sorting operation.
Most of these functions can be performed in one of the following ways (although, some can only be done
through one method):
• Using various commands available through the menus, in particular the sorting commands
available from the View menu and the Table Options dialog box available from the Options menu.
• Using the mouse to resize and drag and drop columns as desired. You can also select the fields by
which to sort the data.
Page 78 of 257
Editing Data The Menu
The Menu
The Workspace Editor has its own menu for all of your data editing requirements:
Menu Description
File The commands on this menu allow you to exit from the Workspace Editor and from the main program.
Edit The commands on this menu allow you to perform various editing functions on the data in the loaded
workspace.
Goto The commands on this menu allow you to access specific records within the loaded workspace.
View The commands on this menu allow you to determine how the records within the loaded workspace are
sorted.
Options The commands on this menu allow you to modify aspects within the data structure.
Help The commands on this menu allow you to access the help, the Gemcom Web site for additional
resources (Help Desk, Frequently Asked Questions, and Patches), and information about GEMS.
The following sections describe the commands within the menus in more detail.
File
The File menu in the Workspace Editor contains two commands, only
one of which is unique to the Workspace Editor:
Command Description
Open Choose this command to open a different workspace in the Workspace Editor.
Page 79 of 257
Editing Data The Menu
Command Description
Close Workspace Choosing this command will close the Workspace Editor, and return you to the GEMS
Editor Graphical Work area. Upon exiting the Workspace Editor, GEMS will create a default
configuration file to preserve your options settings.
Edit
The Edit menu in the Workspace Editor contains the following
commands allowing you to edit the data displayed in the
spreadsheets.
Command Description
Clear Subtable Records This command removes all records in the displayed secondary table. Before you
choose this command, you must select a record in the Header table by clicking the
numbered cell to the left of the record.
Cut Row This command removes the highlighted row(s) and copies it to the Windows clipboard.
Copy Row This command copies the highlighted row(s) to the Windows clipboard.
Note: Because FROM values must be unique within a table, if the original row
contains a FROM value, its corresponding value in the copy will be increased by
one. You can then adjust the FROM value as required.
Paste Row This command inserts the current selection on the Windows clipboard into a new row
at the end of the table in the active spreadsheet.
Delete Row This command deletes the highlighted row from the workspace without placing it on
the Windows clipboard.
Append Row This command inserts a blank row at the end of the current table.
Insert Row This command is explained in detail in the following section.
Fill This command is explained in detail in the following section.
Insert Row
Page 80 of 257
Editing Data The Menu
To insert a record into a table with a sequence number field, follow these steps:
1. Ensure that the table into which you wish to insert the new record is unsorted by selecting View >
Unsorted.
2. Position the cursor in the record before which you wish to insert a new record. The record number
of the current record will be assigned to the new record, and all subsequent record numbers will be
adjusted accordingly.
3. Choose Edit > Insert Row. The new row will be inserted before the current record, and the record
numbers will be changed to reflect the new addition.
4. The cursor will be located in the new record. Enter the appropriate values in the individual fields.
5. Save the new record by pressing ENTER or clicking another record. If you move the cursor out of
the new record without entering any data, the Insert Row operation will be cancelled, and the
blank record deleted. You can also cancel the Insert Row operation by pressing ESC while the
cursor is still located in the new record.
Fill
This command allows you fill a selected set of fields within a range of records with identical or related
information. To use this command, follow these steps:
1. Use the mouse to highlight the field names and the records you wish to update.
1. Choose Edit > Fill to open the Fill
Columns dialog box, which displays the
name of the current table and the
range of records that you highlighted. It
also presents a grid allowing you to
enter the following parameters for each
of the fields you highlighted:
♦ Prefix: This is the first part of the
field entry and never changes. It
can be more than one character
or value.
♦ Seed: This is the value that
increases in specified
increments.
♦ Increment: This is the value that
indicates the amount of each
increase in the seed.
♦ Suffix: This is the last part of the field entry and never changes. It can be more than one
character or value.
For example: B1A, B2A, B3A
Prefix = B
Seed = 1
Suffix = A
Increment = 1
Page 81 of 257
Editing Data The Menu
2. When you have entered all required parameters, click OK. The data that you entered will be used
to update the highlighted fields within the range of records specified.
Goto
The Goto menu contains four commands that allow you to select
the active record (the record in which the cursor is located).
Command Description
Goto First Record Selecting this command places the cursor in the first record of the active table.
Goto Last Record Selecting this command places the cursor in the last record of the active table.
Goto Record Number Selecting this command places the cursor in the record corresponding to the number you
enter.
Find Record Select this command to bring up a dialog box in which you can enter parameters for
finding records containing particular data entry requirements.
View
The View menu contains commands that allow you to sort
and filter records in the selected table.
Command Description
Unsorted Choose this command to view the records in the order in which they were saved in the
workspace.
Sort Ascending Choose this command to view the records in the active table in ascending order according to
the field (column) in which the cursor is currently located.
Page 82 of 257
Editing Data The Menu
Command Description
Sort Descending Choose this command to view the records in the active table in descending order according to
the field (column) in which the cursor is currently located.
Filter None Choose this command to view the records without any filters.
Filter Quick Choose this command to quickly filter records from the header that meet the criteria you enter.
Filter Define Choose this command to define a SQL filter that you can use to filter the records.
Filter Select Choose this command to select a SQL filter to sort the records.
Options
The Options menu contains commands that allow you to
customise how you view data.
Command Description
General Choose this command to set up
limit check and deletion options.
Page 83 of 257
Editing Data The Menu
Command Description
Load Choose this command to select a view configuration from previously saved configurations.
Configuration
Save Choose this command to save your preference to a .cfg file.
Configuration
Page 84 of 257
Importing Data
When you have your workspace structures in place, you have several options for populating them with
data. You can input data directly in the Data Editor, use the various data import commands from the File
menu, or in some cases, import data from an older GDE 4.x workspace. Each data object type presents
itself with different data import options. When importing data, ensure you import the header table first.
The following table summarises from what sources, data objects are commonly imported:
• Import/Modify Data – You can import or modify drillhole or traverse data directly from text files
that are either in column aligned format (flat file) or delimited format. File formats can be defined
and then stored in profiles for multiple uses.
Page 85 of 257
Importing Data Importing Drillhole Data
Importing files appends data to an existing workspace by creating new records in the workspace.
Modifying files matches data values to existing records in the workspace based on the contents of
selected key fields and fills in missing fields or updates existing fields in these records.
• Advanced Import Data – GEMS also allows you to import data from other commonly used
geological software packages. Currently, supported systems include LOG II, MICROMINE,
GEOLOG, GEOSTAT Systems International, and MEDSYSTEM. You can also perform batch
merging and importing functions using this submenu.
2. From the Data of Type drop-down list, select Drillhole (*.*), highlight the file name, and click Open.
The Import Wizard opens.
Page 86 of 257
Importing Data Importing Drillhole Data
Page 87 of 257
Importing Data Importing Drillhole Data
the file-type it is associated with (i.e. an import profile called “HEADER” to use when importing header
records).
In step 5 of importing drillholes, if you clicked Browse to define a new import profile, follow these steps.
Page 88 of 257
Importing Data Importing Drillhole Data
Page 89 of 257
Importing Data Importing Drillhole Data
18. Review the import profile, then click OK to save and close the dialog box, and return to the Import
Wizard. When you return to the wizard you can continue with step 5 of importing drillholes.
Page 90 of 257
Importing Data Importing Drillhole Data
Page 91 of 257
Importing Data Importing Polyline Data
23. In the next screen, select an existing Import Profile, or click Browse to define a new profile.
If you click Browse to open the Import dialog box for defining profiles. See the section Defining
Import Profiles for details.
24. Click Next.
25. In the last screen, review the information, and click Finish. If any of the information is incorrect,
click Back to make changes.
If you are importing polylines in an ASCII file format other than this, you must use File > Classic Import
to import these polyline files.
As with any other object, you must first have defined a workspace (with the appropriate structure in place)
into which to import the data.
Page 92 of 257
Importing Data Importing Polyline Data
Page 93 of 257
Importing Data Importing Polyline Data
Otherwise:
Page 94 of 257
Importing Data Importing Triangulation Data
Page 95 of 257
Importing Data Importing Triangulation Data
Page 96 of 257
Importing Data Importing Triangulation Data
7. In the Project View Area, right-click the workspace, and choose Save to accept the data import or
choose Close to remove the triangulation(s) from memory.
Page 97 of 257
Importing Data Importing Triangulation Data
Page 98 of 257
Importing Data Importing Triangulation Data
6. In the Project View Area, right-click the workspace, and choose Save to accept the data import or
choose Close to remove the triangulation(s) from memory.
Page 99 of 257
Importing Data Lab Exercise: Importing Drillhole Data
21. Click OK to save the import profile and close the window.
22. In the Import Wizard, click Next to verify the settings, and then Finish to complete the import
process.
23. In the Project View Area, right-click the workspace, choose Save, and then Close.
Time to complete: 10 minutes
5. In the Project View Area, right-click the workspace, click Save and then Close.
6. Repeat steps 1 through 5 for the following import files: Eng_Lev11A.dxf, Eng_Lev11B.dxf,
Eng_Lev11C.dxf (with the corresponding NAME 1, LevA, LevB, and LevC, respectively).
Time to complete: 15 minutes
Review
Use this review to test your knowledge on what you just learned.
1. Describe two ways to entering the Data Editor view.
1. What method can be used to delete all of the sub-table records for a particular subset of header
records?
2. How do you close the Data Editor window to return to the main GEMS work area?
3. True or False? Deleting a record in the Data Editor can be undone from the Data Editor menu.
4. In the Data Editor, what effect does double-clicking a column header have?
6. Prior to importing any external data into GEMS, what are some of the settings you must first have
in place?
Command Description
Validate Drillhole or Traverse Data This command allows you to verify the validity of data in any drillhole or
traverse workspace by checking data for inconsistencies, duplication, and
missing values.
Check Duplication of Field Data This command allows you to check any type of workspace for duplicate
data. The validation process will produce a record-by-record report of all
inconsistencies. The report may be directed to the printer, to the screen, or
to a text file
Caution: The validation process will not try to correct any inconsistencies. You have to edit the
workspace manually to resolve any problems that are reported.
It is a good idea to validate data on a regular basis if you are making frequent changes to the data,
because problems with the data could affect the results of a number of GEMS functions, especially
statistical and other analyses. Also, before you try to calculate any composites from a workspace, you
should validate the intervals in the source tables that you intend to use.
This chapter covers the following topics:
8. Click Yes or No in response to the prompt asking whether you want only the error messages printed.
9. The Drillhole Data Validation status window will appear, displaying the progress of the validation
process. When the data validation is complete, click OK to clear the window from the screen. The text
editor specified by GEMS will be used to display the report.
♦ Use MIDDLE: Select this option to use the mid-point between the values in the FROM and
TO fields.
♦ Use TO: Select this option to use the value in the TO field.
8. Enter a Tolerance (distance apart) level. Any distances less than this tolerance level will be
reported as spatial duplicates.
9. Click OK. GEMS will perform the data validation. The report will be processed, and displayed
on-screen using the default text editor.
If no duplicates were found, a message indicating this will be displayed in the status window, and
no report will be created.
♦ Match String: If the field you have chosen is a character field, enter the desired
alphanumeric string that you wish to match. You can use the wildcard characters ? and *.
The default is set to *, which will match all strings.
4. When you have entered all the applicable information for all fields you wish to include, click OK.
5. In the Select Records to Process dialog box, select a record option, and click OK.
6. To respond to the prompt asking whether to create a macro with the filters you defined above, click
Yes or No.
7. The Generate Report status window will appear, displaying the progress of the report creation
process. When completed, click OK to clear the window from the screen.
The report will be displayed now using an ASCII text editor. When you have finished with the
on-screen report, close the editor window.
8. To respond to the prompt asking whether you want to save the macro to create the report again, click
Yes or No. If you click Yes, you will be asked to enter a name for your new macro file.
If you choose to create the macro, you will be able to use the Define/Modify Report Format
Macro command and the reporting language to modify the macro as required.
• Table Number
• Table Name
• Number of Fields
The report will also include the following information for each field in each of the tables:
• Field Name
• Field Number
• Field Type
• Minimum Value
• Maximum Value
• Default Value
To run this report, follow these steps:
1. Choose Workspace > Report Data > Workspace Structure Report to open the Select Workspace
dialog box.
2. Select the workspace from the list, and click Select.
3. The Workspace Structure Report Status window will appear, displaying the progress of the reporting
function. Click OK to view the report on the screen.
You can use the commands in the Drillhole menu to display data from drillhole or traverse workspaces.
Drillholes and traverses are displayed as trace lines. Data from any of the tables in the workspace can be
displayed in a variety of ways at the collar location of each drillhole or traverse, or along the trace of each
drillhole or traverse.
This chapter covers the following topics:
Before GEMS can open any drillhole data, you must set up and select the following profiles:
Profile Description
Drillhole Display profile This profile specifies how you want to display the drillhole data including the fields you
wish to see displayed down the drillhole trace, such as rock code, and grade values.
Choose Format > Drillholes to define display profiles.
Drillhole Loading profile This profile specifies the data tables and fields that you want to load into memory. You
can simply select the Automatic load profile when opening drillholes to have the
program extract the necessary fields to load from those specified in the display profile.
Or, if necessary, choose Drillhole > Data > Loading Profiles to define the profile.
Open Drillholes
To open drillhole data, follow these steps:
1. In the Project View Area, right-click on a drillhole workspace and select Open to open the Open
Drillhole dialog box.
2. In Display profile, select the desired
display profile from the dropdown list.
3. In Loading profile, select the desired
loading profile, or select <Automatic> to
have the program load the necessary
data as specified in the display profile, or
you may select a previously defined
loading profile. Only profiles that are valid
for the selected workspace will be listed.
If you need to define a loading profile,
click Browse.
4. Click OK.
5. In the Select Records to Process dialog box, choose a method for selecting a subset of records to be
loaded.
Note: You can use SQL filters when opening drillhole data, which are much faster than GEMS
filters.
6. Click OK.
7. GEMS unloads existing data in the current workspace first. Then GEMS displays a status dialog box
indicating the number of holes and records being processed. To stop the loading process, press
ESC. GEMS will ask you to confirm that you want to terminate loading. Click Yes to show all drillholes
opened so far, or No to continue opening drillholes.
To open another drillhole workspace, repeat steps 1 to 6.
Re-Open Drillholes
Choose this command to re-open drillhole data using the same loading and display profiles, but a
different record selection option. This command is useful if you wish to look at different subsets of the
same drillhole workspace using the same profiles. The previously used loading profile, and display profile
are automatically selected for you. If no drillholes have been loaded, this command is not available.
To re-open drillhole data, follow these steps:
1. In the Project View Area, right-click on the open drillhole workspace, and select Re-Open to open
the Select Records to Process dialog box
2. In the Record Selection Options list, select an option for which records to process, and click OK.
Close Drillholes
Choose this command to remove all drillholes from the work session and close the workspace. If no
drillholes have been loaded, this command is not available.
To close drillhole data, in the Project View Area, right-click on an open drillhole workspace, and select
Close.
When you use this command, you control the location of drillhole intersect points and their behaviour
when you select them in the Select menu, or snap to them (in other GEMS menus). The portion of the
interval that you are highlighting on the drillhole trace is determined by the table and field (e.g. FROM,
TO, or DISTANCE) specified in this command. The one exception is the Select Drillhole Intersects by
Field Value command, which also allows you to specify the location for intersects.
Intersect points generally appear as dots when unselected and as crosses when selected. You can
specify the size and colour of the dots and crosses, or, instead of using crosses, you can choose to
highlight intervals with a specific colour when intersect points are selected.
You can assign the location of the trace symbols (as defined in the current display profile) as the location
for the intersect symbols. A dot in the specified colour will overlap each symbol when it is unselected.
When highlighted, a cross appears and the trace symbol and the cross take on the selected colour (or the
interval is highlighted in the selected colour).
Note: There are options in the Display Overrides command that can hide intersects.
You can always snap to the drillhole collars. If multiple workspaces are open, snapping to drillholes
throughout GEMS operates as though all workspaces are simultaneously selected.
You may query drillhole data interactively by picking points on the trace with the mouse to display
detailed downhole information on-screen.
corridor; a short perpendicular line indicates the toe of the hole, a default Q_circle symbol indicates the
collar of the hole.
When you choose not to display any drillhole traces or collar symbols, a small green dot is drawn at the
collar location.
2. Review the data on screen. If needed, click Zoom to Extents on your toolbar.
3. In the Project View Area, right-click the DDH1 workspace, and select Display Overrides.
4. In Display Profile, choose ASSAY, and click OK.
5. You will be asked to confirm the reload of data. Choose Yes.
6. Review the data on screen. Repeat steps 3 to 5, to change the display profile to ASS_LITH.
Time to complete: 10 minutes
2. Choose Drillhole > Select > Select All Drillhole Intersects and examine the highlighted drillhole
intersects.
Time to complete: 10 minutes
Review
Use this review to test your knowledge on what you just learned.
1. Drillhole display profiles can be applied to drillholes from any drillhole workspace. True or False?
2. In 3D, your drillhole traces appear as ‘cylinders’. How can you change this so that they appear flat?
3. What setting controls which intersects your cursor can ‘snap’ to?
4. Try right-clicking anywhere down the length of a drillhole. What two express menu options do you
notice? What happens when you select them?
5. You have defined a drillhole display profile that is supposed to show assay data down the length of
the drillhole in different colours, yet no data is shown. List any possible reasons for this. (Hint: Think
back to what steps are required to display drillhole data).
Function Description
Simple Manipulation of Fields This option allows you to use math expressions to manipulate data in all the
records that you have selected.
Conditional Manipulation of Fields This option allows you to use two sets of math expressions to manipulate
data in records that are selected using a logical expression.
Cross-Table Transfer of Data This option allows you to transfer data from a field in one secondary table to
a field that has the same data type in another secondary table.
Linear Interpretation of Field This option allows you to fill in any missing data values within a series of
consecutive records in a selected field.
Format String Field This option allows you to format string (alphanumeric character) fields in
GEMS tables and to create new string fields by concatenating two existing
string fields.
Co-ordinate Transformation This option allows you to transform location information from one
co-ordinate system to another.
Desurvey Tables of Data This option allows you to calculate the location of data stored in interval and
distance formats in drillhole or traverse type workspaces.
Special Drillhole Data Process This option allows you to manipulate drillhole data that you have imported
from another system so that it meets the requirements of the GEMS format.
The results of both simple and conditional manipulations are inserted into fields in the tables being
manipulated. These fields must already exist in the table.
Caution: You can insert the result into fields that already have data in them or into fields that do
not have data. Be very careful when you do this because it is easy to overwrite data by
mistake. If you do this, you can never recover the original data.
Syntax
For information on the syntax available for data manipulation, view the GEMS Help topic Using
expressions for GEMS filters and data manipulation.
The following are different methods of determining the relationship between records in the source and
target tables:
• first interval
• mid-point of the target interval
• exact match
• nearest match
• nearest mid-point
• longest interval
• majority rule by length
• majority rule by frequency
The applicability of the methods and the results depend on the combination of the types of source and
target tables.
Co-ordinate Transformation
GEMS can express co-ordinates in one of two co-
ordinate systems. These systems are the alternate
system (such as the UTM or NTS system) and the
local system (such as a property or mine system).
Where
N a , Ea , Z a are the northing, easting, and elevation co-ordinates of the point being
transformed, defined in the alternate co-ordinate system.
N o , Eo , Z o are the northing, easting, and elevation co-ordinates of the origin of the local
grid, defined in the alternate co-ordinate system.
N l , El , Z l are the northing, easting, and elevation co-ordinates of the point being
transformed, defined in the local co-ordinate system.
Ro is the local grid offset orientation angle measured in degrees clockwise from the
local grid north to the alternate grid north.
Sh , S y are the horizontal and vertical scale correction factors for the geodetic alternate
co-ordinate system in the area of the local grid. If these scale factors are
unknown they should be set to 1.0.
• Local to alternate transformation – This transformation should be used when a local co-ordinate
system is to be transformed to an alternate co-ordinate system. You will know the co-ordinates of
the origin of the local system in terms of the alternate system, and the rotation angle between the
local system and the alternate system. The following formulae are used:
N a = N o + S h × [ N l × COS( Ro ) + El × SIN ( Ro )]
Ea = Eo + S h × [− N l × SIN ( Ro ) + El × COS( Ro )]
Z a = Zo + Sh × Zl
Where the variables are the same as for the formulae for alternate to local transformation.
• The azimuth and dip measurement at downhole distance zero for each drillhole may appear in the
header table instead of the survey table. Since this information is required in the GEMS survey
table, the data must be copied from the header to the survey table.
• The downhole data that describes intervals may be in distance format, and it needs to be
converted to interval format for use in GEMS. To do this, you will first need to modify the structure
of your workspace by renaming the DISTANCE field to either FROM or TO, and creating a new
(blank) field named TO or FROM. You can then use the appropriate field binding option to convert
the distance data to interval format.
• The values for drillhole length may be missing from the GEMS header table. This problem can
occur when importing historical data. Since the drillhole lengths must appear in the GEMS header
table, the information must be copied in from other tables.
Review
Use this review to test your knowledge on what you just learned.
1. True or False: The Manipulate Data commands can only be used on the active workspace.
2. During Simple Manipulation processes, what syntax would be used to identify the FROM field in the
LITHO table?
3. Which command from the menu can you use to calculate the 3D location of a drillhole intersect?
• Key indices – A key index is an external index to the workspace that contains a list of record
names (key fields) from the header table. You can create a key index by using filters, by using
other key indices, or by manually selecting specific records. Also, you can create a key index by
using any combination of these three methods.
• Choose SQL filters to load records based on defined SQL filters. SQL filters are recommended
over GEMS filters and key indices as a significantly faster way to load data. You then select the
filter to use for each table in your workspace.
• Choose All to load data records without any of the above restrictions.
This chapter covers the following topics:
• Using Filters
♦ GEMS Filters
♦ SQL Filters
• Using Key Indices
♦ Key Indices
Using Filters
Filters are used by many of the workspace tools and all the GEMS applications that directly process data
from the workspace. Filters are used to select subsets of data from the workspace, and in the case of
GEMS filters, can also be used to create key indices.
You can use a different filter on each of the tables in the workspace. After you have defined and stored a
filter, you can use it by referring to it by name whenever you are given an option of selecting data using a
filter.
When you are using a filter on a table, the application will check the data values defined in the filter
against the conditions defined by the logical expression. This is done on a record-by-record basis. If the
result of the expression is true, even for one sub-record of a header table record, the application will use
all the data from the record. If the result of the expression is false, the application will not use any of the
data from the record.
For example, you have set up a GEMS filter for a drillhole workspace that is designed to pick up all assay
records in which gold is greater than 0.02% (“ASSAYS:AU%” GT 0.02). A given drillhole, HOLE-ID
AN-6657, has six assay records with the following values in the AU% field:
1 0.015
2 0.018
3 0.021
4 0.019
5 0.010
6 0.009
The filter will select the drillhole AN-6657, even though 5 out of its 6 assay records do not meet the filter
requirements.
You can create the following types of filters in GEMS: GEMS filters and SQL filters.
GEMS Filters
GEMS filters are sets of logical expressions that you can define and store. They are most commonly used
to create key indices, and share the same syntax as most data manipulation tools in GEMS. In GEMS,
you can apply filters to any table in the workspace when using some of the workspace management tools
and in all the applications that directly access data in the workspace. The following examples illustrate
some common types of GEMS filters and the data they are intended to select.
These buttons allow you to select field names, system constants, and operators from lists rather
than having to remember the syntax and manually enter them.
Field: Use this button to enter a field name as a Descriptor. Clicking it brings up a list of
available tables. Select the table that contains the field you wish to use, and then
select the field from the next list. Click OK to enter the selected field name into the
Filter editing area at the current cursor location.
Constant: Use this button to enter one of the seven pre-defined system constants as a
descriptor. Clicking this button brings up a list of the system constants, select the
desired constant, and click OK to enter the selected system constant into the Filter
editing area at the current cursor location.
Operator: Use this button to enter a mathematical or logical operator by selecting from a list
of operators (such as +, -, or /). Select the desired operator, and click OK to enter it
into the Filter editing area at the current cursor location.
Undo: Use this button to undo your last edit to the logical expression displayed in the filter
editing area.
SQL Filters
SQL filters are generally more versatile than GEMS filters, and can filter virtually any attribute from your
workspaces. Choose Workspace > Filter Data > SQL Filters to create new SQL filters or modify existing
SQL filters. These filters are similar to GEMS filters except that they have their own unique syntax, and
use the following SQL command as the filter for your data:
SELECT <list> WHERE <where>
The <list> clause is the set of tables and fields that will be used when the program is loading data. It
includes fields from the loading and display profiles, and some fields from the header and survey tables.
You can only affect the <list> by adding fields to the loading or display profiles.
In the SQL Filter dialog box, you enter the WHERE clause that will limit which records are loaded.
The following examples illustrate some common types of SQL filters and the data they are intended to
select. The workspace name is DDH.
Note: In SQL, the % is used as a wildcard, similar to the * in GEMS filters.
Operator Example
Equal DDH_HEADER.[HOLE-ID] = "10A-1"
This would select only the 10A-1 drillhole
Like DDH_HEADER.[HOLE-ID] Like "10A%"
This would select all holes that started with 10A (e.g. 10A-1, 10A-2, etc.)
Greater than DDH_HEADER.[LENGTH] > 100
This would select drillholes with a length value greater than 100
Greater and equal DDH_HEADER.[LENGTH] >= 100
This would select drillholes with a length value greater than or equal to 100
Less than DDH_HEADER.[LENGTH] < 100
This would select drillholes with a length value less than 100
Less and equal DDH_HEADER.[LENGTH] <= 100
This would select drillholes with a length value less than or equal to 100
Not equal to DDH_HEADER.[LENGTH] <> 100
This would select drillholes with a length not equal to 100
Between DDH_HEADER.[LENGTH] between 30 and 100.
This would select all drillholes with a length greater than or equal to 30 and less than or
equal to 100.
Not Between DDH_HEADER.[LENGTH] not between 40 and 100
List (In) DDH_HEADER.[CORE_SIZE] in ("AQ", "BQ")
This would select Drillholes with a Core_Size label of AQ or BQ
List (Not In) DDH_HEADER.[CORE_SIZE] not in ("AQ", "BQ")
Is Null DDH_HEADER.[CORE_SIZE] is null
Is Not Null DDH _HEADER.[CORE_SIZE] is not null
Key Indices
A key index is a list of record names (key fields) for
the key (header) table of a workspace. You can
create as many key indices as you want for each
workspace, giving each one a user-defined file
name.
Choose Workspace > Filter Data >
Create/Modify Key Index Filter to select a key
index to modify or create a new index in the Key
Index Editor dialog box
♦ The Available records in the workspace area lists all header records from your selected
workspace. Create the key index by selecting the desired records from the list and move
them to the Records in this key index list using the right and left arrow buttons between the
two lists.
You can select records manually by using the mouse and the SHIFT or CTRL keys to select
individual or multiple records, or you can use the selection buttons below each list to select specific
groups of records.
6. Click OK to save the key index.
To create a key index using another key index, follow these steps.
1. Below the Available records in the workspace area, click Key Index
2. In the dialog box that appears, select the name of the key index on which you wish to base your
new key index.
3. Click OK.All records selected by the chosen key index will be highlighted.
4. Click the right arrow button to move these records to the selected records list.
5. Click OK to save the key index.
To create a key index using a GEMS filter follow these steps:
1. Below the Available records in the workspace area, in the You can apply a GEMS filter to
either list drop-down list, select the GEMS filter that you wish to use.
2. Highlight all records to which you wish to apply the filter. To apply the filter to all unselected
records, below the Available records in the workspace area, click Select All. All the records in
this listing will be highlighted.
3. Below the Available records in the workspace area, click GEMS Filter. All records within the
highlighted range that conform to the filter will remain highlighted. All records that do not conform to
the filter are not highlighted.
4. Click the right arrow button to move these records to the selected records list.
5. Click OK to save the key index.
To create a key index of all records not selected by a filter, follow these steps:
1. Below the Available records in the workspace area, in the You can apply a GEMS filter to
either list drop-down list, select the GEMS Filter that you wish to use.
2. Below the Available records in the workspace area, click Select All button to highlight all
records.
3. Below the Available records in the workspace area, click GEMS Filter. Only the records that
conform to the filter are highlighted.
4. Below the Available records in the workspace area, click Inverse to invert the highlighting so
that the records that do not conform to the filter are highlighted, and all those that conform to the
filter are not highlighted.
5. Click the right arrow button to move these records to the selected records list. You can then use
other selection tools to add or remove records from the selected records list as required to create
the key index you want.
6. When the selected records listing shows all the records you wish your key index file to select, click
OK to save the key index.
When you sort a key index, only the order in which the records are read by the key index is changed. The
actual order of records in the workspace does not change.
2. Below the Available records in the workspace area, click Select All to highlight all records.
3. Then, click GEMS Filter, to apply the GEMS filter to the selection.
4. Click the right arrow button to move the filtered records to the selected records pane.
5. Click OK to save and exit.
6. Open the drillhole workspace DDH1.
7. In the Records to Process dialog box, select Key Index, and choose the ROCK10 filter.
8. Examine the results on screen. How do these results differ from those in previous lab on SQL filters?
Review
Use this review to test your knowledge on what you just learned.
1. True or False: GEMS filters and SQL filters use the same syntax.
2. What do the GEMS expressions ‘LT’ and ‘EQ’ stand for? What are their SQL syntax equivalents?
3. What will be the result of applying the following GEMS filter? “header:hole-id” eq ‘10*’
4. A task requires that you use a specific subset of header records each time. What is the most efficient
filter to use in this instance?
• Vertical Section
• Inclined Section
• Plan View
• Create Sections
Vertical Section
Vertical sections are vertically oriented planes with specific locations. You can view the section looking
North, South, East, West, or at any oblique angle.
Looking North/South/East/West
Choose any one of these commands to define a section parallel to the direction indicated. This command
only works in 3D mode.
1. Choose View > Vertical Section > Looking North/South/East/West. A data entry field showing the
co-ordinate of the section line (on the relative axis) will appear on the status bar. The location of the
section will be graphically displayed as a rectangle around the bounding box of your data. If you have
projection distances defined, these will appear as parallel rectangles flanking the section.
2. To define the location of the section, you can slide the rectangle by pushing the mouse away from or
towards you, or you press BACKSPACE to explicitly type in the co-ordinates on the status bar.
3. Click the mouse to fix the section location.
4. Click Yes to accept the setting, or No to reset the position. At this point, you may wish to choose
other commands to view the section in 2D mode or set new projection distances.
From Endpoints
Choose this command to define a vertical section location by specifying the section endpoints with the
mouse. This command only works in 3D mode.
To use this command, follow these steps:
1. Choose View > Vertical Section > From Endpoints.
2. In the graphics area, move your mouse cursor to position the left-hand endpoint of the desired
section.
3. Click the mouse to set the endpoint. The specified point will be projected along the view vector onto
the base of the bounding box around your data.
4. In the graphics area, move your mouse cursor to position the right-hand endpoint of the desired
section. The cursor will drag a reference line defining the vertical plane.
5. Click the mouse to set the endpoint.
6. The point that you specify will be projected along the view vector onto the base of the bounding box
around your data and the new plane will be drawn. The view direction onto the section will be based
on the left endpoint and right endpoint locations. At this point, you may wish to choose other
commands to view the section in 2D mode or set new projection distances.
Select Graphically
Choose this command to graphically select a previously defined vertical section. This command only
works in 3D mode.
Inclined Section
Choose View > Inclined Section to
access a list of commands that allow
you to define or select an inclined
section. An inclined section is a plane
with horizontal top and bottom edges,
which is inclined in a specified direction
at a specified angle at a specified
location.
You can choose the inclined section
you want in one of the following ways:
• enter co-ordinates or specify data points that uniquely define the plane
• use the mouse to define the section endpoints interactively
• select a predefined section from the list of available sections
Select Graphically
Choose this command to graphically select a previously defined inclined section. This command only
works in 3D mode.
To use this command, follow these steps:
Arbitrary Plane
Choose this command to define an inclined
section when you know the co-ordinates of three
points that lie in the plane of the section. This
command works in both 2D mode and 3D mode.
To use this command, follow these steps.
1. Choose View > Inclined Section >
Arbitrary Plane to open the Arbitrary Plane
Editor.
2. Enter the co-ordinates.
3. Click OK.
Plan View
Choose this View > Plan View to
access a list of commands that allow
you to define or select a plan view. A
plan view is a horizontal plane with a
specified elevation. You can choose a
plan view in one of the following ways:
Looking Down
Use this command to define a plan view when you
want to view it from the top, looking down.
To use this command, follow these steps.
1. Choose View > Plan View > Looking Down. A data entry field showing the elevation of the plan
view will appear on the status bar.
2. The location of the plan view will be graphically displayed as a rectangle around the bounding box of
your data. If you have projection distances defined, these will appear as parallel rectangles above
and below the plan view. To define the location of the plan view, you can use the mouse to slide the
rectangle up or down, or press BACKSPACE to explicitly type in the elevation on the status bar.
3. Click the mouse to to fix the plan view elevation.
4. Click Yes to accept the setting, or No to reset the position. At this point, you may wish to choose
other commands to view the section in 2D mode or set new projection distances.
Select Graphically
Use this command to graphically select a previously defined plan view. This command only works in 3D
mode.
To select a plan view graphically, follow these steps.
Create Sections
Choose View > Create Sections to
access a list of commands that
enable you to create sections for
viewing your data.
Parallel Sections
Use this command to create a set of parallel planes (i.e. vertical sections, inclined sections, plan views).
When you use this command to create a set of parallel planes, the current active view plane is used as
the first plane in the series, and all subsequent planes are parallel to that view plane. You must,
therefore, ensure that you have correctly defined your current view plane before using this command.
To create parallel sections, follow these steps.
Along Line
Use this command to create a series of sections along a line. To create a section from the current view,
follow these steps.
9. In the Project View Area, switch to the Profiles tab, and expand the Vertical Sections icon to show
the nine vertical sections.
10. Right-click on any one of the sections, and select Properties. What do you notice about the Series
and Sequence numbers?
2. Choose Drillhole > Select > Select and Snap Settings, use the following criteria:
Table LITHO
Position From
3. Choose Drillhole > Select > Deselect All Drillhole Intersects. Review the results on screen.
4. Choose Drillhole > Select > Select Drillhole Intersects by Field Value, using the following criteria:
Table Name LITHO
Field Name ROCK_TYPE
Text 9b
Position From
Occurrence First
5. Choose View > Inclined Section > Plane through 3 Data Points.
6. Click on any three drillhole intersects.
7. Choose View > Create Sections > From Current View and name the section 9B.
Time to complete: 10 minutes
Review
Use this review to test your knowledge on what you just learned.
1. What are the three types of view definitions you can define in GEMS? How do they differ?
4. How can you override (not overwrite) the ‘corridor thickness’ of a section definition?
• Desurveying Data
• Cross-Referencing Data
• Creating the Point Area
• Viewing the Point Area
• Using the Point Area
Desurveying Data
When you extract data from any workspace, the location of the record being extracted will be determined.
This location is either determined from the contents of a co-ordinate field in the table being extracted, or it
is calculated by desurveying a combination of data in other workspace tables.
Point Workspaces
If you are creating a point area from a point workspace, the location of the sample in the point area
comes directly from the contents of a co-ordinate field called LOCATION. This field must be in the table
being extracted.
Traverse Workspaces
Traverse workspaces are used to describe data located along straight lines in two- or three-dimensional
space. These lines can be defined using a starting co-ordinate, a traverse length, and an azimuth and
optional dip angle; or a starting and an ending co-ordinate. Samples are stored in the header table in
length, length and dip, or location format.
• Data in the header table: All the data stored in this table describes the traverse as a whole. When
extracting data from this table, one point is extracted per traverse. The co-ordinate of this point is
obtained directly from a co-ordinate field called LOCATION.
If your traverse workspace has secondary tables, data will be extracted from these tables as described
follows:
• Secondary table data in distance format: This format is used to describe data at points along the
traverse line. The value stored in each record in the DISTANCE field defines the distance of the
point sample from the start of the traverse. Each record in this table will create one point in the
point area.
The co-ordinate of each point is determined by simple geometry, using the starting point of the
traverse, the direction of the traverse, and the distance along the traverse to the sample.
• Secondary table data in interval format: This format is used to describe data that is recorded for
intervals along each traverse line. The value stored in each record in the FROM field describes the
distance from the starting point of the traverse to the start of the interval. The value stored in the
TO field describes the distance to the end of the interval. Each record in this table will create one
point in the point area.
The co-ordinate of each point is determined by simple geometry, using the starting point of the
traverse; the direction of the traverse; and either the FROM value (the start of the interval), the TO
value (the end of the interval), or the average of the FROM and TO values (the mid-point of the
interval).
• Secondary table data in point format: This format is used to describe data at points along the
traverse line. The value stored in each record in the LOCATION field defines the 2D or 3D
co-ordinates of the point sample. Each record in this table will create one point in the point area.
Drillhole Workspaces
Drillhole workspaces are used to describe data that is located along surveyed lines. These lines are
located in three-dimensional space by a starting point with a known location (generally the collar of the
drillhole) and survey data consisting of azimuth and dip angles measured at intervals along the drillhole.
Samples are stored in the header table or in secondary tables in distance, interval, or point format.
• Data in the header table: All the data stored in this table describes the drillhole as a whole. When
extracting data from this table, one point is extracted per drillhole. The co-ordinate of this point is
obtained directly from a co-ordinate field called LOCATION.
• Secondary table data in distance format: This format is used to describe data at points along the
drillhole. The value stored in each record in the DISTANCE field defines the distance of the point
sample from the start of the drillhole. Each record in this table will create one point in the point
area.
The co-ordinate of the point in the point area is obtained by calculating a complex
three-dimensional line, using the collar of the drillhole, the survey data, and the distance along the
drillhole to the sample. This three-dimensional line undergoes smoothing to ensure a gradual curve
is introduced between each survey point.
• Secondary table data in interval format: This format is used to describe data that is recorded for
intervals along each drillhole. The value stored in each record in the FROM field describes the
distance from the collar of the drillhole to the start of the interval. The value stored in the TO field
describes the distance from the collar of the drillhole to the end of the interval. Each record in this
table will create one point in the point area.
The co-ordinate of the point in the point area is obtained by calculating a complex three-
dimensional line. This requires the collar of the drillhole; the survey data; and either the FROM
value (the start of the interval), the TO value (the end of the interval), or the average of the FROM
and TO values (the mid-point of the interval). This three-dimensional line undergoes smoothing to
ensure a gradual curve is introduced between each survey point.
• Secondary table data in point format: This format is used to describe data at points along the
drillhole. The value stored in each record in the LOCATION field defines the 2D or 3D co-ordinates
of the point sample. Each record in this table will create one point in the point area.
Polygon Workspaces
Polygon workspaces are used to describe data that refers to polygons as complete entities. For this
reason, data in polygon workspaces is generally not appropriate for point areas, which store data for
individual points.
Cross-Referencing Data
When working with drillhole or traverse workspaces, you can extract data from secondary tables other
than the table being extracted. You can also define selection criteria for one field in one table other than
the table being extracted. This is done by cross-referencing to another table.
There are two relationships between records in different secondary tables:
• Through the header table: Each record in a secondary table is “owned” by a record in the header
table. This is done through the one-to-many relationship defined by the hierarchical nature of the
workspace. A record in one secondary table can only be related to a record in another secondary
table if they are both “owned” by the same record in the header table.
• Through the location of the records: The data in each record in a secondary table defines a
unique location along the traverse or drillhole. These locations are defined by the values in either
the DISTANCE fields (distance format) or in the FROM and TO fields (interval format). A record in
a secondary table is only related to a record in another secondary table provided that they are
“owned” by the same header record and one of the following conditions is met:
♦ Both secondary tables are in interval format: The average of the FROM and TO values in
the first table lies between the FROM and TO values in the second table.
♦ The first table is in distance format and the second table is in interval format: The
value in the DISTANCE field in the first table lies between the FROM and TO values in the
second table.
♦ The first table is in interval format and the second table is in distance format: The
value in the DISTANCE field in the second table lies between the FROM and TO values in
the first table.
♦ Both tables are in distance format: The value in the DISTANCE fields in both tables must
be equal.
In this case, the ASSAYS table is the controlling table. The cross-reference table is the LITHOLOGY
table. Each record in the point area will come from each record in the ASSAYS table. The real value in
the point area will come directly from the value in the GOLD field in the ASSAYS table. The integer value
in the point area will come from the integer field called ROCK-CODE in the LITHOLOGY table, using the
record whose FROM and TO values are less than and greater than the average of the FROM-TO values
in the ASSAYS table.
Example of cross-referencing
If cross-referencing is being used to define selection criteria, the values in the cross-referenced record
and field will be used to determine whether the record in the table being extracted will be selected or not.
Using the same example as previously, the following cross-reference selection criteria has been added:
In this example, records from the ASSAYS table will only be extracted when the string value in the
ROCK-TYPE field in the LITHOLOGY table for cross-referenced records starts with the characters PY. If
the string in the ROCK-TYPE field starts with any other character combination the ASSAYS table record
will not be extracted.
Workspace Tab
In the Workspace tab, specify the target
workspace and name of your point area. Enter
the following parameters:
Data Tab
In the Data tab, define which data is to be
extracted. Enter the following parameters:
Location tab
In the Location tab define upper and lower
bounds for the Easting, Northing, and
Elevation co-ordinates for extracted data. In
this way, you can limit the data extracted to a
specific location in space.
If upper and lower bounds are left at their
default values of 99999999.00 and
-99999999.00, data from all locations will be
extracted, subject to any filtering restrictions
set under the Filter tab.
Filter Tab
In The Filter tab, you can filter extracted data
by specifying selection criteria for any of the
fields in the Header table and the tables
selected under the Data tab as the extraction
table and the cross-reference table (if
indicated). Only data from records meeting
these selection criteria will be extracted to the
file.
If the parameters under this tab are left blank,
data will be extracted from all records (subject
to any spatial restrictions set in the Location
tab).
Enter the following parameters as required for
each field you wish to use to filter the
extraction data.
Note: The fields selected here do not have to be
the fields that contain data to be extracted.
• Field: Select the name of the field that
contains the data you wish to use to
limit data extraction.
• Axis: Select X, Y, or Z if you specified a co-ordinate field above.
• Lower Bound and Upper Bound: If the field you specified is any type of field other than a
character or logical field, you can specify lower and upper bounds for the data. Any records
containing data in the field that fall outside of these bounds will not be added to the point area.
• Matching String If the field you specified is a character or logical field, you can specify a character
string that the field must contain in order for data from that record to be extracted. You can use the
wild card characters * and ? in matching strings.
Function Description
Symbol plots You can prepare plots with symbols at each point, annotated with values
from any of the fields in the point area on plan views, vertical sections,
inclined sections, or surface maps.
Univariate statistical analyses You can calculate univariate statistics, frequency distribution analyses,
prepare histograms, cumulative frequency graphs, and probability plots
from any of the numeric fields in the point area.
Three-dimensional semi-variogram You can calculate up to 12 three-dimensional experimental
analyses semi-variograms on the point elevation, the real field, or the integer field of
the point area.
Grid creation You can create gridded surfaces on plan views, vertical sections, inclined
sections, or surfaces from the points and values in any numeric field in the
point area.
Polygonal reserves You can use the point data in a point area to create polygons containing
ore reserves data.
Create three-dimensional block The point area is used as input for grade modelling functions. Block models
models are created from assay or composite data extracted from drillhole
workspaces.
Create surface topography models As an alternative to creating the surface topography models in GEMS, you
can create surface topography models using a variety of gridding
techniques.
Create layer models Layer or seam models can be created using information about geological
contacts between layers extracted from drillhole workspaces.
Create other gridded models The two-dimensional grid creation and manipulation tools in GEMS use
point areas as input.
Compositing Calculation
The general formula for calculating composite values is:
composite =
∑ Vi * Li * Wi + ∑ Bk * Lex i * Wi + ∑ Bk * Limi * Wbk
∑ Li * Wi + ∑ Lex i + ∑ Limi
Where
Bk Background value
Drillhole-Solid Compositing
GEMS allows you to perform a specific method of compositing where composite limits (FROM-TO
downhole distances) are based on the entry and exit point of drillhole traces through solids and surfaces.
The program calculates the intersection of each drillhole with the solid(s) or surface(s) and allows you to
save the results to user-specified fields of a workspace (or to an ASCII file). In general, the entire drillhole
length inside each solid will be composited into one interval. GEMS will save the FROM values (the
downhole distance to the entry point into a solid) and the TO values (the downhole distance to the exit
point from a solid). Each new interval can then be assigned a composite value.
The main functions of this type of compositing include the following:
• Drillhole grade data may provide an alternative estimate (or a useful check) of a solid’s grade. It
may also be used in the preliminary stages of project evaluation to quickly estimate an in-situ
resource (just as the polygonal resource method may be used when modelling 2D planes).
• If no rock type information was logged and stored in a workspace table, the solid intersections can
be used to populate a rock type field in a workspace table.
• It may be necessary to constrain drillhole compositing operations within certain domains (for
example, within certain rock types or mineralised zones). By intersecting drillholes with solids,
these domains (the actual drillhole length inside the domain) can be automatically calculated and
the workspace updated with this new information.
• In cases where GEMS is used for underground mine planning, drillhole-solid compositing may be
used for visual inspection of the relationships between drillholes and other objects (such as
stopes), and for calculating exact points of intersection (for example, where a drillhole may pass
though an access tunnel).
If you want to create composite intervals from drillhole-solid intersections, but do not want to update the
composite table in the workspace, you can use the Drillhole > Compositing > Create ASCII File of
Drillhole/Solid Intersections command to store the drillhole-solid composite information in an ASCII file
instead.
In order to perform drillhole-solid compositing, the following additional requirements must be met.
• If you plan to update your workspace with the FROM-TO (and, optionally, rock type) information
resulting from the drillhole/solid intersection process, you must make sure there are fields allocated
within the workspace table structure to store this information. If these fields were not defined when
the workspace structure was created, you will need to add them.
• You must have prepared a drillhole loading profile that specifies which elements will be used for
the drillhole compositing. You must also have defined a drillhole display profile for the drillhole
data. As well, you should create loading and display profiles that will be suitable for viewing the
new composite data after creating it.
• You must have defined rock codes and grade elements for your project.
• You must have created one or more solid or surface that will be used for the drillhole-solid
intersection calculation.
Drillhole Workspace
The commands in the Drillhole >
Compositing submenu use the
selected workspace, except for the
commands Assign Grades to
Solids from Drillholes and Update
Workspace with Drillhole/Solid
Intersections.
For these two commands, the
drillhole data must be loaded from
the workspace. If multiple
workspaces are open, these
commands operate as though all
workspaces are simultaneously
selected.
Validating Intervals
Before you try to calculate any composites from a workspace, you should validate the intervals in the
source tables that you intend to use. Validating these tables will check for the following possible
problems:
• Any intervals that have a length less than or equal to zero. (The length is the value in the TO field
minus the value in the FROM field.)
• Any interval that is out of sequence. This occurs when the value in the FROM or the TO field is less
than the corresponding value in the previous record.
• Any portion of the hole that does not have an interval defined.
The validation process will produce a record-by-record report of all inconsistencies. The report may be
directed to the screen, to the printer, or to a text file.
To validate your data prior to preparing composite intervals, choose Workspace > Validate Data >
Validate Drillhole or Traverse Data.
Compositing Profiles
Before you can composite any data, you will have to define a compositing profile. A compositing profile
stores the compositing parameters, the source table and field names, the target composite fields names,
the weighting method, and treatment of missing samples. Each profile is given a name, and you can
define as many profiles as you want. When you want to calculate some composite values, you select the
profile that you want to use from a list or by entering its name.
Follow these steps to define a compositing profile.
♦ Composite table: Select the target table that will contain the field for calculated length and
composites.
♦ Length field: Select the target field for the calculated composite length. The calculated
length is determined by the sum of the lengths of all accepted intervals in the source table
that you define. This may or may not be equal to the total length of the composite interval,
depending on the number of missing samples in the source table.
♦ Minimum sample length percentage: You can set a threshold value on the calculated
composite lengths as a percentage of the total composite length. If the calculated length of a
composite is less than this threshold, you can optionally delete the composite interval from
the composite table.
♦ Delete composite intervals where sample length percentage is less than Minimum: If
this option is selected, calculated lengths shorter than the threshold specified above will be
automatically deleted from the composite table. If it is not selected, the Minimum sample
length percentage parameter is ignored.
♦ Use background value for explicit missing samples: An explicit missing value is a value
for which the interval in the source table is defined by values in the FROM and TO fields (in
other words, there is a record present in the source table for the interval); however, there is
no value present in the source field. This will be indicated by a special entry: Not Entered,
Not Samples, Insufficient Sample, Not Calculated, or Error.
If this option is selected, the background value specified for the field will be substituted for the
missing special value and the length of the interval will be obtained from the values in the
FROM and TO fields. If the option is not selected, the composite will be calculated without
using the missing sample.
♦ Use background value for implicit missing samples: An implicit missing sample is one
for which the interval (in other words, the record) does not exist in the source table.
If this option is selected, the background value defined for the field will be used, together with
the calculated length of the missing record. This length is defined by the distance between
the end of the preceding record and the start of the following record. If the option is not
selected, the composite will be calculated without using the missing sample.
♦ Composite Parameters: For each field that contains data you wish to composite, enter the
following parameters, as applicable:
− Destination Field: Select the name of the target field for the composite data.
Destination fields must have the same data type as source fields.
− Source Table: Select the name of the table containing the field from which the data to
be composited will be taken.
− Source Field: Select the name of the field containing the data to be composited.
Source fields must have the same data type as destination fields.
− Source Background: Enter a background value to be substituted for missing values,
if desired.
− Weighting Field: The standard weighting factor is the length of the original sample
interval. However, another method of weighting is to multiply the length of the original
sample by a value found in another field (thickness calculation or specific gravity, for
example) in the same source table. This value is known as the weighting factor.
Select the name of the field that contains the weighting factor, if you are using one.
− Weighting Background: Enter a value to use if the value in the weighting field is
missing. If no extra weighting is required, then the default value for weighting is set to
1.
5. Click Apply to save your profile definition.
6. Repeat steps 2 to 5 to add more profiles.
7. When you are finished, click OK.
Method Description
By plan view The composite intervals are determined from the intersection of the
drillhole or traverse with plan views.
By equal length You can define a constant length that will be used for each composite.
By length within intervals from This method combines the intervals from another table with the length
another table method. Composite intervals are first determined by directly transferring
the intervals from any other table in interval format. The intervals are then
subdivided further into intervals of constant length, starting either at the
beginning or the end of the previously defined intervals.
By intervals from another table The composite intervals are determined by directly transferring the
intervals from any other table in the workspace that is in interval format.
By merging intervals from two The composite intervals are created by combining the FROM and TO fields
tables from two source tables.
By a single cut-off value The composite intervals are obtained from combined intervals (in a source
table) whose values (in a selected field) are greater than a specified cut-off
value.
By multiple cut-off values The composite intervals are created based on two cut-off values (waste
and ore-waste) and a strip ratio. The waste cut-off value determines the
initial waste layer. The ore-waste cut-off value determines the subsequent
ore and waste layers.
By grouped similar values The composite intervals are created by grouping records that contain
similar consecutive values to form new FROM and TO intervals. The
grouping fields can be either numeric or string formats.
By optimal value This method is similar to the single cut-off value method, except that waste
material can be “carried” in order to meet the minimum composite length.
The command you select to prepare the composite table will normally depend on the morphology of your
ore body, and the type of resource calculation that is ultimately required. For more information on these
various compositing methods, see the GEMS Help topic Preparing the composite table.
Calculating Composites
Once you have created the composite intervals in the composite table you can calculate the actual
composite values. Each composite value can come from a separate source table and can be calculated
using an individual weighting method and treatment of missing samples. You can composite up to 25
separate fields in a single pass, and you can make as many passes as you want.
Thickness Calculation
Choose Drillhole > Compositing > Thickness Calculation to calculate true, horizontal, and vertical
thicknesses based on a specified strike and dip angle. You can perform thickness calculations on drillhole
or traverse workspaces. The calculations are based on an average planar surface that is located relative
to an interval of a drillhole or a traverse. The orientation of the plane is defined by the average strike and
dip angle. The true, horizontal and vertical thicknesses are calculated for selected intervals in a drillhole
or traverse workspace by computing the angle differences between the drillhole interval and the average
dip and strike angles.
The following image shows a sectional view of the same solid and drillhole (as the previous image), but
the background option is used. In this image, the missing assay lengths and background values are
included in the solid grade calculation, effectively reducing it from 6.0 to 3.86.
AU(OZ/T) Real
C_LENGTH Real
COMP-ID (select from picklist) String
NAME1 String
NAME2 String
NAME3 String
ROCK_TYPE String
10. Choose Drillhole > Compositing > Calculate Composites, and use the following criteria:
2. Open the GeoSolids workspace in the Graphical Work Area. Select all records.
3. Choose Drillhole > Compositing > Update Workspace with Drillhole/Solid Intersections.
4. In the Update Workspace with Drillhole/Solid Intersections window, map the following fields:
Table for Intersects COMPOSITE
Field for Solid Name1 Name1
Field for Solid Name2 Name2
Field for Solid Name3 Name3
Field for Rock type ROCK_TYPE
AU AU(OZ/T)
Review
Use this review to test your knowledge on what you just learned.
1. What are the five key things that you should have in place prior to compositing?
Using Points
In GEMS, you can use point data to do the following:
• Validate data: You can load points from a point or point-area workspace. You can also assign
colour profiles to any of the fields in the workspace tables. This lets you visually check the data and
spatial validity of any fields prior to subsequent operations (such as kriging or surface creation).
• View control stations: can view survey control station locations to check their positions relative to
other data.
• Snap to points when digitising: During all 2D and 3D digitising operations, you can "snap" onto
points to obtain an exact co-ordinate value.
• Create surfaces: You can use the information associated with points loaded from a point or point-
area workspace to create surfaces.
• Set 3D target and camera positions: You can “snap” onto points for setting both the target and
camera position. This is very useful when setting views for 3D rendering and plotting.
• Create a view plane: You can fit a view plane through any three points.
• Carry out univariate statistics and variogram modeling (point-area workspaces only).
Point Workspace
The point workspace is an older workspace type that was originally used for working with point data.
Since GEMS has evolved, the point-area workspace has become the workspace of choice for working
with point data.
Point data is stored in a single table.
Point-area Workspace
The point-area workspace is the preferred workspace type for working with point data. Point-area
workspaces have greater flexibility than the point workspace by providing more features, such as:
The point-area workspace also contains "groups" of points that you save to point areas and consists of
two tables (generally, a HEADER table containing information relevant to each group of points and a
LOCATION table containing information relevant to each individual point).
Because of these features, it is recommended that you use the point-area workspace when working with
point data. The remainder of this chapter only refers to the point-area workspace.
Displaying Points
When you display points, you must create the following:
• A colour profile for the data you want to display (see the chapter on Profile and Profile Groups for
more information).
• A point-area profile that defines how to display each point. This includes:
♦ The field variable(s) to display.
♦ The colour, symbol/shape, and size of each point.
♦ The text label size, colour, and number of decimal places (if applicable).
Submenu Description
Data Enables you to close all or selected points or to create a new point area.
Create Enables you to create new points.
Edit Enables you to modify existing points.
Select Activates and de-activates points and control stations.
Display Defines how points and control stations are displayed on-screen.
Data
Choose Point > Data to view a submenu
containing commands that enable you to close
points or create a new point area within the same
workspace
Create
Choose this command to create points. When you select this command GEMS opens a Create tab to the
left of the graphics area. You can then digitise new points using your mouse in the graphics area or using
a digitiser tablet.
Note: To be able to create points, you must select a view plan and be in 2D mode.
Creating Points
To create points follow these steps:
1. Open the point-area workspace that you want to use.
2. Select a view profile.
3. Switch to 2D viewing mode.
4. Choose Point > Create to open the Create tab to the left of the graphics area.
Edit
Choose Point > Edit to view a submenu
containing commands that enable you to edit,
delete, or move point data. The commands in
this menu also allow you to work with point data
with surfaces or block models.
Select
Choose this command to view a submenu containing commands for selecting and deselecting points in
the graphics area.
When you first load a point, it is active. Select and deselect commands are all accumulative—selecting
one set of points will not deselect another set of points that are already active.
Before using a solid or surface as a point selection boundary, you must load it, and it must be active in
the session.
The following table provides a description for each select command.
Display
Choose Point > Display to view a submenu
containing commands that enable you to hide
deselected points or choose Display Overrides to
scale all points using a factor making them easier
to see.
Display Overrides
You can use this command to apply a scaling factor to the points so that you can see them better.
13. In the Project View area, add the workspace to the Point areas item.
14. Create a colour profile for gold values with the following criteria.
Profile name AU
Description Training Gold Profile
Type Values
In the Attribute grid, for each point enter some gold grade values.
18. Save the point-area workspace.
19. Create a second group of 5 to 10 points with the following criteria:
Workspace TempPoints
Name Group2
Display profile AU
Attributes grid
Tag Autoincrement
Click Browse
Prefix A
Suffix Test
• Types of Polylines
• Rules for Creating Polylines (for Solid Creation)
• The Project View
• The Polyline Menu
Types of Polylines
GEMS supports four types of polyline:
Rule
Start simple, then add detail As a rule of thumb, it is always best to start off with a very basic design,
and only then add more detail.
Avoid close vertices While GEMS does come equipped with polyline grooming tools, it is best to
avoid digitising vertices very close to one another. This will make it simpler
to make adjustments to your design early on
Avoid acute angles An acute angle may cause problems later in the solid construction phase.
To avoid this, fillet your corners with three or more vertices.
Do not criss-cross line segments
Create polylines with similar vertex This is primarily of importance when creating polylines for solid modelling.
density As a general rule of thumb, adjacent polylines ought to have similar vertex
spacing (not necessarily numbers of vertices).
Opening/Closing Polylines
To open or close polylines stored in a particular workspace, follow these steps.
Saving Polylines
To save polylines to their respective workspace, follow these steps.
Command Description
Data The commands in this menu provide different options for closing polyline data.
Create The commands in this menu provide facilities for creating new polylines using the mouse or digitising
tablet.
Command Description
Vertex The commands in this menu provide operations for editing of vertices including moving, deleting,
inserting, etc.
Line The commands in this menu provide operations that work on a single line at a time, including
deleting, moving, copying, etc.
Multiline The commands in this menu provide operations that work on many lines at once, including deleting,
moving, copying, etc.
Select The commands in this menu provide facilities for activating polylines based on their attributes.
Display The commands in this menu define how polylines are displayed on-screen.
Utils The commands in this menu provide operations to review polyline status and profiling.
Data
Choose Polyline > Data to access a list of commands for
closing your polylines for the active worspaces. You can
close all your polylines, or specific polylines (status lines,
3D rings, or tie lines).
Create
Choose Polyline > Create to access a list
of commands for creating new polylines
using the mouse or digitising tablet.
The procedure for all line creation is
essentially the same. Simply place the
cursor onto the location of the new point and
click the left button. If you are using a
digitising tablet, move the digitiser to the
desired tablet location and click a button.
When the line is complete, right click the
mouse to save the line. Press C on your
keyboard to close the line. Depending on
the line type you are creating, you may be
asked for plane/line/elevation information at
various points during the digitising process.
When using a mouse, all line creation commands support point snapping, where the exact co-ordinate
value from an existing point will be used for the new point if the cursor is within a certain tolerance of the
existing point.
When digitising polyline data in 2D mode, points are digitised in 2D co-ordinates local to the current 2D
view plane. All elevation co-ordinates (Z) are also local to this plane. Positive elevation values are in the
“towards” direction and negative elevation values are in the “away” direction, except when digitising in a
2D plan view (when elevation values are true elevations and not relative elevations). GEMS automatically
transforms all local co-ordinates into 3D co-ordinates for you.
You can use the first four commands on the Create submenu to create four main types of line:
Command Description
Contour Line These are lines of constant elevation. Only a single elevation is input for the
Command Description
entire line.
Feature Line These lines can be of varying elevation. If the new point "snaps" onto an
existing point, the elevation of that point will be used; otherwise, the program
will prompt for an elevation value.
Constant Gradient Line These lines are created like contour lines but the varying Z value is
automatically calculated based on a given gradient value and the digitised line
length.
Feature Line From Selected These lines are created from points.
Points
After choosing any of these four commands, you will remain in Create mode until you select a different
command or press ESC. This means you can continue to create multiple contour, feature, or constant
gradient lines or clipping polygons without having to reselect the command before each line.
Tip: Tagging polylines is useful when you want to identify them as part of a group.
The final seven commands in the Create submenu are only activated after you digitise a new polyline.
Vertex
Choose Polyline > Vertex to access a list of
commands for manipulating vertices, or points on
existing polylines. These operations can be performed
on any vertex at any time; it is not necessary to first
select a line before choosing a Vertex command.
All Vertex commands work in 2D or 3D mode. All
Vertex editing modes remain in effect until you choose
a different command or press ESC.
If you select a vertex that exists on more than one line,
you can easily toggle through the lines until you have
selected the one on which you want the edit operation
performed.
For example, if a particular vertex is shared by a toe and crest line, and you select that vertex in a
Vertex > 2D Move operation, GEMS will issue a sharp beeping sound and redraw one of the lines in a
highlighted colour. Then click the mouse to select the highlighted line and precede with the edit operation
or right-click the mouse to highlight the next line containing the selected vertex. Keep right-clicking until
the desired polyline is highlighted, then click the mouse to edit the line.
When you are working in 2D-view mode, remember that co-ordinates and co-ordinate axes are measured
relative to the local plane. If, for example, you are working on a vertical section, the Z value or elevation
of a vertex refers to its distance from the plane (positive is in front of the plane, negative is behind), not to
any intrinsic height above a real world datum.
Line
Choose Polyline > Line to access a list of
commands for performing operations entire
polylines. All Line commands work in 2D or 3D
mode and all Line editing modes remain in effect
until you choose a different command or ESC.
You can select lines either by snapping onto any
point on the desired line or snapping to any
segment of the line. If more than one line falls
within the snapping radius of an editing selection,
you can easily toggle through the lines until you
have selected the one on which you want the edit
operation performed.
For example, if a particular segment is shared by a
toe and ramp line and you select that segment in a
Polyline >Line > Delete Entire operation, GEMS
will display a record selection window highlighting
the multiple polylines. You may either continuously
right-click anywhere on screen to toggle through
the list of polylines, or manually select the polyline
from the list.
Multiline
Choose Polyline > Multiline to access a list of
commands for performing operations on many
lines at once. Similar to the Line commands, lines
can be selected, either by snapping onto any point
on the desired line or snapping to any segment of
the line. All Multiline commands work in 2D or 3D
mode, and all Multiline editing modes remain in
effect until you choose a different command or
press ESC.
Select
Choose Polyline > Select to access a list of commands
to help you activate a subset of polylines in the work
area. It may be necessary to limit the number of polylines
that are active in the work area for the following reasons:
GEMS provides several ways to activate/deactivate polylines based on their name attributes. When
polylines are selected using these name attributes, both the plane and the line type/rock code attribute
must be active for the line itself to be active. Inactive lines can be visible or hidden (depending on the
current display setting found on the Display submenu), but you can never interact with them for snapping
or surface creation.
Display
Choose Polyline > Display to access a list of
commands that provide several options to
enhance the display of your polyline data.
Utils
Choose Polyline > Utils to access a list of commands
to generate report on your polyline data.
2. Choose Drillhole > Select > Select and Snap Settings to highlight the “From and To” positions in
the ASSAY table.
3. Switch to a 2D view, and select vertical section 10700E as the active section.
4. Choose Polyline > Create > Contour Line. In the Polyline Creation Options dialog box, select 3D
Rings.
5. You are now in polyline creation mode (verify this by looking at the command prompt on the Status
Bar). Begin by snapping to the outer limits (either ‘footwall’ or ‘hanging wall’ side) of the high grade
zone (coloured in Red and Magenta), and continue until you have almost completely enveloped the
zone. Refer to the section earlier, Rules for Creating Polylines. See the following example.
7. Repeat steps 3 to 6 for the remaining vertical sections. Since you’ve checked the final option in step 6
(While digitising, use the same workspace), GEMS will automatically use these settings for each
polyline.
8. Right-click the Geology workspace in the Project View Area, and select Save.
9. Close any open workspaces.
Time to complete: 20 minutes
Review
Use this review to test your knowledge on what you just learned.
1. At a minimum, what are the two profiles do you require prior to creating polylines? (Hint: both are
found in the Format menu).
2. What are the four types of polylines that you can create in GEMS? What are their uses?
4. You are importing four ASCII polyline files into a GEMS polyline workspace, each of the four files
containing 3D rings representing the identical rock code. How can you differentiate which file the four
groups of polylines originated from, now that they are all stored in the same workspace?
• Original topographies
• As-mined topographies
• Pit designs
• Dump layouts
• Sub-surface structures such as geological structures, faults, or lithological contacts.
In GEMS, you can create surface models using a triangulated irregular network (TIN), and then display
and manipulate the models.
This chapter covers the following topics:
• Surface Features
• Opening Surfaces
• Creating Surfaces
• Displaying Surfaces
• Checking Solid/Surface Validity
• Reporting Surface Volumes
Surface Features
Triangulated surfaces have many characteristics that differentiate them from other computerised surface
models:
• Each data input point will be used as a vertex of at least one triangle, so the surface always exactly
honours the input data.
• All polylines representing distinct surface features, such as toe and crest lines (known as
breaklines), will be honoured in the triangulation.
• Triangles will be as close to equilateral as possible while still maintaining edge integrity.
• The boundary of the surface will be a convex polygon that encompasses all input points.
• The surface will not have any holes in it, unless a clipping operation is performed after initial
surface creation.
As triangulated surfaces generally provide the best possible surface representation of topographical data,
they have many uses in mining operations.
Opening Surfaces
Follow these steps to open surfaces for operations in graphics mode:
1. In the Project View Area, find the triangulation workspace containing the surfaces you want to open.
2. Right-click the workspace, and select Open to open the Open Workspace dialog box.
3. Click Open to open the Specific Records (Detailed) dialog box.
4. Select the record(s) you want to open or click Select All to open all records.
5. Click OK.
6. Once surfaces have been opened in the work area, you may use the Surface >Data menu to
manage which surfaces are visible.
Creating Surfaces
GEMS lets you create surfaces using active data consisting of discrete points (such as drillhole
intersects, spot heights, or sample locations) and polylines representing breaks in slope (such as surface
contours, bench crest lines, or bench toe lines). These surfaces are created as a series of connected
triangular panels, also known as a triangulated irregular network. The surface is able to preserve all the
breaks in the feature lines used to make the triangulation. A triangulation surface gives the best
approximation of surfaces for subsequent operations such as volume calculations.
You can also create surfaces using the Laplace gridding method.
The triangulation process can operate in either the XY plane (in plan), which is the most common method
for modelling topographic data; or in a local plane fitted through the data, which is the best way to
accurately model sub-surface, near vertical, or overturned structures.
Features
The main features of using Laplace gridding are as follows:
• Gridding can be done on any plan. Grids on plan views, vertical sections, and inclined sections can
be handled with equal ease.
• Different types of data can be used when making a single grid (for example, drillhole collars,
contours, and control stations can all be used together to make a grid of surface topography).
• All the data used for the gridding process can be visually checked for correctness, both in 2D and
3D.
• The process is graphical so the results of the gridding can be seen immediately, both in 2D and
3D.
• The results can be saved in a number of different formats, allowing the results to be used by other
GEMS systems.
• There is no size limit to the grid; the amount of data used for gridding and the size of the grid itself
is limited only by available memory.
Data Points
Laplace gridding allows you to create a grid on the current view plane using the same active data points
as other surface creation commands, including:
Advantages
Laplace gridding has a number of advantages over other interpolation methods (such as inverse distance
and kriging):
• It is robust, in that a grid will be produced regardless of the input data, unless data values exist in
all grid cells or there are no data points in any grid cells.
• There is no logical limit on the number of input data points. GEMS has successfully interpolated
data points in excess of 80,000.
• The method is not particularly sensitive to the distribution of input points. Lines or clusters of points
do not give rise to any special problems.
• The time taken to create a grid does not depend significantly upon the number of input data points.
It can even turn out that the run time for creating the grid will decrease as the number of points is
increased. You can expect run times from a few minutes to a maximum of about two hours.
• The grid has a smooth appearance and produces smooth looking contours. (This may not always
be an advantage, depending upon the nature of the input data.)
• The degree of smoothing (bi-cubic spline) is user–specified.
One disadvantage, however, is that the accuracy of the resulting grid cannot (as know to date) be
quantified in statistical terms. You must study the resulting grid visually and subjectively to decide
whether you are happy with its appearance.
Pros Cons
Laplace gridded surfaces Easily set up to coincide with block Original data points usually not
model or seam model. preserved in final grid.
Effectively fills in areas of sparse or
missing data.
Surfaces created from Preserves the original points. Yields poor results when data points
active data are dispersed and/or irregularly
distributed. Large triangles will be
created.
Displaying Surfaces
Choose Surface > Data > Select Surfaces from List to open the Active Surface/Solid dialog box where
you can activate or deactivate the display of selected surfaces.
Display Overrides
Choose Surface >Display Overrides to open the
Triangulations Display Overrides where you can suppress
the display of all surfaces and solids while showing the
polyline of intersection between the surface or solid and
the current view plane, or to permit normal display of
active surfaces and solids.
The options in the dialog box can help you display the
data in a much clearer view in cases where only the
intersection is needed (for example, viewing only the
section/surface intersection when digitising in 2D).
In the Triangulations Display Overrides dialog box, you
can enable the Draw triangulations as projections (as
if its lines are pressed onto a plane) option to display
the outlines of surfaces projected onto the current view
plane, without suppressing display of the surfaces
themselves.
Properties
Choose Surface > Properties to check or modify solid or surface attributes such as Category (Geology,
Excavation, or Surface), colour, and grade value.
Caution: If GEMS finds errors, you must check your data and modify the solid or surface if you
plan to use the surfaces for volumetrics.
2. Choose Drillhole > Select > Select and Snap Settings, using the following criteria:
Table HEADER
Position Collar
3. Choose Drillhole > Select > Select All Drillhole Intersects. Review the results on screen.
4. On the toolbar, click Large Projection to view all the data.
5. Choose Surface > Create > Create Surface from Active Data, and use the following criteria:
6. Create Triangulation Surface From Data dialog box:
Workspace GeoSolids
Name1 Topo
Category Topography
Use this panel colour (in the Display section, Brown
click Modify)
7. Choose Solid > Utils > Check for Errors to verify the surface. Click on the surface to verify.
8. Right-click the GeoSolids workspace and choose Save, and Close.
Time to complete: 15 minutes
Table LITHO
Field ROCK_TYPE
Text 9b
Position From
Occurrence First
Row Height 10
Column Width 10
Interpolate Displayed Grid? Yes
Gemcom Grid Save Options Gemcom Surface TIN
Solid Workspace Name GeoSolids
Name1 9b
Name2 HW
Category Seam Surface
Panel Colour Green
5. Choose Solid > Utils > Check for Errors to verify the surface. Click on the surface to verify.
6. Right-click the GeoSolids workspace, and choose Save, and Close.
7. Repeat Lab Exercise: Creating Basic Surface using the Laplace Gridding method on plan view 11A.
Save the surface as “Topo2”.
Time to complete: 15 minutes
Review
Use this review to test your knowledge on what you just learned.
1. Compare the results from the two lab exercises. How do the two surfaces differ?
2. List three of the main benefits of using Laplace Gridding over Active Data.
3. True or False: The command Check Solid/Surface Validity will automatically fix triangulation
errors.
• Types of Solids
• Solid Creation Guidelines
• Components of a Solid
• Creating Solids
• Displaying Solids
• Checking Solid/Surface Validity
• Reporting Solid Volumes
Types of Solids
The solids that GEMS uses can be separated into two classes:
Class Description
Geology solids These are solids that represent homogenous volumes of ground and have rock code
and grade attributes.
Excavation solids These are representations of voids left in the ground by mining. These solids may
represent planned mining excavations or as-mined excavations.
Once created, a solid is a collection of triangular faces that encloses a volume. Every triangle edge is
connected fully to another triangle edge. Consequently, there are no open areas or holes on the surface
of a solid. Each solid is given a series of names to uniquely identify the solid, and a set of attributes that
describes its properties.
Solids can be created as a single entity that is known as a “physical” solid, having a single name and a
single set of attributes to describe its properties. Solids can also be created as a group of like entities that
are known as “logical” solids. Logical solids are also identified by a single name and a single set of
attributes that are applied to all of the physical solids that form the logical solids. Once created, logical
solids are treated as a single entity (i.e. the same way as a physical solid).
For example, a physical solid could be a homogenous ore zone that is one complete piece. A logical solid
could be a homogenous ore zone that is broken into multiple zones, but is needed to be treated as a
single entity.
Geology Solids
Geological solids represent homogenous volumes of ground. Each geological solid is identified by a
three-part name, and is given a single rock-type attribute, and single grade values for each specified
mineral.
Geological solids are used to represent ore bodies, ore zones, dykes, sills, or any other geological zone.
Geological solids are generally constructed from combinations of 3D rings and points digitised on
sections or plan views.
Excavation Solids
Excavation solids represent voids in the ground created by mining. Each excavation solid is identified by
a three-part name, and no other attributes. Excavation solids can represent development such as shafts,
haulages, crosscuts, ramps or raises, or stope designs. Excavation solids can also represent designed or
as-built excavations.
Excavation solids can be constructed from digitised centrelines and cross-section profiles, outlines
digitised on plan views, or surveyed data.
Note: Solids are commonly viewed in combination with other solid types and other data such as drillholes and block
models for a more comprehensive visualisation of data.
Components of a Solid
The components you use to create simple solids are as follows:
Component Description
Rings A ring is defined as a 3D closed polyline. The points that form the polyline may or may
not lie on a plane. In order to be classified as a solid, an object must have at least one
ring; otherwise, the object is a surface.
Neighbouring rings can be at large angles to each other. Specifically, for any sequence
of three rings, the angle between the plane of the first ring and the plane of the third ring
must be less than 180*.
Creating Solids
Choose Solid > Create to
access a list of commands that
enable you to create a solid.
The following commands are
described in more detail:
In order for rings on successive planes to be linked together to form a solid, there must be at least one tie
line connecting them. There will often be cases where more geometric control is required than can be
provided by a single tie line. In these cases, you may want to add more tie lines between “matching
nodes” on the connected rings. Tie lines will always be preserved as triangle edges in the solid creation
process, so you can explicitly control the shape of the resulting solid by adding tie lines where needed.
When creating a solid, you should only activate those polylines being used to create that solid. GEMS
uses all active polylines that are connected with tie lines for this process. Typically, you will only activate
a single rock type unit at a time (if you are making a geology class solid), or a series of as mined or
design stope outlines (if you are making an excavation class solid).
Because they have no purpose on their own, tie lines are automatically deactivated if they are not
connected to an active polyline. If you change the active set of polylines (e.g. by using a Polyline >
Select command), the visible tie lines will change. Even though they are not visible, tie lines can be
saved to the workspace in the normal manner.
Optionally, you can add tie lines between the perimeter boundaries of the surfaces. Like normal tie lines,
these are used to provide added control when the joining mesh between the surfaces is created. These
temporary tie lines are erased after solid creation.
Displaying Solids
Choose Solid > Display Overrides to open the
Triangulation Display Overrides dialog box
where you can activate or deactivate the
display of selected solids and create a GGP file
of solid attributes.
Caution: If GEMS finds errors, you must correct the solid or surface before you can use them for
volumetrics.
This command also reports information about the selected solid, such as number of nodes, edges, and
triangles. It is sometimes useful to check the size of certain solids in cases where memory is being
exhausted by certain operations.
5. Review the results on screen. Choose Solid > Utils > Check for Errors to check the validity of
your solid.
6. Right-click the GeoSolids workspace, and select Save, then Close.
Time to complete: 20 minutes
8. Review the results on screen. Choose Solid > Utils > Check for Errors to check the validity of
your solid.
9. Right-click the EngSolids workspace, and select Save, then Close.
Time to complete: 15 minutes
Review
Use this review to test your knowledge on what you just learned.
1. What are the two classes of solids that can be created in GEMS, and what are their uses?
4. True or False: You can only create ONE tie line between adjacent rings.
• Plane Types
• Legends
• Drillhole Plotting Concepts
• Projections
• Procedures for Plotting
Plane Types
You can create plane plots from the following different types of planes:
Legends
You can add a legend to most types of plane plots. The information in the legend comes from the plot
display profile that you specify.
Legends are created as part of the automatic image creation process in separate files from the plots to
which they refer, and are saved in the appropriate plane subdirectory (i.e. V_SECT, I_SECT, PLANVIEW,
or TOPOSRFC) of the current project. This allows you to bring the legend file into PlotMaker later, either
beside your data or into an individual viewport.
Caution: If your drillholes are vertical or near vertical, the projected trace on each plan view will be
very short. Any annotation (such as assays, composites, or rock types) will be liable to suffer
from over-plotting. In addition, the orientation of the text will be based on the projected
azimuth of the drillhole trace and may not be aesthetically pleasing.
If you want to make a map showing a single symbol for the drillhole pierce point with the plan
view annotated with data from any of the tables, we suggest that you de-survey the tables
that you want to display and use the symbol mapping features of GEMS to produce the plot
files.
No co-ordinate transformation is performed on the point location so the c-oordinates in the graphics file
are the same as the co-ordinates of the points in the workspace.
Projections
Traces are projected orthogonally (in other
words, perpendicular) to all types of planes.
This means that the traces are projected
vertically onto surfaces and plan views,
horizontally onto vertical sections, and
perpendicularly onto inclined sections.
You can also adjust the projections onto plan
views and vertical and inclined sections by
defining average trend and plunge angles.
This will change the projection from an
orthogonal projection to a non-orthogonal
projection. This projection is intended to
project the data along an average planar
surface that trends and plunges in a certain
direction. These angles, defined as follows,
are illustrated in the diagram to the right.
3. To plot the current plane press P on the keyboard or from the toolbar, click Plot Visible Data. The
default style file in PlotMaker will open and the image will appear in a viewport. To customise your
plotstyle, please refer to the next chapter on PlotMaker.
4. To plot multiple planes, from the toolbar, select Plot Multiple Planes or choose File > Plot to open
the Plot dialog box.
4. On the toolbar, click Plot Multiple Planes or choose File > Plot to open the Plot dialog box.
9. Click the Plots tab. Refer to steps 7 to 9 in Plotting Drillholes Directly from Workspace for
information on completing this tab.
10. Click OK to generate the plot.
To plot points directly from an extraction file, follow these steps.
1. Generate the necessary plan views, vertical, or inclined sections.
2. Click Plot Multiple Planes to open the Plot dialog box.
3. In the Images tab, in Type of image, choose Symbol.
5. Click Export a separate legend for the images to enable this option for creating a legend.
6. Click Legend to open the Legend dialog box.
7. Complete the Legend dialog box as shown
in the screen capture.
8. Click OK to return to the Plot dialog box.
9. Click the Plots tab. Refer to steps 7 to 9 in Plotting Drillholes Directly from Workspace for
information on completing this tab.
10. Click OK to generate the plot.
5. Complete the Structure Plot dialog box as shown in the following screen capture.
6. Click the Plots tab, and select applicable options as shown in the following dialog box.
The following image demonstrates how the plot file appears PlotMaker.
5. Click Next, which opens the Grids and Contours dialog box.
6. In the Grid tab, click Get by
Clicking, which enables you to
click and drag a box around your
point data in the graphics area.
7. In the graphics area, define a box around your point data starting in the lower left corner and
ending in the upper right corner. Once the area is defined, the Gridding/Contouring Grid Editor
dialog box opens.
8. Define the grid cell row height and column width, and click OK
9. GEMS will prompt you to interpolate grid. Select Yes to continue with the process and return to the
Grids and Contours dialog box.
10. In the Interpolation tab, complete
the dialog box as follows.
Window Layout
The PlotMaker window layout has the following elements.
Name Description
a Toolbar You can move or hide the toolbars to make more space on the PlotMaker desktop,
when needed. For a detailed list of buttons see Appendix: Toolbar Buttons.
b Catalog You can add any formatted item to the catalog, and then use it again in other plots.
c Viewport This is the main working area of your plot.
d Plot On a plot you can create and arrange the objects that you want to print.
e Property Sheet Use the Property Sheet to format items by changing the appearance of an object,
change its location and orientation, move or assign it to a layer, and use it to add and
format text.
Viewports
A viewport is an area on your plot in which you can insert and show vector drawings and other data that
you want to plot. More than one drawing can be inserted in a viewport, and you can create more than one
viewport. Viewports may also be overlapped if needed.
Vector Drawings
You can insert vector data files (such as .ggp, .dxf, and .dwg) from GEMS, AutoCAD, and other
programs into the viewport.
Bitmap Graphics
To insert a bitmap graphic, such as a company logo, on your plot, follow these steps.
OLE Objects
You can add linked or embedded (OLE) objects to your plot.
• An embedded object is information from another program that PlotMaker inserts into your plot.
• Linked objects are information that was created in one file and has been inserted into your plot file,
while keeping a connection between the two files. PlotMaker automatically updates linked objects.
Creating a Grid
Grids provide context for drawings in a viewport. They can show the geographical location, the size, the
scale, or other details of the drawings in the viewport. Also, grids can show other co-ordinate systems
and different units of measure.
Click OK to close the Grid Properties dialog and return to the Viewport Properties dialog.
Make sure you select the grid you created by clicking the name and placing a check mark in the check
box.
Click Apply to view the grid in the viewport.
If you need to edit the grid, follow the steps in the following section Editing a Grid.
When you are finished, click OK.
Editing a Grid
To create a grid, follow these steps.
1. Choose Viewport > Viewport Properties to open the Viewport Properties dialog.
2. Click the Grid tab.
3. Click the grid you want to edit to highlight it.
4. Click Edit Grid to open the Grid Properties dialog.
5. Make your changes.
6. Click OK to close the Grid Properties dialog and return to the Viewport Properties dialog.
7. Click Apply to view the changes in the viewport.
8. Repeat steps 3 to 7 if you need to make more changes.
9. When you are finished, click OK.
Text
To add text to your plot, follow these steps.
1. From the toolbar, click Text.
2. In the plot area, click and drag your mouse point to create an area where the text will appear.
3. When the text box appears, you can start typing and formatting the text as needed.
4. Click on your plot background to return to your plot. If you need to edit the text, click on the text box.
Formatting Viewports
To format the appearance of a viewport, follow
these steps.
1. Right-click on the viewport, and select
Viewport Properties to open the Viewport
Properties dialog.
2. Click the General tab, and make your
changes.
3. Click Apply to view your changes.
4. To make more changes, repeat steps 2 to
3.
5. Click OK to save your changes and close
the Viewport Properties dialog.
Creating Templates
Template are very useful when you want to ensure the layout of all your plot is consistent. In PlotMaker,
templates are saved as .sty files. To create a template follow these steps.
1. Start a new plot.
2. From the Catalog, drag and drop the Title Box to the plot area.
3. Customise the title box to meet your needs (i.e. change the company name and logo).
4. Add one or more viewport following the steps as outlined in the Viewports section. You can have
viewports for a legend, the main graphic image, etc.
5. Choose File > Save As to open the Save As dialog.
6. Navigate to the project Template folder (e.g., <Project Name>\Template).
7. Type a File name.
8. Click Save.
When you launch PlotMaker from GEMS, PlotMaker opens with the default template (default.sty). This
file is located in C\Program Files\PlotMaker. You can override the default template with the one you
created by saving your template in this location with the name default.sty.
When you launch PlotMaker from the Start menu or the desktop icon, no default template is used.
To use the template, follow these steps.
1. Choose File > Open to open the Open dialog.
2. Find the template you want to use.
3. Click Open.
4. Choose File > Save As to open the Save As dialog.
5. Note: On your first save, use Save As to ensure that you do not overwrite the template with the
changes from your plot. After the first save, you can then use a regular save on the file you just
created.
6. Find the folder to which you want to save your file.
7. Type a File name.
8. Click Save.
3. From the Project View Area, open the GeoSolids workspace, and open all Zone1 records.
4. Choose Solid > Display Overrides.
5. In the Triangulations Display Overrides dialog box, select the option Draw triangulations as
polylines.
6. Click Zoom to Extents.
7. Choose File > Plot.
8. On the Plot dialog box, Images tab use the following criteria:
Type of image All Displayed Data
Make images for these Planes Plane type = Vertical sections
Select sections 10700E to 10900E
Files of type GEMS graphic (*.ggp)
Standard toolbar
Cut Edit Use this command to cut any object and copy it to the clipboard.
Copy Edit Use this command to copy any object to the clipboard.
Paste Edit Use this command to paste any object from the clipboard to the plot.
Print Preview File Use this command to preview a printout of the plot.
About Help Use this command to view licence information about PlotMaker.
Toggle Ruler View > Ruler Bars Use this command to view or hide the plot ruler.
Redo Use this command to redo the action you just undid.
Remove Last Image Inserted Viewport > Drawings Use this command to delete the last
vector image you inserted.
Image Inspector Viewport > Drawings Use this command to view, update, or
remove a vector image from the viewport.
Edit Image Use this command to edit the image in
Windows’ default image editor.
Zoom In Viewport > View Use this command to zoom in on the
vector image.
Zoom Rectangle Viewport > View Use this command to zoom in on the
vector image by selecting a part of the
image.
Zoom Out Viewport > View Use this command to zoom out on the
vector image.
Zoom to Fit Viewport > View Use this command to zoom in on the
image to fit into the viewport.
Pan Viewport > View Use this command to move the image
within the viewport.
Viewport Properties Viewport Use this command to open the Viewport
Properties dialog, where you can modify
the appearance of the viewport.
conditional, 120
editing data, 77, 78 co-ordinate transformation, 123
solid attributes, 214 cross-table transfer, 120
extracting data, 154 desurvey tables, 124
extraction file drillhole
importing points, 91 special process, 124
plotting points, 228 format string field, 122
linear interpretation, 122
filling data, 82 simple, 120
filters, 129 syntax, 120
manipulationg data
GDE 4.x menu commands, 119
importing, 86 menu bar
GEMS filters conventions, 23
creating, 131 overview, 23
using, 130 modifying data
grid inserting a row, 81
adding in PlotMaker, 243 modifying filters
creating in PlotMaker, 241 key indices, 134
grid and contour maps
plotting, 232 object tab
folder tree, 24
importing data project view area, 24
drillholes, 86, 87 OLE objects
GDE 4.x, 86 inserting in PlotMaker, 240
overview, 86 opening data
points, 91 drillholes, 110, 111
polyline, 93, 94 polylines, 190
profiles, 88 re-opening drillholes, 111
triangulation, 95, 96 surface modelling, 199
inclined section
arbitrary plane, 144 plan section
defining, 144 defining, 146
overview, 143 looking down, 145
selecting from list, 143 overview, 145
selecting graphically, 143 selecting from list, 145
through 3 data points, 144 selecting graphically, 146
plane plots
key indices, 129 legends, 221
creating, 134 on inclined sections, 220
creating using another key index, 135 on plan views, 219
creating using GEMS filters, 135 on surfaces, 219
modifying, 134 on vertical sections, 219
using, 133 supported file types, 220
types, 220
Laplace gridding ploting
advantages, 202 drillhole concepts, 221
comparison with active data, 203 legends, 221
creating surfaces, 202, 203 PlotMaker
data points, 202 adding lines, 243
features, 202 adding scale bar, 241
gridded surfaces, 203 adding shapes, 243
layers adding text, 243
managing in PlotMaker, 244 creating grids, 241
legends creating viewport, 239
plotting, 221 editing grid, 243
lines format viewport, 243
adding in PlotMaker, 243 inserting bitmap graphics, 240
inserting OLE objects, 240
manipulating data, 119 inserting vector drawings, 239
managing layers, 244
shortcuts, 25 tools
keyboard only, 26 polylines, 188
mouse and keyboard, 25 topographic intersections
showing data plotting, 236
solid intersection, 214 triangulation
solid shadow projections, 214 importing, 95, 96
solid modelling
components, 211 using filters, 130
creating, 212 GEMS, 130
creating from surface, 213 SQL, 132
creating tied polylines, 212 using key indices, 133
displaying, 214
editing attributes, 214 validating data
excavation solids, 209 solids, 214
extruding centrelines, 213 surface modelling, 205
extruding polylines, 213 vector drawings
geology solids, 209 inserting in PlotMaker, 239
guidelines, 210 vertical section
overview, 209 defining, 142
reporting volumes, 215 from endpoints, 141
shadow projections, 214 looking North/South/East/West, 140
showing intersection polyline, 214 overview, 140
types of solids, 209 selecting from list, 141
validating, 214 selecting graphically, 142
sorting data, 78 view profiles
SQL filters vertical section, 140
creating, 133 viewing data, 83
using, 132 point areas, 164
start up, 39 viewport
status bar, 25 creating, 239
structure editor formating in PlotMaker, 243
menu bar, 52 PlotMaker, 238
overview, 51
toolbar, 53 window layout, 22
structure maps menu bar, 23
plotting, 229 toolbar, 24
surface workspace
creating solids, 213 adding field, 59
surface modelling adding table, 58
active data, 201 concepts, 45
boundary trimming, 201 copy structure, 56
creating, 200 creating, 51, 54
data elements, 199 custom, 54
displaying, 204 data types, 47
features, 199 deleting, 60
forcing triangulation edges, 200 deleting field, 59
Laplace gridding, 202 deleting table, 58
opening, 199 elements, 45
overview, 199 field level, 59
properties, 204 fields, 46
reporting volume, 205 limits, 47
validating, 205 minimum requriement, 51
systems requirements, 21 modifying, 51, 58
plotting points, 227
templates quick reports, 106
PlotMaker, 244 record status reports, 108
text records, 45
adding in PlotMaker, 243 selecting, 50
tied polylines special values, 49
creating solids, 212 standard, 54
toolbar, 24