Geological editor for QGIS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
doc
elementary_volume
res
scripts
viewer_3d
.gitignore
LICENSE
README.md
__init__.py
_albion.sql
albion.sql
axis_layer.py
dxf_section.py
earclip.pdf
import_test.py
log_strati.py
log_strati.ui
metadata.txt
mineralization.py
mineralization.ui
package.py
plugin.py
project.py
test.py
test.sql

README.md

Build 3D geological model from wells information

This plugin provides tools to create 3D geological models in QGIS.

Note

  • The created layers are memory layers, the data are not saved, you should use the "save as" qgis function if you plan to store the layer as a shapefile or spatialite layer, you can also cpy/paste the layer feature in a postgis layer that has the right structure. This is intended to maximize flexibility of the source data format.

Quick dev install

You have to install the following dependencies:

  • OpenGL for Python (python-opengl)
  • QtOpenGL for Python (python-qt4-gl)
  • shapely
  • sphinx (python-sphinx)
  • pytest, hypothesis and mock (for running tests only)

Clone the repo in a albion directory. Add the directory containing albion to your PYTHONPATH environment variable.

export PYTHONPATH=$PWD/..

Install plugin:

python -m albion.package -i

Run tests:

pytest

Process

  • Create project (no caps, no space, no accents in project name)
  • Import data directory
  • Create the grid (e.g. open an existing shapefile, select all features with Ctrl+a then cpy/paste in the grid layer that has been switched to edition mode)
  • Create a graph
  • Set graph nodes (e.g. open formation attribute table, select feature by code, cpy/paste into node layer and set the graph_id field of pasted features, use field calculator for that)
  • Launch Auto Graph from the Albion menu
  • Check graph, you can extend sections to interpolated either section by section of globaly with the Albion menu entry

Interface

  • Albion Menu:

    • new project (create db and load layers)

    • import data
    • compute mineralization (adds table and layer)

    • new graph (create table and views and new layers)
    • clean graph

    • export project (pg_dump)
    • import project (pg_restore)
  • Albion Toolbar:

    • toggle section/top
    • current graph
    • grid line from points
    • select current section (either on top view, or orthogonal in section view)
    • previous section
    • next section
    • end distance
    • auto-connect
    • auto-wall and ceil

notes on 3D:

  • togle visibility
  • dynamic update on changes