Академический Документы
Профессиональный Документы
Культура Документы
This software and documentation is proprietary to Gemcom and, except where expressly provided
otherwise, does not form part of any contract. Changes may be made in products or services at any
time without notice.
Gemcom publishes this documentation for the sole use of Gemcom licencees. Without written
permission you may not sell, reproduce, store in a retrieval system, or transmit any part of the
documentation. For such permission, or to obtain extra copies please contact your local Gemcom
office or visit www.gemcomsoftware.com.
While every precaution has been taken in the preparation of this manual, we assume no
responsibility for errors or omissions. Neither is any liability assumed for damage resulting from the
use of the information contained herein.
Gemcom Software International Inc. Gemcom, the Gemcom logo, combinations thereof, and
Whittle, Surpac, GEMS, Minex, Gemcom InSite and PCBC are trademarks of Gemcom Software
International Inc. or its wholly-owned subsidiaries.
Contributors
Rowdy Bristol
Phil Jackson
John Hylton-Davies
Product Gemcom Surpac 6.1
Table of Contents
Introduction...................................................................................................................................... 5
Overview ...................................................................................................................................................................5
Requirements ...........................................................................................................................................................5
Workflow ..................................................................................................................................................................5
Clipping a DTM.................................................................................................................................38
Task: Clip a DTM - File Based Method ................................................................................................................. 38
Task: Clip a DTM - Graphics Based Method......................................................................................................... 39
Introduction
Overview
Introduction
Overview
Surface Modelling uses triangulation to create two-dimensional models known as Digital Terrain Models
(DTMs). This document introduces the theory behind surface modelling processes and provides detailed
examples using the surface modelling functions in Surpac. By working through this tutorial you will gain
skills in the construction, use of and modification of DTMs.
Requirements
The DTM Surfaces tutorial assumes that you have a basic knowledge of Surpac. If you are a new Surpac
user, you should go through the Introduction to Surpac tutorial before going through this topic.
You will also need.
to have Surpac v6.1 or later installed on your computer and
the data set accompanying this tutorial.
Workflow
Note. This workflow demonstrates the steps in this tutorial. There are other ways to achieve a result.
Page 5 of 59
Surfaces are used in Surpac for such things as 3D visualisation and for calculating volumes. Almost any
surface can be modelled as a DTM, including natural topography, lithological contacts,
bedrock/overburden contact, or water tables.
DTMs are made of triangles, with each point of each triangle matched to a point in the original string file.
Consequently DTM files are not valid without the original string files. That is, a DTM file cannot be
opened if the original string file of the same name is not accessible.
DTMs cannot fold back on themselves. That is, a DTM cannot have multiple Z values for a given X, Y
coordinate. It is not possible to model overhanging or vertical surfaces with a DTM surface.
Page 6 of 59
Naming Conventions
Naming Conventions
The objects you create in Surpac are numbered by a system similar to that of string and string segment
numbers.
String - object
Segment trisolation
Point - triangle
When you define an object you explicitly assign it both an object number and a trisolation number. The
object is then always referred to by this object and trisolation number.
The object number may be any in the range of 1 to 32000. The trisolation number may be any positive
integer. However, for most functions the object must be named object 1, trisolation 1.
Page 7 of 59
Spot height strings contain points which represent non-linear or point features, such as hill peaks,
surface low points, gridded points, borehole collars etc. The lines connecting the points in the spot
height string in graphics do not infer a physical line.
Page 8 of 59
Page 9 of 59
The name of the work directory is displayed in the title bar of the Surpac window.
Page 10 of 59
The name of the work directory is displayed in the title bar of the Surpac window.
Page 11 of 59
Creating a DTM
Creating a DTM
Task: Perform Graphical Creation of a DTM
1. Click the Reset graphics icon
2. Open topo1.str.
topo1 is displayed.
Page 12 of 59
Creating a DTM
Note. Because the string file already exists, you will be asked if you wish to replace it.
7. Click Yes.
Note. To see all of the steps performed in this task run 01a_create_DTM_from_layer.tcl. You will
need to click Apply on any forms presented.
Page 13 of 59
Creating a DTM
Note. In this case the Strings to act as break lines check box is not ticked. The message window
informs you of the processing as the DTM is created.
DTM information is displayed in the message window.
Page 14 of 59
Creating a DTM
Note. There are triangles in the DTM that are created across strings. This is not a desired result.
6. Choose Surfaces > DTM File functions > Create DTM from string file.
Page 15 of 59
Creating a DTM
Note. In this case, the Strings to act as break lines check box is ticked.
8. Close the log file.
9. Open pit1.dtm.
Note. To see all of the steps performed in this task run _01b_create_DTM_from_string_file.tcl. You
will need to click Apply on any forms presented.
Page 16 of 59
Creating a DTM
Note. This file is a survey of drill hole collars prior to mining and may be used to model the
natural surface. Notice that the file consists of one spot height string.
3. Choose Display > Hide everything.
4. Choose Display > Point > Markers.
5. Enter the information as shown, and then click Apply.
Page 17 of 59
Creating a DTM
6. Choose Surfaces > DTM File functions > Create DTM from string file.
7. Enter the information as shown, and then click Apply.
Page 18 of 59
Creating a DTM
Page 19 of 59
Creating a DTM
4. Enter the information as shown on each of the following forms, and then click Apply.
Note. You will see that string 9999 is a spot height string
5. Choose Surfaces > DTM File functions > Create DTM from string file.
Page 20 of 59
Creating a DTM
Page 21 of 59
Creating a DTM
Page 22 of 59
Viewing DTMs
Viewing DTMs
Task: Colour a DTM by Elevation
1. Click the Reset graphics icon
.
2. Open pit1.dtm and rotate it in graphics.
An oblique view of the pit is displayed.
Page 23 of 59
Viewing DTMs
Note. To see all of the steps performed in this task run _02_colour_dtm_by_elevation.tcl. You will
need to click Apply on any forms presented.
Page 24 of 59
Viewing DTMs
5. Choose View > Data view options > View scale factors.
Tip. To give a more realistic view, increase the Z scale by a factor of 3.
6. Enter the information as shown, and then click Apply.
7. On the status bar at the bottom of the screen, click the design string button
8. Set the Design string number to 500, and then click Apply.
Next you will create a new layer for the design string.
9. Click the New button in the Layers Pane.
10. Enter fly as the name of the new layer, and then click Apply.
Page 25 of 59
Viewing DTMs
11. From the toolbar, select the snapping list options and click on the Triangle option.
17. Right click on the eom_pit.dtm layer in the Layers pane to bring up a popup menu.
Page 26 of 59
Viewing DTMs
18. From the popup menu, click Selectable to turn it off for the layer.
Notice that the padlock becomes closed, indicating that the layer is no longer selectable. This
ensures that when you start the animation, the string will be selected and not the DTM.
19. Choose View > Data view options > View along a string.
20. Enter the information as shown, and then click Apply.
Page 27 of 59
Viewing DTMs
Note. To see all of the steps performed in this task run _03a_fly_through.tcl. You will need to click
Apply on any forms presented.
Note. This process will produce many output files so the Max. frame distance has been changed
to capture an image every 20 metres.
4. Click any point on string 500 to start the animation.
Note. The output files (fly001.gif, fly002.gif) can be used to create an animated gif file using other
software.
Note. To see all of the steps performed in this task run _03b_fly_through_save_images.tcl. You will
need to click Apply on any forms presented.
Page 28 of 59
3. Choose Surfaces > DTM File functions > Line of intersection between 2 DTMs.
4. Enter the information as shown, and then click Apply.
5. Open intersection1.str.
6. Click the
icon to toggle the triangle faces off.
The boundary string is displayed.
Page 29 of 59
Note. To see all of the steps performed in this task run _04a_create_boundary_string_file_based.tcl.
You will need to click Apply on any forms presented.
Note. In the graphics-based method, you need to save the string in the intersection layer to a
string file if you wish to use it for further processing.
Page 30 of 59
Page 31 of 59
Note. To see all of the steps performed in this task run _05a_cut_and_fill_volumes.tcl. You will need
to click Apply on any forms presented.
Page 32 of 59
Note. String 2 of pit2.str is used as the boundary string for the volume calculation.
4. Open dhc2.dtm.
5. Right click to the right of the menus, move the cursor to Toolbars, and then click Scale and
transparency.
Page 33 of 59
Page 34 of 59
9. Left click, then right click the check box as shown, and select Field Help.
Page 35 of 59
13.
14.
15.
16.
Close pit2.not.
Open bdyres2.str.
Choose Display > Point > Attributes.
Enter the information as shown, and then click Apply.
Page 36 of 59
Note. To see all of the steps performed in this task run _05b_net_volume_between_dtms.tcl. You
will need to click Apply on any forms presented.
Page 37 of 59
Clipping a DTM
Clipping a DTM
Task: Clip a DTM - File Based Method
1. Click the Reset graphics icon
.
2. Choose Surfaces > DTM File functions > Create DTM from string file.
3. Enter the information as shown below, and then click Apply.
Note. In this case we are using the same string to clip the DTM as was used to define the
boundary of the DTM. Since the operation was performed directly on the input files, there is no
need to manually save the DTM file.
4. Close the log file generated in the previous step.
5. Open back1665.dtm.
Page 38 of 59
Clipping a DTM
Note. To see all of the steps performed in this task run _06a_clip_dtm_file_based.tcl. You will need to
click Apply on any forms presented.
Page 39 of 59
Clipping a DTM
6. Choose Surfaces > Clip or intersect DTMs > Clip DTM with string.
7. Select any point on the string.
Page 40 of 59
Clipping a DTM
9. Save as lev1665.dtm.
Page 41 of 59
Sectioning a DTM
Sectioning a DTM
Task: Create a DTM Section Axis Line
1.
2.
3.
4.
Page 42 of 59
Sectioning a DTM
5. Save pit1.dtm.
Note. To see all of the steps performed in this task run _07a_create_section_axis_line.tcl. You will
need to click Apply on any forms presented.
Note. The first section is extracted from the axis start. Sections will not be extracted past the axis
end point.
Page 43 of 59
Sectioning a DTM
The axis line is displayed on the left, the resulting section coordinates being displayed on the right.
Note. To see all of the steps performed in this task run _07b_sectioning_pit.tcl. You will need to click
Apply on any forms presented.
Page 44 of 59
Creating Contours
Creating Contours
Task: Create DTM Contours File Based
1. Click the Reset graphics icon
.
2. Choose Surfaces > Contouring > Contour DTM file.
3. Enter the information as shown, and then click Apply.
4. Open pit1.dtm.
5. Open contour1.str.
Page 45 of 59
Creating Contours
Note. To see all of the steps performed in this task run 08a_create_dtm_contours_file_based.tcl. You
will need to click Apply on any forms presented.
Page 46 of 59
Creating Contours
Creating Contours
4.
5.
6.
7.
Open annotate.str.
Choose Display > Hide everything.
Choose Display > Point > Attributes.
Enter the information as shown, and then click Apply.
8. Open index1.str.
9. Open contour1.str
Page 48 of 59
Creating Contours
Page 49 of 59
7. Left-click your mouse and hold down the button to rotate the view of the drill hole collars as shown,
to enable you to select the markers and not the DTM.
Page 50 of 59
4. Click the
icon to view the data in the XZ plane.
5. Choose Display > Point > Markers.
6. Enter the information as shown on the following forms, and then click Apply.
Page 51 of 59
Note. In this case, the option to Interpolate new points is ticked to create new points where the
string crosses a triangle edge.
10. Choose Display > Point > Markers.
11. Enter the information as shown, and then click Apply.
12. Choose View > Data view options > Plan view, and then click the
triangle edges.
Page 52 of 59
Note. The points have been created at the intersection of the string and DTM triangle edges.
13. Save the string as centreline_draped.str.
Note. To see all of the steps performed in this task, run
_09b_draping_a_non_spot_height_string_over_a_dtm.tcl. You will need to click Apply on any forms
presented.
Page 53 of 59
Draping an Image
Draping an Image
Task: Drape an Image Over a DTM.
1. Click the Reset graphics icon
2. Open eom_pit.dtm.
3. Choose File > Images > Drape an image file over a DTM.
4. Click anywhere on the DTM.
Note. You will be prompted to Select the triangle of interest.
5. Enter the information as shown, and then click Apply.
Note. The name used for the Registration file must not exist when you are using the register with
new points option.
Page 54 of 59
Draping an Image
The DTM is displayed first, then the image to drape over the DTM.
6. Follow the prompts in yellow at the bottom of the screen to select a series of registration points;
firstly in the image, and then in the DTM.
Tip. Try to pick points that represent features easily recognisable on both the image and the DTM.
Also, pick enough points to cover the majority of your area of interest.
7. When sufficient registration points have been defined (minimum = 3 points), press Esc to display the
coordinates of your registration points.
8. Click Apply.
The pit with image drape is displayed.
Page 55 of 59
Draping an Image
11. Rotate the image to see the full effects of the rescaled image drape.
Note. To see all of the steps performed in this task run _10_image_draping.tcl. You will need to click
Apply on any forms presented.
Page 56 of 59
DTM/DTM Intersections
DTM/DTM Intersections
Task: Create an Upper Triangles Surface of 2 DTMs
1.
2.
3.
4.
5.
Note. The layer name cannot be the same as any of the current layers.
6. Follow the prompts highlighted at the bottom of the screen.
Note. The image will be displayed in a different colour until the calculation function is deselected.
7. Press Esc.
The DTM is displayed.
Page 57 of 59
DTM/DTM Intersections
Note. The layer name cannot be the same as any of the current layers.
6. Follow the prompts highlighted in yellow at the bottom of the screen.
Notes. The upper DTM (topography) must be selected first, followed by the lower DTM (pit). The
image will be displayed in a different colour until the calculation function is deselected.
7. Press Esc.
The solid from the DTM intersection is displayed.
DTM/DTM Intersections
Note. To see all of the steps performed in this task run _11c_create_solid_intersecting_2_dtms.tcl.
You will need to click Apply on any forms presented.
Page 59 of 59