How To Export Diagrams From RockWorks16 Into Google Earth

Two new videos showing how to export diagrams from RockWorks16 into Google Earth have been uploaded to YouTube.  The short version is 2 minutes and skips all of the “how-it-works” information.  The long version is 12 minutes and provides a description of what goes on “behind the scenes”.

Please note that these videos do not cover the EarthApps portion of RockWorks which directly exports to Google Earth.  Instead, these videos show how to export existing 2-D diagrams (maps, profiles and sections) from RockPlot2D and 3-D diagrams (logs and block models) from RockPlot3D into Google Earth.

Short Version:

Extended Version:


Examples of Non-English Text Output Provided by RockWorks16’s Unicode Support


New Video Using Multi-Seam Coal Data to Demonstrate RockWare Command Language (RCL) Scripting

New Video: Using the RockWare Command Language (RCL) to Automate Cross-Section Generation

Adding External Surfaces to a Borehole-Based Stratigraphy Model

RockWorks contains a number of tools which allow you to create a stratigraphy model from borehole data, then introduce additional surfaces to the model based on surveys or proposed excavations. This example is based on an inquiry from a customer who is modeling an existing fill site, in which there are borings surrounding the fill, but none inside. They have surface models of the fill base and fill top which they want to add to the borehole-based stratigraphy model, constraining those borehole surfaces with the fill surfaces.

Step 1: Create the RockWorks project and enter the borehole-based data

Create a new project in RockWorks, and import your borehole data (File | Import menu). Or, create the borehole records manually (Edit | New Borehole) and enter the stratigraphy data into the borehole manager: depth to formation top, depth to formation base, and formation name for each recorded unit in the borehole. The formation names are defined in the Stratigraphy Types table.

Here’s a Striplogs | 3D | Multiple Logs view of these stratigraphy logs.


Step 2: Establish the Output Dimensions

Once the borehole location and stratigraphy data have been entered, click the Scan Boreholes button at the bottom of the program window to automatically determine the coordinate extents for the project. (You can also just type these in, if you prefer.) Be sure to check the node spacing along the X and Y axes – this will determine how coarse or fine your grid models will be. (We generally recommend a node spacing that’s no greater than half the average distance between the boreholes.)  Here is how the Output Dimensions might look:


Step 3: Create a Stratigraphy Model of the borehole-based data

Use the Borehole Manager | Stratigraphy | Model menu option to create surface models (aka “grid models” or “grids”) for the top and base of each stratigraphy formation and display them in the 3D plotting window. This project-wide and interactive view of the model allows you to drill down into the model to see how well the surfaces match the borehole data (be sure to turn on the Plot Logs option to display your stratigraphy logs in the 3D display). You can zoom into the display, rotate it, etc.


If you are not satisfied with the way the model looks, how it honors the log data, etc., you can adjust the gridding method and other model settings and click Process again to regenerate the grid models and the 3D scene.

Note: the automatic naming scheme for these grids is “formation_top.rwgrd” and “formation_base.rwgrd” for each formation name in your project.  You’ll see these grid names in the Project Manager / Grid Models heading.

Step 4: Create/Import the Fill Grid Models

Once you have a good model of the borehole data, the next step is to create or import the grids representing the fill. If you have XYZ points for the ground and base elevations of the fill, you can enter/import those data into the Utilities datasheet and use the Utilities | Map | Grid-Based Map menu to create the surface models.

Or, if you have existing grids from another software program, you can use the Utilities | Grid | Import menu to convert them into a RockWorks “.rwgrd” format. If necessary, use the Utilities | Grid | Math | Resample menu to resample these imported grids to match the extents and node spacing of your project’s Output Dimensions. It’s important that all of the grids to be incorporated into the final stratigraphic model have the same dimensions.

Important: Name these grid models using the RockWorks naming convention: “Fill_top.rwgrd” and “Fill_base.rwgrd”

Here’s an example of how these surfaces might look in the 3D viewer:


Step 5: Display the stratigraphy grids and fill base grid in cross section

This step will let you visualize the stratigraphic layers which will need to be constrained by the fill grids. Jump back to the Borehole Manager and use the Stratigraphy | Section menu to create a cross section diagram through the middle of the fill area.

BE SURE to turn Interpolate Surfaces OFF– you’ve already created a good stratigraphic model so you don’t need to keep recreating the grids.
BE SURE to turn Plot Surface Profile ON, choosing the Fill_base.rwgrd as the grid model to be displayed with the profile line.

Use the Section Selection Map tab to draw a cross-section trace through the middle of the fill area. In the resulting cross section, make note of the stratigraphic layers which are impacted by the fill and those which are not.


Repeat if you like, for another cross-section trace.


Step 6: Constrain the stratigraphy grids with the fill base

Jump back to the Utilities program tab. Use the Grid | Filters | Limit program to impose a “high-stop” filter on the top grid of your first formation, based on the Fill_Base.rwgrd file. Set the Truncation Type to “Grid A Node = Grid B Node”.


This means that any nodes in this grid surface that stick up above the Fill_base grid are to be assigned the elevation of the Fill_base grid. You can set the output name to the original grid name. Do this for each formation_top and formation_base grid that is impacted by the fill layer.

Tip: Use an RCL script to automate this! Here’s an example.


(RCL scripts require Level 5 licensing in RockWorks16.)

Step 7: Add the Fill layer to your Stratigraphy Types table

Use the Project Manager to access the Project Tables / Types Tables / Stratigraphy Types, and add a new formation, “Fill”, with a color of your choice, as the first unit in the project. Even though you don’t have any fill layers in your boreholes, this now tricks RockWorks into incorporating the Fill top and base grids into the model.


Step 8: Recreate your cross section with the Fill grids and the filtered grids

Use Stratigraphy | Section to recreate the cross section from Step 5 being VERY SURE that Interpolate Surfaces is OFF. This assures that RockWorks will read the existing (filtered) grid models for all of the formations in the Stratigraphy Types table.

section1_BYou can create other Stratigraphy menu diagram with these same surfaces.

New Version of RockWorks16 (2013.8.8) Available

Click here to download ...

Click image to download latest version.

Master Directory of RockWare YouTube Videos

The YouTube playlists have proven to be somewhat cumbersome, so we have created a hyper-linked master index that makes it easier to find content.  Check it out …


RockWare YouTube Video Index URL:

Layering Profiles and Cross-Sections in RockWorks

RockWorks allows you to create cross-section and profile diagrams of a variety of types of data – such as modeled lithology, stratigraphy, aquifer, geochemical or geophysical data, fractures, etc.  It can be very helpful to layer these profiles to determine, for example, the spatial relationship between a contaminant hotspot and the stratigraphic layers, or your water levels and the lithologic environment.

I’ll describe here an easy way to pop one profile onto another – in this example overlaying a benzene profile on top of a stratigraphy profile.

1. Create your two profile diagrams using the same annotation settings and the same profile slice.  This assures that the profile panels will have the same coordinate range.  I find it helpful to arrange the two profile windows on my screen, one above the other, so that they are both accessible.

RockWorks I-Data Profile and Stratigraphy Profile Diagrams

Arrange both profiles on your screen so they're both visible.

2. With the RockPlot Edit Arrow tool activated, click on the I-Data profile contours to select them. (Note the red selection handles in the panel corners in the upper image.) Type Ctrl+C to copy this layer into memory.

Select and Copy the I-Data Profile

Click on the I-Data profile color contours to select that layer, and copy it to the clipboard.

3. Click in the Stratigraphy profile window and type Ctrl+V to paste the I-Data profile into this diagram.

Paste the I-Data panel onto the Stratigraphy profile

Paste the I-Data panel onto the Stratigraphy profile

4. Double-click on the I-Data layer you just pasted into the combined diagram to adjust the minimum contour level and transparency, so that the stratigraphic layers will be visible in the background.

Adjust the I-Data Profile Settings

Adjust the minimum contour level and/or transparency.

5. Click OK to close the Colorfill Attributes window.

I-Data Profile Contours Overlaying Stratigraphy Layers

Now you can see the stratigraphic profile in the background.

6. If you like, you can copy /paste the I-Data color legend in to the combined diagram.  Use your mouse to resize/rearrange the legends as desired.

Combined Stratigraphy and Benzene Profiles

Combined Stratigraphy and Benzene Profiles

Working with Faulted Surfaces

Here are some suggestions for possible workflows in applying faults to surfaces in RockWorks.  These instructions assume you don’t have the coordinates for your faults already defined in an external spreadsheet or in the RockWorks project database; you can draw the fault lines on a map and then use them to fault a surface.

1. Create your contour map in RockWorks without faulting turned on.

  • Use the Utilities Map | Grid-Based Map if your XYZ data is entered into the Utilities datasheet.
  • Use any of the Borehole Manager contour mapping options (Map | Borehole Locations for ground surface contours, Stratigraphy | Structural Elevations for stratigraphic structure maps, etc.) if your data is entered into the borehole database.
RockWorks Unfaulted Contour Map
Unfaulted structure contour map

2. In the displayed map, use the Draw | Line Types | Polyline to draw a fault polyline on your map.  Double-click to terminate the polyline.  You can repeat this if you have multiple faults.

RockWorks unfaulted contour map with drawn polyline

Unfaulted contour map with drawn polyline

3. Choose the arrow-shaped Edit tool from the RockPlot2D toolbar, and click on the polyline you drew, to select it.  (If selected, you’ll see square icons on the vertices.)  If you have multiple polylines drawn, hold down the Shift key on your keyboard to click on the next polyline to select it as well.  Continue in this manner for as many polylines as you drew so that all are selected.

4. Right-click on any of the selected polylines in the map window and choose Save to Faults Table.

Save Fault Polyline to a "Faults Table"

Save Fault Polyline to a "Faults Table"

Enter a name to assign to the Faults Table and click OK.  This will be saved to the project database.

5. Return to the options along the left side of the map window, and click on the Gridding Options button.  Here, turn on the Faulting option (which is available under Inverse-Distance).  Enter the “distance multiplier” (usually 10) and browse for the name of the Fault Table that you just created.

RockWorks Gridding Options - Faulting settings

Gridding Options - Faulting settings

Click OK to close this window. Click on the Grid Name prompt and enter a new name for the faulted grid model (such as “Potosi_faulted.grd”).

6. Click Process to recreate the grid model and map, now applying faulting.

RockWorks Faulted Contour Map

Faulted Contour Map

Here are three-dimensional views of these surfaces:

RockWorks - Unfaulted Surface in 3D

Unfaulted Surface in 3D

RockWorks - Faulted Surface in 3D

Faulted Surface in 3D

RockWorks applies faulting by creating an interpolation barrier on either side of the polyline(s) – as it’s interpolating a grid node, any control points on the other side of the fault are now considered to be 10 times further away than they actually are, thus having no influence on that node.


Computing Aggregate Reserves for a Site with Two Isolated Carbonate Units

This paper describes how to use RockWorks to compute total economic reserves for a site that includes two carbonate units: an upper limestone and a lower dolomite, separated by a shale unit. It involves creating separate I-Data models using the Stratabound filter, combining the models, and checking them against the observed log data.

Link to original paper:



 The purpose of this study is to compute the total economic reserves for a site that includes two carbonate units; an upper limestone and a lower dolomite separated by a shale unit. Quality analyses have been obtained at one-foot intervals within the carbonates. The following diagram depicts a typical log showing the lithology, stratigraphy, and aggregate quality.

Figure 1: Typical log depicting aggregate quality (bargraph on left), stratigraphy (patterns in center), and lithology (subdivisions within stratigraphy)

Step 1. The Problem

Modeling the rock quality en-masse is problematic because the node values would include the quality values for both the limestone and the dolomite. The following diagrams depict a solid model based on the rock quality and a stratigraphic block model. Notice how the rock quality (I-Data) model interpolates quality values where there is no corresponding carbonate.

Figure 2: Problematic “Bulk” Rock Quality Model
Compare the rock quality model with stratigraphy model below and note how quality values are interpolated where there is no carbonate.
Figure 3: Stratigraphic Model

 Compare this stratigraphic model with bulk rock quality model above and note how quality values were interpreted within overburden (light yellow) and interburden.

Step 2. The Solution

The solution to this problem is to use the “Stratabound” option within the I-Data / Model menu. Two rock-quality models were created; one for the upper limestone and another for the lower dolomite.

In the example below, the I-data model is confined to points and nodes within the Hanford Limestone unit.

Figure4: Hanford Limestone Rock-quality Model

 In this example, the I-Data model is confined to points and nodes within Shuller Dolomite.

Figure5: Shuller Dolomite Rock Quality Model

Step 3. Combining the Models

The next step involved adding the two models together and removing all voxels with a quality value less than 50 (the minimum acceptable quality).

Figure6: Fence diagram depicting combined rock-quality models for upper limestone and lower dolomite.

Figure 7: Block Model depicting voxels with a quality value greater than 50.

Figure 8: Block model depicting zones from previous model in which the thickness for any single contiguous ore zone is more than 6 feet thick for any given column.

Figure 10: Block model depicting zones from previous model in which the stripping ratio is less than 1.2. This area represents a good place to start mining in order to gain the highest return on investment.

 Step 4. Checking the Model

The final, and most important step, is to create a 3D log diagram, combine it with the final ore model, and examine the data to see if it make sense.

Figure 11: 3-Dimensional Lithology/Quality Logs Combined With Final Ore Model.

Figure 12: Enlargement of area around highest-ROI ore depicting lithology and quality logs.

Step 5. Conclusion

By combining the preceding approach with increasingly more tolerant filter cutoffs, it is possible to create a mining strategy that will yield the highest return on investment from the onset.