Skip to content

gisdevelope/albion

 
 

Repository files navigation

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

About

Geological editor for QGIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.0%
  • PLpgSQL 37.5%
  • Shell 0.5%