Drill Sections in QGIS!

Geoscience for QGIS now includes sections!

Geoscience for QGIS 1.0 is out now! Please install or update from the QGIS plugin repository.

This version includes the ability to create and display drill sections. You can now cut arbitrary sections through your drilling data using the mouse or orthogonal sections using the keyboard.

You can choose which layers are included in the section, including points, desurveyed drill traces, downhole data layers and elevation rasters.

All layers for a single section are placed under a group so that they can all be toggled on and off together. You can add your own layers to this group for interpretation and annotation.

You can create as many sections as you like. Geoscience stores the section metadata in your QGIS project so that you can recreate them easily next time you open the project. You can also recreate sections if you update the underlying data or source symbology.

Symbology is copied from your source layers, so your sections are consistent with each other and plan representations of your data.

See the documentation for more information.

17 thoughts on “Drill Sections in QGIS!”

  1. I am having trouble replicating the actual well bores and can’t find the issue. Would it be possible to send the data files for you to have a look at?

    1. Hi Neil,
      Sure, send me the files via email and I’ll have a look. I’ll PM you.


  2. Hello,
    Is it possible to display Geo-data from four drillholes put at the same coordinates?
    The only difference between the holes is Dip and total length.
    Bengt H

    1. Hi,
      Yes it is, the drill holes just need to have four holes with different names, all with the same collar coordinates. Each drill hole should have its own survey and downhole data.


  3. Hi Roland,
    Thanks for the great work on this.
    Currently I am stuck on trying to display multiple downhole data on each drill hole. For example I have separate Assay and Lithology tables (because they have different From-To) and I can only seem to generate a section with one or the other datasets even though both are selected in the section manager. I have generated the downhole tables for all. Is this possible, or do I have to merge all my data first so that it is in one table?

    1. Hi Cris,
      If they have different From& To then you should process them separately as it sounds like you have. Both should be showing on the sections if you selected both, but at present it only produces the attributed line segments, so one might be covering over the other. One suggestion is to make the bottom line width wider than the upper layer so you can see both. If both downhole layers really aren’t appearing in the section then you’ll need to send me some data to test it here.

      The intention is to include offset lines, bar graphs and line graphs, but I’m short of time right now.


      1. Thanks for the reply.
        I retried it multiple times and finally got it to work as you expected it. Not exactly sure what it did not like but I had to manually add the desurvey gpkg to QGIS and it certainly did not like negative dips for the survey in the collar file (even if the box was checked to use them). I also has to clear out the downhole layers from qgis in order to regenerate them.

      2. In reply to your intention to do offset lines, I am using a workaround with the geometry generator style so I can show bar graphs, lithology polygons and also dots. For examples (where FIELD VARIABLE is the attribute value that is displayed):
        translate( centroid($geometry), 5+ “FIELD VARIABLE” ,0)

        Bar Graph (can do a graduated color on this): make_rectangle_3points(make_point(x_min($geometry),y_max($geometry)),make_point(x_min($geometry),y_min($geometry)),make_point(x_min($geometry)+ “FIELD VARIABLE”,y_min($geometry)))

        Lithology Polygons (can do a rule based color on this):

        Currently I have only straight, vertical holes, so orthogonal translation is not necessary, but it could be extended.

  4. Thank you for your great work.
    I would like to include more than one down hole data (ex. assay and lithology) to create the section, but I had a trouble on the results. In the result section, I only found the incomplete (not shown on the figure and no data on the attribute table) and “one” down hole data.

    1. The downhole data display is currently quite limited. I’ve just started a new version and I intend to include things like downhole graphs, labels and offset lines.

  5. Excelente trabajo!! quería consultar como lograr rangos de valores en la simbología? en mi caso tengo mas de 800 valores de oro y quisiera lograr unos 5 rangos.

    0.01 a 0.2
    0.2 a 0.5
    0.5 a 1
    1 a 2
    > 2
    desde ya muchas gracias y saludos desde Argentina

    1. Hola Juan,

      You need to use the “Desurvey Holes” function first. Then use the “Downhole Data” function to create the line segments for each drill hole sample. Each line segment is attributed with the values from your sample file and can be treated as a normal QGIS layer. So, if your data is Cu, then you go to symbology for that layer and change the symbols to Graduated. If you data is Lithology, then you select Categorized as the symbol style.

      I hope this helps.


  6. Hi Roland,

    This is excellent! Greatly appreciate this plugin, it is long over due. If I wanted to add additional data (non-downhole) to the section how would I go about this? For example I want to add surface geochem., would I desurvey this data and use as a pseudo-collar?



    1. Hi Matthieu,

      You should be able to add any vectors with 3D coordinates to your sections. For example, if you are importing your surface geochem from csv then include the Z field as well as the X and Y fields when you load it. After it’s loaded, hover over it in the layers panel and you should see that it’s a PointZ type instead of a Point. When you create a section you can include any vector layers that have 3D coordinates.


      1. Roland, success! This is amazing. So you can also display a slice of .dxf on section 🙂

        Cheers, Matt

        1. Matt,
          Yes. I export geophysics inversion isosurfaces as DXF then just include them in the section. It works perfectly well.


Comments are closed.